LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lctph.h
Go to the documentation of this file.
1 
6 #include "cfortran.h"
7 #include "cpointer.h"
8 
9 #include "deprecation.h"
10 
11 // Warning: dont use "_" in function names as this causes two many
12 // trailing underscores on Linux
13 
16 
22 
25 
26 LCIO_DEPRECATED_CAPI int lctphsetcellid( PTRTYPE hit, int id ) ;
27 LCIO_DEPRECATED_CAPI int lctphsettime( PTRTYPE hit, float t );
28 LCIO_DEPRECATED_CAPI int lctphsetcharge( PTRTYPE hit, float c );
30 LCIO_DEPRECATED_CAPI int lctphsetrawdata( PTRTYPE hit, int* rawData, int size ) ;
31 //int lctphinitrawdataarray( PTRTYPE hit, int size ) ;
32 
33 // now the fortran wrappers from cfortran.h
34 extern "C"{
35 
37 FCALLSCFUN1(INT, lctphdelete, LCTPHDELETE, lctphdelete, CFORTRANPNTR )
38 
39 FCALLSCFUN1(INT, lctphid, LCTPHID, lctphdid, CFORTRANPNTR )
40 FCALLSCFUN1(INT, lctphgetcellid,LCTPHGETCELLID,lctphgetcellid,CFORTRANPNTR)
41 FCALLSCFUN1(FLOAT, lctphgettime,LCTPHGETTIME,lctphgettime,CFORTRANPNTR)
42 FCALLSCFUN1(FLOAT, lctphgcharge,LCTPHGCHARGE,lctphgcharge,CFORTRANPNTR)
43 FCALLSCFUN1(INT, lctphgetquality,LCTPHGETQUALITY,lctphgetquality,CFORTRANPNTR)
44 
45 FCALLSCFUN1(INT, lctphgetnrawdatawords,LCTPHGETNRAWDATAWORDS,lctphgetnrawdatawords,CFORTRANPNTR)
46 FCALLSCFUN2(INT, lctphgetrawdataword,LCTPHGETRAWDATAWORD,lctphgetrawdataword,CFORTRANPNTR,INT)
47 
48 FCALLSCFUN2(INT, lctphsetcellid, LCTPHSETCELLID, lctphsetcellid, CFORTRANPNTR, INT )
49 FCALLSCFUN2(INT, lctphsettime, LCTPHSETTIME, lctphsettime, CFORTRANPNTR, FLOAT )
50 FCALLSCFUN2(INT, lctphsetcharge, LCTPHSETCHARGE, lctphsetcharge, CFORTRANPNTR, FLOAT )
51 FCALLSCFUN2(INT, lctphsetquality, LCTPHSETQUALITY, lctphsetquality, CFORTRANPNTR, INT )
52 FCALLSCFUN3(INT, lctphsetrawdata, LCTPHSETRAWDATA, lctphsetrawdata, CFORTRANPNTR, INTV, INT )
53  //FCALLSCFUN2(INT, lctphinitrawdataarray, LCTPHINITRAWDATAARRAY, lctphinitrawdataarray, CFORTRANPNTR, INT )
54 
55 }
56 
LCIO_DEPRECATED_CAPI int lctphsetquality(PTRTYPE hit, int q)
Definition: lctph.cc:67
LCIO_DEPRECATED_CAPI int lctphsetcellid(PTRTYPE hit, int id)
Definition: lctph.cc:52
#define CFORTRANPNTR
Definition: cpointer.h:13
#define FCALLSCFUN2(T0, CN, UN, LN, T1, T2)
Definition: cfortran.h:2254
FCALLSCFUN1(INT, lcobvgetlength, LCOBVGETLENGTH, lcobvgetlength, CFORTRANPNTR) FCALLSCFUN2(CFORTRANPNTR
LCIO_DEPRECATED_CAPI int lctphid(PTRTYPE hit)
Definition: lctph.cc:19
INTV
INT
#define LCIO_DEPRECATED_CAPI
Definition: deprecation.h:4
#define FCALLSCFUN0(T0, CN, UN, LN)
Definition: cfortran.h:2307
LCIO_DEPRECATED_CAPI int lctphgetnrawdatawords(PTRTYPE hit)
Definition: lctph.cc:42
LCIO_DEPRECATED_CAPI PTRTYPE lctphcreate()
Header file for the f77-wrapper functions of the TPCHitImpl class.
Definition: lctph.cc:8
LCIO_DEPRECATED_CAPI int lctphgetquality(PTRTYPE hit)
Definition: lctph.cc:37
LCIO_DEPRECATED_CAPI int lctphgetcellid(PTRTYPE hit)
Definition: lctph.cc:24
long PTRTYPE
Fortran interface - define the length of pointers this has to made machine independent ...
Definition: cpointer.h:12
#define FCALLSCFUN3(T0, CN, UN, LN, T1, T2, T3)
Definition: cfortran.h:2256
LCIO_DEPRECATED_CAPI int lctphdelete(PTRTYPE hit)
Definition: lctph.cc:13
LCIO_DEPRECATED_CAPI float lctphgcharge(PTRTYPE hit)
Definition: lctph.cc:33
LCIO_DEPRECATED_CAPI float lctphgettime(PTRTYPE hit)
Definition: lctph.cc:28
LCIO_DEPRECATED_CAPI int lctphsettime(PTRTYPE hit, float t)
Definition: lctph.cc:57
LCIO_DEPRECATED_CAPI int lctphgetrawdataword(PTRTYPE hit, int i)
Definition: lctph.cc:46
LCIO_DEPRECATED_CAPI int lctphsetcharge(PTRTYPE hit, float c)
Definition: lctph.cc:62
LCIO_DEPRECATED_CAPI int lctphsetrawdata(PTRTYPE hit, int *rawData, int size)
Definition: lctph.cc:72