11 using namespace lcio ;
15 SimTrackerHitImpl* hit =
new SimTrackerHitImpl ;
20 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
22 return LCIO::SUCCESS ;
26 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
27 return sth->getCellID0() ;
30 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
31 return sth->getCellID0() ;
35 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
36 return sth->getCellID1() ;
41 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
42 return sth->getPosition()[index] ;
46 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
47 return sth->getMomentum()[index] ;
51 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
52 return sth->getPathLength() ;
57 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
58 return sth->getEDep() ;
62 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
63 return sth->getEDep() ;
67 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
68 return sth->getTime() ;
72 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
73 return C2F_POINTER( LCObject*, sth->getMCParticle() );
77 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
78 return sth->getQuality() ;
82 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
83 sth->setCellID0(
id ) ;
84 return LCIO::SUCCESS ;
87 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
88 sth->setCellID1(
id ) ;
89 return LCIO::SUCCESS ;
93 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
94 sth->setPosition( pos ) ;
95 return LCIO::SUCCESS ;
99 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
100 sth->setMomentum( pos ) ;
101 return LCIO::SUCCESS ;
105 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
106 sth->setMomentum( px, py, pz ) ;
107 return LCIO::SUCCESS ;
111 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
112 sth->setPathLength( pathLength ) ;
113 return LCIO::SUCCESS ;
118 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
119 sth->setEDep( dEdX ) ;
120 return LCIO::SUCCESS ;
124 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
126 return LCIO::SUCCESS ;
130 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
132 return LCIO::SUCCESS ;
136 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
137 MCParticle* mcp = f2c_pointer<MCParticle,LCObject>( particle ) ;
138 sth->setMCParticle( mcp ) ;
139 return LCIO::SUCCESS ;
143 SimTrackerHitImpl* sth = f2c_pointer<SimTrackerHitImpl,LCObject>( hit ) ;
144 sth->setQuality( quality ) ;
145 return LCIO::SUCCESS ;
LCIO_DEPRECATED_CAPI int lcsthgetcellid(PTRTYPE hit)
LCIO_DEPRECATED_CAPI int lcsthsetquality(PTRTYPE hit, int quality)
LCIO_DEPRECATED_CAPI int lcsthgetcellid1(PTRTYPE hit)
LCIO_DEPRECATED_CAPI PTRTYPE lcsthcreate()
Header file for the f77-wrapper functions of the SimTrackerHitImpl class.
LCIO_DEPRECATED_CAPI int lcsthgetcellid0(PTRTYPE hit)
LCIO_DEPRECATED_CAPI int lcsthsetpathlength(PTRTYPE hit, float pathLength)
LCIO_DEPRECATED_CAPI int lcsthsetmomentumxyz(PTRTYPE hit, float px, float py, float pz)
LCIO_DEPRECATED_CAPI int lcsthsettime(PTRTYPE hit, float t)
LCIO_DEPRECATED_CAPI int lcsthsetmcparticle(PTRTYPE hit, PTRTYPE particle)
LCIO_DEPRECATED_CAPI float lcsthgetdedx(PTRTYPE hit)
LCIO_DEPRECATED_CAPI int lcsthsetposition(PTRTYPE hit, double pos[3])
LCIO_DEPRECATED_CAPI int lcsthsetcellid0(PTRTYPE hit, int id)
LCIO_DEPRECATED_CAPI int lcsthgetquality(PTRTYPE hit)
LCIO_DEPRECATED_CAPI int lcsthsetcellid1(PTRTYPE hit, int id)
long PTRTYPE
Fortran interface - define the length of pointers this has to made machine independent ...
LCIO_DEPRECATED_CAPI PTRTYPE lcsthgetmcparticle(PTRTYPE hit)
LCIO_DEPRECATED_CAPI float lcsthgetmomentum(PTRTYPE hit, int index)
LCIO_DEPRECATED_CAPI int lcsthdelete(PTRTYPE hit)
LCIO_DEPRECATED_CAPI double lcsthgetposition(PTRTYPE hit, int index)
LCIO_DEPRECATED_CAPI float lcsthgettime(PTRTYPE hit)
LCIO_DEPRECATED_CAPI float lcsthgetpathlength(PTRTYPE hit)
LCIO_DEPRECATED_CAPI int lcsthsetedep(PTRTYPE hit, float e)
LCIO_DEPRECATED_CAPI int lcsthsetdedx(PTRTYPE hit, float dEdX)
LCIO_DEPRECATED_CAPI int lcsthsetmomentum(PTRTYPE hit, float pos[3])
#define C2F_POINTER(T, ptr)
LCIO_DEPRECATED_CAPI float lcsthgetedep(PTRTYPE hit)