LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lcrhd.h
Go to the documentation of this file.
1 
7 #include "cfortran.h"
8 #include "cpointer.h"
9 
10 #include "deprecation.h"
11 
12 
13 // Warning: dont use "_" in function names as this causes two many
14 // trailing underscores on Linux
15 
17 LCIO_DEPRECATED_CAPI int lcrhddelete( PTRTYPE runHeader ) ;
19 
22 
24 
25 LCIO_DEPRECATED_CAPI int lcrhdsetrunnumber( PTRTYPE runHeader, int rn) ;
26 LCIO_DEPRECATED_CAPI int lcrhdsetdetectorname( PTRTYPE runHeader, const char* dn) ;
27 LCIO_DEPRECATED_CAPI int lcrhdsetdescription( PTRTYPE runHeader, const char* dsc) ;
28 LCIO_DEPRECATED_CAPI int lcrhdaddactivesubdetector( PTRTYPE runHeader, const char* adn) ;
29 
30 
31 // now the fortran wrappers from cfortran.h
32 extern "C"{
34 FCALLSCFUN1(INT, lcrhddelete, LCRHDDELETE, lcrhddelete, CFORTRANPNTR )
35 
36 FCALLSCFUN1(INT, lcrhdgetrunnumber, LCRHDGETRUNNUMBER, lcrhdgetrunnumber, CFORTRANPNTR )
37 FCALLSCFUN1(STRING, lcrhdgetdetectorname, LCRHDGETDETECTORNAME, lcrhdgetdetectorname, CFORTRANPNTR )
38 FCALLSCFUN1(STRING, lcrhdgetdescription, LCRHDGETDESCRIPTION, lcrhdgetdescription, CFORTRANPNTR )
39 
40 FCALLSCFUN1(CFORTRANPNTR, lcrhdgetactivesubdetectors, LCRHDGETACTIVESUBDETECTORS,
41  lcrhdgetactivesubdetectors, CFORTRANPNTR )
42 
43 FCALLSCFUN2(INT, lcrhdsetrunnumber, LCRHDSETRUNNUMBER, lcrhdsetrunnumber, CFORTRANPNTR, INT )
44 FCALLSCFUN2(INT, lcrhdsetdetectorname, LCRHDSETDETECTORNAME,lcrhdsetdetectorname, CFORTRANPNTR, STRING )
45 FCALLSCFUN2(INT, lcrhdsetdescription, LCRHDSETDESCRIPTION,lcrhdsetdescription, CFORTRANPNTR, STRING )
46 FCALLSCFUN2(INT, lcrhdaddactivesubdetector, LCRHDADDACTIVESUBDETECTOR,lcrhdaddactivesubdetector, CFORTRANPNTR, STRING )
47 }
48 
LCIO_DEPRECATED_CAPI int lcrhdaddactivesubdetector(PTRTYPE runHeader, const char *adn)
Definition: lcrhd.cc:58
#define CFORTRANPNTR
Definition: cpointer.h:13
LCIO_DEPRECATED_CAPI char * lcrhdgetdescription(PTRTYPE runHeader)
Definition: lcrhd.cc:32
#define FCALLSCFUN2(T0, CN, UN, LN, T1, T2)
Definition: cfortran.h:2254
FCALLSCFUN1(INT, lcobvgetlength, LCOBVGETLENGTH, lcobvgetlength, CFORTRANPNTR) FCALLSCFUN2(CFORTRANPNTR
LCIO_DEPRECATED_CAPI int lcrhdsetdetectorname(PTRTYPE runHeader, const char *dn)
Definition: lcrhd.cc:48
INT
LCIO_DEPRECATED_CAPI PTRTYPE lcrhdcreate()
Header file for the f77-wrapper functions of the LCEventImpl class.
Definition: lcrhd.cc:14
LCIO_DEPRECATED_CAPI int lcrhddelete(PTRTYPE runHeader)
Definition: lcrhd.cc:19
#define LCIO_DEPRECATED_CAPI
Definition: deprecation.h:4
#define FCALLSCFUN0(T0, CN, UN, LN)
Definition: cfortran.h:2307
LCIO_DEPRECATED_CAPI PTRTYPE lcrhdgetactivesubdetectors(PTRTYPE runHeader)
Definition: lcrhd.cc:38
LCIO_DEPRECATED_CAPI int lcrhdsetdescription(PTRTYPE runHeader, const char *dsc)
Definition: lcrhd.cc:53
LCIO_DEPRECATED_CAPI int lcrhdsetrunnumber(PTRTYPE runHeader, int rn)
Definition: lcrhd.cc:43
STRING
long PTRTYPE
Fortran interface - define the length of pointers this has to made machine independent ...
Definition: cpointer.h:12
LCIO_DEPRECATED_CAPI char * lcrhdgetdetectorname(PTRTYPE runHeader)
Definition: lcrhd.cc:28
LCIO_DEPRECATED_CAPI int lcrhdgetrunnumber(PTRTYPE runHeader)
Definition: lcrhd.cc:24