LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lccah.h
Go to the documentation of this file.
1 
7 #include "cfortran.h"
8 #include "cpointer.h"
9 
10 #include "deprecation.h"
11 
12 // Warning: dont use "_" in function names as this causes two many
13 // trailing underscores on Linux
14 
15 
18 LCIO_DEPRECATED_CAPI int lccahid( PTRTYPE calhit ) ;
19 
25 LCIO_DEPRECATED_CAPI int lccahgetposition( PTRTYPE calhit, float * ) ;
28 
29 LCIO_DEPRECATED_CAPI int lccahsetcellid0( PTRTYPE calhit, int id0) ;
30 LCIO_DEPRECATED_CAPI int lccahsetcellid1( PTRTYPE calhit, int id1) ;
31 LCIO_DEPRECATED_CAPI int lccahsetenergy( PTRTYPE calhit, float en) ;
32 LCIO_DEPRECATED_CAPI int lccahsetenergyerr( PTRTYPE calhit, float enerr) ;
33 LCIO_DEPRECATED_CAPI int lccahsettime( PTRTYPE calhit, float time) ;
34 LCIO_DEPRECATED_CAPI int lccahsetposition( PTRTYPE calhit, float pos[3]) ;
35 LCIO_DEPRECATED_CAPI int lccahsettype( PTRTYPE calhit, int type ) ;
36 LCIO_DEPRECATED_CAPI int lccahsetrawhit( PTRTYPE calhit, PTRTYPE rawHit ) ;
37 
38 // now the fortran wrappers from cfortran.h
39 extern "C"{
41 FCALLSCFUN1(INT, lccahdelete, LCCAHDELETE, lccahdelete, CFORTRANPNTR )
42 FCALLSCFUN1(INT, lccahid, LCCAHID, lccahid, CFORTRANPNTR )
43 
44 FCALLSCFUN1(INT, lccahgetcellid0, LCCAHGETCELLID0, lccahgetcellid0, CFORTRANPNTR )
45 FCALLSCFUN1(INT, lccahgetcellid1, LCCAHGETCELLID1, lccahgetcellid1, CFORTRANPNTR )
46 FCALLSCFUN1(FLOAT, lccahgetenergy, LCCAHGETENERGY, lccahgetenergy, CFORTRANPNTR )
47 FCALLSCFUN1(FLOAT, lccahgetenergyerr, LCCAHGETENERGYERR, lccahgetenergyerr, CFORTRANPNTR )
48 FCALLSCFUN1(FLOAT, lccahgettime, LCCAHGETTIME, lccahgettime, CFORTRANPNTR )
49 FCALLSCFUN2(INT, lccahgetposition,LCCAHGETPOSITION,lccahgetposition, CFORTRANPNTR, FLOATV )
50 FCALLSCFUN1(INT, lccahgettype, LCCAHGETTYPE, lccahgettype, CFORTRANPNTR )
51 
52 FCALLSCFUN1(CFORTRANPNTR, lccahgetrawhit, LCCAHGETRAWHIT, lccahgetrawhit, CFORTRANPNTR )
53 
54 FCALLSCFUN2(INT, lccahsetcellid0,LCCAHSETCELLID0,lccahsetcellid0, CFORTRANPNTR, INT )
55 FCALLSCFUN2(INT, lccahsetcellid1,LCCAHSETCELLID1,lccahsetcellid1, CFORTRANPNTR, INT )
56 FCALLSCFUN2(INT, lccahsetenergy,LCCAHSETENERGY,lccahsetenergy, CFORTRANPNTR, FLOAT )
57 FCALLSCFUN2(INT, lccahsetenergyerr,LCCAHSETENERGYERR,lccahsetenergyerr, CFORTRANPNTR, FLOAT )
58 FCALLSCFUN2(INT, lccahsettime,LCCAHSETTIME,lccahsettime, CFORTRANPNTR, FLOAT )
59 FCALLSCFUN2(INT, lccahsetposition,LCCAHSETPOSITION,lccahsetposition, CFORTRANPNTR, FLOATV )
60 FCALLSCFUN2(INT, lccahsettype, LCCAHSETTYPE, lccahsettype, CFORTRANPNTR, INT )
61 FCALLSCFUN2(INT, lccahsetrawhit, LCCAHSETRAWHIT, lccahsetrawhit, CFORTRANPNTR, INT )
62 }
63 
LCIO_DEPRECATED_CAPI float lccahgetenergyerr(PTRTYPE calhit)
Definition: lccah.cc:35
LCIO_DEPRECATED_CAPI int lccahsetposition(PTRTYPE calhit, float pos[3])
Definition: lccah.cc:83
LCIO_DEPRECATED_CAPI PTRTYPE lccahcreate()
Header file for the f77-wrapper functions of the CalorimeterHitImpl class.
Definition: lccah.cc:9
LCIO_DEPRECATED_CAPI int lccahgetcellid0(PTRTYPE calhit)
Definition: lccah.cc:23
#define CFORTRANPNTR
Definition: cpointer.h:13
FLOATV
LCIO_DEPRECATED_CAPI int lccahsetrawhit(PTRTYPE calhit, PTRTYPE rawHit)
Definition: lccah.cc:93
#define FCALLSCFUN2(T0, CN, UN, LN, T1, T2)
Definition: cfortran.h:2254
FCALLSCFUN1(INT, lcobvgetlength, LCOBVGETLENGTH, lcobvgetlength, CFORTRANPNTR) FCALLSCFUN2(CFORTRANPNTR
INT
#define LCIO_DEPRECATED_CAPI
Definition: deprecation.h:4
#define FCALLSCFUN0(T0, CN, UN, LN)
Definition: cfortran.h:2307
LCIO_DEPRECATED_CAPI int lccahsettime(PTRTYPE calhit, float time)
Definition: lccah.cc:78
LCIO_DEPRECATED_CAPI int lccahsetenergy(PTRTYPE calhit, float en)
Definition: lccah.cc:68
LCIO_DEPRECATED_CAPI int lccahid(PTRTYPE calhit)
Definition: lccah.cc:18
long PTRTYPE
Fortran interface - define the length of pointers this has to made machine independent ...
Definition: cpointer.h:12
LCIO_DEPRECATED_CAPI int lccahsetcellid0(PTRTYPE calhit, int id0)
Definition: lccah.cc:58
LCIO_DEPRECATED_CAPI int lccahgettype(PTRTYPE calhit)
Definition: lccah.cc:48
LCIO_DEPRECATED_CAPI int lccahgetposition(PTRTYPE calhit, float *)
Definition: lccah.cc:43
LCIO_DEPRECATED_CAPI float lccahgetenergy(PTRTYPE calhit)
Definition: lccah.cc:31
LCIO_DEPRECATED_CAPI int lccahsetcellid1(PTRTYPE calhit, int id1)
Definition: lccah.cc:63
LCIO_DEPRECATED_CAPI int lccahsetenergyerr(PTRTYPE calhit, float enerr)
Definition: lccah.cc:73
LCIO_DEPRECATED_CAPI float lccahgettime(PTRTYPE calhit)
Definition: lccah.cc:39
LCIO_DEPRECATED_CAPI int lccahgetcellid1(PTRTYPE calhit)
Definition: lccah.cc:27
LCIO_DEPRECATED_CAPI int lccahdelete(PTRTYPE calhit)
Definition: lccah.cc:13
LCIO_DEPRECATED_CAPI int lccahsettype(PTRTYPE calhit, int type)
Definition: lccah.cc:88
LCIO_DEPRECATED_CAPI PTRTYPE lccahgetrawhit(PTRTYPE calhit)
Definition: lccah.cc:53