11 using namespace lcio ;
15 LCRunHeaderImpl* rhd =
new LCRunHeaderImpl ;
16 return reinterpret_cast<PTRTYPE>(rhd) ;
20 LCRunHeaderImpl* rhd =
reinterpret_cast<LCRunHeaderImpl*
>(runHeader) ;
22 return LCIO::SUCCESS ;
25 LCRunHeaderImpl* rhd =
reinterpret_cast<LCRunHeaderImpl*
>(runHeader) ;
26 return rhd->getRunNumber() ;
29 LCRunHeaderImpl* rhd =
reinterpret_cast<LCRunHeaderImpl*
>(runHeader) ;
30 return const_cast<char*
>( rhd->getDetectorName().c_str() );
33 LCRunHeaderImpl* rhd =
reinterpret_cast<LCRunHeaderImpl*
>(runHeader) ;
34 return const_cast<char*
>( rhd->getDescription().c_str() );
39 LCRunHeaderImpl* rhd =
reinterpret_cast<LCRunHeaderImpl*
>(runHeader) ;
40 return reinterpret_cast<PTRTYPE>( rhd->getActiveSubdetectors() ) ;
44 LCRunHeaderImpl* rhd =
reinterpret_cast<LCRunHeaderImpl*
>(runHeader) ;
45 rhd->setRunNumber( rn ) ;
46 return LCIO::SUCCESS ;
49 LCRunHeaderImpl* rhd =
reinterpret_cast<LCRunHeaderImpl*
>(runHeader) ;
50 rhd->setDetectorName( dn ) ;
51 return LCIO::SUCCESS ;
54 LCRunHeaderImpl* rhd =
reinterpret_cast<LCRunHeaderImpl*
>(runHeader) ;
55 rhd->setDescription( dsc ) ;
56 return LCIO::SUCCESS ;
59 LCRunHeaderImpl* rhd =
reinterpret_cast<LCRunHeaderImpl*
>(runHeader) ;
60 rhd->addActiveSubdetector( adn ) ;
61 return LCIO::SUCCESS ;
LCIO_DEPRECATED_CAPI int lcrhdaddactivesubdetector(PTRTYPE runHeader, const char *adn)
LCIO_DEPRECATED_CAPI char * lcrhdgetdescription(PTRTYPE runHeader)
LCIO_DEPRECATED_CAPI int lcrhdsetdetectorname(PTRTYPE runHeader, const char *dn)
LCIO_DEPRECATED_CAPI PTRTYPE lcrhdcreate()
Header file for the f77-wrapper functions of the LCEventImpl class.
LCIO_DEPRECATED_CAPI int lcrhddelete(PTRTYPE runHeader)
LCIO_DEPRECATED_CAPI PTRTYPE lcrhdgetactivesubdetectors(PTRTYPE runHeader)
LCIO_DEPRECATED_CAPI int lcrhdsetdescription(PTRTYPE runHeader, const char *dsc)
LCIO_DEPRECATED_CAPI int lcrhdsetrunnumber(PTRTYPE runHeader, int rn)
long PTRTYPE
Fortran interface - define the length of pointers this has to made machine independent ...
LCIO_DEPRECATED_CAPI char * lcrhdgetdetectorname(PTRTYPE runHeader)
LCIO_DEPRECATED_CAPI int lcrhdgetrunnumber(PTRTYPE runHeader)