10 CalorimeterHitImpl* hit =
new CalorimeterHitImpl ;
14 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
16 return LCIO::SUCCESS ;
19 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
24 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
25 return hit->getCellID0() ;
28 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
29 return hit->getCellID1() ;
32 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
33 return hit->getEnergy() ;
36 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
37 return hit->getEnergyError() ;
40 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
41 return hit->getTime() ;
44 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
45 for(
int i=0;i<3; *pos++ = hit->getPosition()[i++] ) ;
46 return LCIO::SUCCESS ;
49 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
50 return hit->getType() ;
54 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
59 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
60 hit->setCellID0( id0 ) ;
61 return LCIO::SUCCESS ;
64 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
65 hit->setCellID1( id1 ) ;
66 return LCIO::SUCCESS ;
69 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
70 hit->setEnergy( en ) ;
71 return LCIO::SUCCESS ;
74 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
75 hit->setEnergyError( enerr ) ;
76 return LCIO::SUCCESS ;
79 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
80 hit->setTime( time ) ;
81 return LCIO::SUCCESS ;
84 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
85 hit->setPosition( pos ) ;
86 return LCIO::SUCCESS ;
89 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
90 hit->setType( type ) ;
91 return LCIO::SUCCESS ;
94 CalorimeterHitImpl* hit = f2c_pointer<CalorimeterHitImpl,LCObject>( calhit ) ;
95 hit->setRawHit( f2c_pointer<LCObject,LCObject>( rawHit ) ) ;
96 return LCIO::SUCCESS ;
LCIO_DEPRECATED_CAPI float lccahgetenergyerr(PTRTYPE calhit)
LCIO_DEPRECATED_CAPI int lccahsetposition(PTRTYPE calhit, float pos[3])
LCIO_DEPRECATED_CAPI PTRTYPE lccahcreate()
Header file for the f77-wrapper functions of the CalorimeterHitImpl class.
LCIO_DEPRECATED_CAPI int lccahgetcellid0(PTRTYPE calhit)
LCIO_DEPRECATED_CAPI int lccahsetrawhit(PTRTYPE calhit, PTRTYPE rawHit)
LCIO_DEPRECATED_CAPI int lccahsettime(PTRTYPE calhit, float time)
LCIO_DEPRECATED_CAPI int lccahsetenergy(PTRTYPE calhit, float en)
LCIO_DEPRECATED_CAPI int lccahid(PTRTYPE calhit)
long PTRTYPE
Fortran interface - define the length of pointers this has to made machine independent ...
LCIO_DEPRECATED_CAPI int lccahsetcellid0(PTRTYPE calhit, int id0)
LCIO_DEPRECATED_CAPI int lccahgettype(PTRTYPE calhit)
LCIO_DEPRECATED_CAPI int lccahgetposition(PTRTYPE calhit, float *)
LCIO_DEPRECATED_CAPI float lccahgetenergy(PTRTYPE calhit)
LCIO_DEPRECATED_CAPI int lccahsetcellid1(PTRTYPE calhit, int id1)
LCIO_DEPRECATED_CAPI int lccahsetenergyerr(PTRTYPE calhit, float enerr)
LCIO_DEPRECATED_CAPI float lccahgettime(PTRTYPE calhit)
LCIO_DEPRECATED_CAPI int lccahgetcellid1(PTRTYPE calhit)
LCIO_DEPRECATED_CAPI int lccahdelete(PTRTYPE calhit)
LCIO_DEPRECATED_CAPI int lccahsettype(PTRTYPE calhit, int type)
LCIO_DEPRECATED_CAPI PTRTYPE lccahgetrawhit(PTRTYPE calhit)
#define C2F_POINTER(T, ptr)