LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
lciof77apiext.h File Reference
#include "cfortran.h"
#include "cpointer.h"
#include "deprecation.h"
+ Include dependency graph for lciof77apiext.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define lcrdropenchain_STRV_A2   NUM_ELEM_ARG(3)
 
#define lcwriterunheader_STRV_A5   NUM_ELEM_ARG(6)
 
#define lcreadnextrunheader_STRV_A3   NUM_ELEMS(1)
 
#define lcreadnextrunheader_STRV_A4   NUM_ELEMS(1)
 
#define lcreadnextrunheader_STRV_A5   NUM_ELEM_ARG(6)
 
#define lcgeteventheader_STRV_A5   NUM_ELEMS(1)
 
#define lcstringvectorcreate_STRV_A1   NUM_ELEM_ARG(2)
 
#define lcgetstringvector_STRV_A2   NUM_ELEM_ARG(3)
 
#define stringvectorcreate_STRV_A1   NUM_ELEM_ARG(2)
 
#define getstringvector_STRV_A2   NUM_ELEM_ARG(3)
 

Functions

LCIO_DEPRECATED_CAPI int lcrdropenchain (PTRTYPE reader, void *filenamesv, const int nfiles, const int nchfilename)
 Header file for additional f77-wrapper functions. More...
 
LCIO_DEPRECATED_CAPI int lcwriterunheader (PTRTYPE writer, const int irun, const char *detname, const char *descr, void *sdnamevec, const int nsubd, const int nchsubd)
 Write a run header to the specified writer with the given data. More...
 
LCIO_DEPRECATED_CAPI PTRTYPE lcreadnextrunheader (PTRTYPE reader, int *irun, void *detname, void *descr, void *sdnamevec, int *nsubd, const int nchsubd)
 Read the next run header and fills the return arguments with the data. More...
 
LCIO_DEPRECATED_CAPI int lcseteventheader (PTRTYPE event, const int irun, const int ievent, const int timestamp, const char *detname)
 Set the complete event header data in the event. More...
 
LCIO_DEPRECATED_CAPI int lcgeteventheader (PTRTYPE event, int *irun, int *ievent, int *timestamp, void *detname)
 Read the complete event header data from the event. More...
 
LCIO_DEPRECATED_CAPI int lcdumprunheader (PTRTYPE runheader)
 Dump the run header to the stdout. More...
 
LCIO_DEPRECATED_CAPI int lcdumpevent (PTRTYPE event)
 Dump the event to the stdout - one line per collection. More...
 
LCIO_DEPRECATED_CAPI int lcdumpeventdetailed (PTRTYPE event)
 Detailed dump of all the data in the event to stdout. More...
 
LCIO_DEPRECATED_CAPI int lcgetmcparticledata (PTRTYPE mcparticle, int *pdg, int *genstatus, int *simstatus, double *prodvtx, float *momentum, float *mass, float *charge, int *ndaughters)
 Return all the data of the specified MCParticle in the arguments. More...
 
LCIO_DEPRECATED_CAPI int lcio2hepevt (PTRTYPE event)
 Fill the hepevt common block with the MCParicle data in the LCIO event. More...
 
LCIO_DEPRECATED_CAPI int hepevt2lcio (PTRTYPE event)
 Create an MCParticle collection from the hepevt common block and add it to the event. More...
 
LCIO_DEPRECATED_CAPI int lcaddsimtrackerhit (PTRTYPE col, int cellID, double *pos, float dEdx, float time, PTRTYPE mcp)
 Add a new SimTrackerHit with the given data to the collection. More...
 
LCIO_DEPRECATED_CAPI int lcgetsimtrackerhit (PTRTYPE col, int i, int *cellID, double *pos, float *dEdx, float *time, PTRTYPE *mcp)
 Return all the data from the specified SimTrackerHit in the arguments. More...
 
LCIO_DEPRECATED_CAPI PTRTYPE lcaddsimcalohit (PTRTYPE col, int cellID0, int cellID1, float energy, float *pos)
 Add a new SimCalorimeterHit with the given data to the collection. More...
 
LCIO_DEPRECATED_CAPI PTRTYPE lcgetsimcalohit (PTRTYPE col, int i, int *cellID0, int *cellID1, float *energy, float *pos)
 Return the data of the specified SimCalorimeterHit in the arguments. More...
 
LCIO_DEPRECATED_CAPI int lcgetsimcalohitmccont (PTRTYPE hit, int i, PTRTYPE *mcp, float *energy, float *time, int *pdg)
 Return the specified contribution of a MCParticle to the hit in the arguments. More...
 
LCIO_DEPRECATED_CAPI PTRTYPE lcobjectvectorcreate (PTRTYPE *ocjectv, const int nobjv)
 Create an object vector. More...
 
LCIO_DEPRECATED_CAPI PTRTYPE lcintvectorcreate (int *intv, const int nintv)
 Create an LC int vector. More...
 
LCIO_DEPRECATED_CAPI PTRTYPE lcfloatvectorcreate (float *floatv, const int nfloatv)
 Create a LC float vector. More...
 
LCIO_DEPRECATED_CAPI PTRTYPE lcstringvectorcreate (void *stringv, const int nstringv, const int nchstringv)
 Create a LC string vector. More...
 
LCIO_DEPRECATED_CAPI int lcgetintvector (PTRTYPE vector, int *intv, int *nintv)
 Return the content of a LC int vector. More...
 
LCIO_DEPRECATED_CAPI int lcgetfloatvector (PTRTYPE vector, float *floatv, int *nfloatv)
 Return the content of a LC float vector. More...
 
LCIO_DEPRECATED_CAPI int lcgetstringvector (PTRTYPE vector, void *stringv, int *nstringv, const int nchstringv)
 Return the content of a LC string vector. More...
 
LCIO_DEPRECATED_CAPI PTRTYPE intvectorcreate (int *intv, const int nintv)
 Create/Delete an int vector. More...
 
LCIO_DEPRECATED_CAPI int intvectordelete (PTRTYPE vector)
 
LCIO_DEPRECATED_CAPI PTRTYPE floatvectorcreate (float *floatv, const int nfloatv)
 Create/Delete a float vector. More...
 
LCIO_DEPRECATED_CAPI int floatvectordelete (PTRTYPE vector)
 
LCIO_DEPRECATED_CAPI PTRTYPE stringvectorcreate (void *stringv, const int nstringv, const int nchstringv)
 Create/Delete a string vector. More...
 
LCIO_DEPRECATED_CAPI int stringvectordelete (PTRTYPE vector)
 
LCIO_DEPRECATED_CAPI PTRTYPE pointervectorcreate (PTRTYPE *pointerv, const int npointerv)
 Create/Delete a pointer vector. More...
 
LCIO_DEPRECATED_CAPI int pointervectordelete (PTRTYPE vector)
 
LCIO_DEPRECATED_CAPI int getintvector (PTRTYPE vector, int *intv, int *nintv)
 Return the content of an int vector. More...
 
LCIO_DEPRECATED_CAPI int getfloatvector (PTRTYPE vector, float *floatv, int *nfloatv)
 Return the content of a float vector. More...
 
LCIO_DEPRECATED_CAPI int getstringvector (PTRTYPE vector, void *stringv, int *nstringv, const int nchstringv)
 Return the content of a string vector. More...
 
LCIO_DEPRECATED_CAPI int getpointervector (PTRTYPE vector, PTRTYPE *pointerv, int *npointerv)
 Return the content of a pointer vector. More...
 
LCIO_DEPRECATED_CAPI int lcsetparameters (const char *classname, PTRTYPE classp, const char *method, const char *key, PTRTYPE vecp)
 For the set methods: More...
 
LCIO_DEPRECATED_CAPI int lcgetparameters (const char *classname, PTRTYPE classp, const char *method, const char *key, PTRTYPE vecp)
 For the get methods: More...
 
 FCALLSCFUN4 (INT, lcrdropenchain, LCRDRDOPENCHAIN, lcrdropenchain, CFORTRANPNTR, STRINGV, INT, INT) FCALLSCFUN7(INT
 
 FCALLSCFUN7 (CFORTRANPNTR, lcreadnextrunheader, LCREADNEXTRUNHEADER, lcreadnextrunheader, CFORTRANPNTR, INTV, PSTRINGV, PSTRINGV, PSTRINGV, INTV, INT) FCALLSCFUN5(INT
 
 FCALLSCFUN5 (INT, lcgeteventheader, LCGETEVENTHEADER, lcgeteventheader, CFORTRANPNTR, INTV, INTV, INTV, PSTRINGV) FCALLSCFUN9(INT
 
INTV FCALLSCFUN6 (INT, lcaddsimtrackerhit, LCADDSIMTRACKERHIT, lcaddsimtrackerhit, CFORTRANPNTR, INT, DOUBLEV, FLOAT, FLOAT, CFORTRANPNTR) FCALLSCFUN7(INT
 
INTV CFORTRANPNTRV FCALLSCFUN5 (CFORTRANPNTR, lcaddsimcalohit, LCADDSIMCALOHIT, lcaddsimcalohit, CFORTRANPNTR, INT, INT, FLOAT, FLOATV) FCALLSCFUN6(CFORTRANPNTR
 
INTV CFORTRANPNTRV FLOATV FCALLSCFUN6 (INT, lcgetsimcalohitmccont, LCGETSIMCALOHITMCCONT, lcgetsimcalohitmccont, CFORTRANPNTR, INT, CFORTRANPNTRV, FLOATV, FLOATV, INTV) FCALLSCFUN2(CFORTRANPNTR
 
INTV CFORTRANPNTRV FLOATV INT FCALLSCFUN2 (CFORTRANPNTR, lcintvectorcreate, LCINTVECTORCREATE, lcintvectorcreate, INTV, INT) FCALLSCFUN2(CFORTRANPNTR
 
 FCALLSCFUN3 (CFORTRANPNTR, lcstringvectorcreate, LCSTRINGVECTORCREATE, lcstringvectorcreate, PSTRINGV, INT, INT) FCALLSCFUN3(INT
 
INTV FCALLSCFUN3 (INT, lcgetfloatvector, LCGETFLOATVECTOR, lcgetfloatvector, CFORTRANPNTR, FLOATV, INTV) FCALLSCFUN4(INT
 
INTV INT FCALLSCFUN2 (CFORTRANPNTR, intvectorcreate, INTVECTORCREATE, intvectorcreate, INTV, INT) FCALLSCFUN1(INT
 
INTV INT CFORTRANPNTR FCALLSCFUN2 (CFORTRANPNTR, floatvectorcreate, FLOATVECTORCREATE, floatvectorcreate, FLOATV, INT) FCALLSCFUN1(INT
 
 FCALLSCFUN3 (CFORTRANPNTR, stringvectorcreate, STRINGVECTORCREATE, stringvectorcreate, PSTRINGV, INT, INT) FCALLSCFUN1(INT
 
CFORTRANPNTR FCALLSCFUN2 (CFORTRANPNTR, pointervectorcreate, POINTERVECTORCREATE, pointervectorcreate, CFORTRANPNTRV, INT) FCALLSCFUN1(INT
 
CFORTRANPNTR CFORTRANPNTR FCALLSCFUN3 (INT, getintvector, GETINTVECTOR, getintvector, CFORTRANPNTR, INTV, INTV) FCALLSCFUN3(INT
 
 FCALLSCFUN4 (INT, getstringvector, GETSTRINGVECTOR, getstringvector, CFORTRANPNTR, PSTRINGV, INTV, INT) FCALLSCFUN3(INT
 
INTV FCALLSCFUN5 (INT, lcsetparameters, LCSETPARAMETERS, lcsetparameters, STRING, CFORTRANPNTR, STRING, STRING, CFORTRANPNTR) FCALLSCFUN5(INT
 

Variables

 lcwriterunheader
 
 LCWRITERUNHEADER
 
 CFORTRANPNTR
 
 INT
 
 STRING
 
 STRINGV
 
 lcseteventheader
 
 LCSETEVENTHEADER
 
 lcgetmcparticledata
 
 LCGETMCPARTICLEDATA
 
 INTV
 
 DOUBLEV
 
 FLOATV
 
INTV lcgetsimtrackerhit
 
INTV LCGETSIMTRACKERHIT
 
INTV CFORTRANPNTRV lcgetsimcalohit
 
INTV CFORTRANPNTRV LCGETSIMCALOHIT
 
INTV CFORTRANPNTRV FLOATV lcobjectvectorcreate
 
INTV CFORTRANPNTRV FLOATV LCOBJECTVECTORCREATE
 
INTV CFORTRANPNTRV FLOATV CFORTRANPNTRV
 
INTV CFORTRANPNTRV FLOATV INT lcfloatvectorcreate
 
INTV CFORTRANPNTRV FLOATV INT LCFLOATVECTORCREATE
 
 lcgetintvector
 
 LCGETINTVECTOR
 
INTV lcgetstringvector
 
INTV LCGETSTRINGVECTOR
 
INTV PSTRINGV
 
INTV INT intvectordelete
 
INTV INT INTVECTORDELETE
 
INTV INT CFORTRANPNTR floatvectordelete
 
INTV INT CFORTRANPNTR FLOATVECTORDELETE
 
 stringvectordelete
 
 STRINGVECTORDELETE
 
CFORTRANPNTR pointervectordelete
 
CFORTRANPNTR POINTERVECTORDELETE
 
CFORTRANPNTR CFORTRANPNTR getfloatvector
 
CFORTRANPNTR CFORTRANPNTR GETFLOATVECTOR
 
 getpointervector
 
 GETPOINTERVECTOR
 
INTV lcgetparameters
 
INTV LCGETPARAMETERS
 

Macro Definition Documentation

#define getstringvector_STRV_A2   NUM_ELEM_ARG(3)

Definition at line 283 of file lciof77apiext.h.

#define lcgeteventheader_STRV_A5   NUM_ELEMS(1)

Definition at line 214 of file lciof77apiext.h.

#define lcgetstringvector_STRV_A2   NUM_ELEM_ARG(3)
#define lcrdropenchain_STRV_A2   NUM_ELEM_ARG(3)

Definition at line 197 of file lciof77apiext.h.

#define lcreadnextrunheader_STRV_A3   NUM_ELEMS(1)

Definition at line 205 of file lciof77apiext.h.

#define lcreadnextrunheader_STRV_A4   NUM_ELEMS(1)

Definition at line 206 of file lciof77apiext.h.

#define lcreadnextrunheader_STRV_A5   NUM_ELEM_ARG(6)

Definition at line 207 of file lciof77apiext.h.

#define lcstringvectorcreate_STRV_A1   NUM_ELEM_ARG(2)

Definition at line 248 of file lciof77apiext.h.

#define lcwriterunheader_STRV_A5   NUM_ELEM_ARG(6)
#define stringvectorcreate_STRV_A1   NUM_ELEM_ARG(2)

Definition at line 269 of file lciof77apiext.h.

Function Documentation

INTV CFORTRANPNTRV FLOATV INT FCALLSCFUN2 ( CFORTRANPNTR  ,
lcintvectorcreate  ,
LCINTVECTORCREATE  ,
lcintvectorcreate  ,
INTV  ,
INT   
)
INTV INT FCALLSCFUN2 ( CFORTRANPNTR  ,
intvectorcreate  ,
INTVECTORCREATE  ,
intvectorcreate  ,
INTV  ,
INT   
)
INTV INT CFORTRANPNTR FCALLSCFUN2 ( CFORTRANPNTR  ,
floatvectorcreate  ,
FLOATVECTORCREATE  ,
floatvectorcreate  ,
FLOATV  ,
INT   
)
CFORTRANPNTR FCALLSCFUN2 ( CFORTRANPNTR  ,
pointervectorcreate  ,
POINTERVECTORCREATE  ,
pointervectorcreate  ,
CFORTRANPNTRV  ,
INT   
)
FCALLSCFUN3 ( CFORTRANPNTR  ,
lcstringvectorcreate  ,
LCSTRINGVECTORCREATE  ,
lcstringvectorcreate  ,
PSTRINGV  ,
INT  ,
INT   
)
INTV FCALLSCFUN3 ( INT  ,
lcgetfloatvector  ,
LCGETFLOATVECTOR  ,
lcgetfloatvector  ,
CFORTRANPNTR  ,
FLOATV  ,
INTV   
)
FCALLSCFUN3 ( CFORTRANPNTR  ,
stringvectorcreate  ,
STRINGVECTORCREATE  ,
stringvectorcreate  ,
PSTRINGV  ,
INT  ,
INT   
)
CFORTRANPNTR CFORTRANPNTR FCALLSCFUN3 ( INT  ,
getintvector  ,
GETINTVECTOR  ,
getintvector  ,
CFORTRANPNTR  ,
INTV  ,
INTV   
)
FCALLSCFUN4 ( INT  ,
lcrdropenchain  ,
LCRDRDOPENCHAIN  ,
lcrdropenchain  ,
CFORTRANPNTR  ,
STRINGV  ,
INT  ,
INT   
)
FCALLSCFUN4 ( INT  ,
getstringvector  ,
GETSTRINGVECTOR  ,
getstringvector  ,
CFORTRANPNTR  ,
PSTRINGV  ,
INTV  ,
INT   
)
FCALLSCFUN5 ( INT  ,
lcgeteventheader  ,
LCGETEVENTHEADER  ,
lcgeteventheader  ,
CFORTRANPNTR  ,
INTV  ,
INTV  ,
INTV  ,
PSTRINGV   
)
INTV CFORTRANPNTRV FCALLSCFUN5 ( CFORTRANPNTR  ,
lcaddsimcalohit  ,
LCADDSIMCALOHIT  ,
lcaddsimcalohit  ,
CFORTRANPNTR  ,
INT  ,
INT  ,
FLOAT  ,
FLOATV   
)
INTV FCALLSCFUN5 ( INT  ,
lcsetparameters  ,
LCSETPARAMETERS  ,
lcsetparameters  ,
STRING  ,
CFORTRANPNTR  ,
STRING  ,
STRING  ,
CFORTRANPNTR   
)
INTV FCALLSCFUN6 ( INT  ,
lcaddsimtrackerhit  ,
LCADDSIMTRACKERHIT  ,
lcaddsimtrackerhit  ,
CFORTRANPNTR  ,
INT  ,
DOUBLEV  ,
FLOAT  ,
FLOAT  ,
CFORTRANPNTR   
)
INTV CFORTRANPNTRV FLOATV FCALLSCFUN6 ( INT  ,
lcgetsimcalohitmccont  ,
LCGETSIMCALOHITMCCONT  ,
lcgetsimcalohitmccont  ,
CFORTRANPNTR  ,
INT  ,
CFORTRANPNTRV  ,
FLOATV  ,
FLOATV  ,
INTV   
)
FCALLSCFUN7 ( CFORTRANPNTR  ,
lcreadnextrunheader  ,
LCREADNEXTRUNHEADER  ,
lcreadnextrunheader  ,
CFORTRANPNTR  ,
INTV  ,
PSTRINGV  ,
PSTRINGV  ,
PSTRINGV  ,
INTV  ,
INT   
)
LCIO_DEPRECATED_CAPI PTRTYPE floatvectorcreate ( float *  floatv,
const int  nfloatv 
)

Create/Delete a float vector.

Definition at line 401 of file lciof77apiext.cc.

References std::vector< T >::push_back().

LCIO_DEPRECATED_CAPI int floatvectordelete ( PTRTYPE  vector)

Definition at line 407 of file lciof77apiext.cc.

LCIO_DEPRECATED_CAPI int getfloatvector ( PTRTYPE  vector,
float *  floatv,
int *  nfloatv 
)

Return the content of a float vector.

Definition at line 461 of file lciof77apiext.cc.

References std::endl(), and std::vector< T >::size().

LCIO_DEPRECATED_CAPI int getintvector ( PTRTYPE  vector,
int *  intv,
int *  nintv 
)

Return the content of an int vector.

Definition at line 445 of file lciof77apiext.cc.

References std::endl(), and std::vector< T >::size().

LCIO_DEPRECATED_CAPI int getpointervector ( PTRTYPE  vector,
PTRTYPE pointerv,
int *  npointerv 
)

Return the content of a pointer vector.

Definition at line 502 of file lciof77apiext.cc.

References std::endl(), and std::vector< T >::size().

LCIO_DEPRECATED_CAPI int getstringvector ( PTRTYPE  vector,
void *  stringv,
int *  nstringv,
const int  nchstringv 
)

Return the content of a string vector.

Definition at line 478 of file lciof77apiext.cc.

References std::endl(), std::vector< T >::size(), and std::strcpy().

LCIO_DEPRECATED_CAPI int hepevt2lcio ( PTRTYPE  event)

Create an MCParticle collection from the hepevt common block and add it to the event.

Definition at line 273 of file lciof77apiext.cc.

References std::endl().

LCIO_DEPRECATED_CAPI PTRTYPE intvectorcreate ( int *  intv,
const int  nintv 
)

Create/Delete an int vector.

Definition at line 389 of file lciof77apiext.cc.

References std::vector< T >::push_back().

LCIO_DEPRECATED_CAPI int intvectordelete ( PTRTYPE  vector)

Definition at line 395 of file lciof77apiext.cc.

LCIO_DEPRECATED_CAPI PTRTYPE lcaddsimcalohit ( PTRTYPE  col,
int  cellID0,
int  cellID1,
float  energy,
float *  pos 
)

Add a new SimCalorimeterHit with the given data to the collection.

Returns a pointer the new hit.

Definition at line 222 of file lciof77apiext.cc.

References C2F_POINTER.

LCIO_DEPRECATED_CAPI int lcaddsimtrackerhit ( PTRTYPE  col,
int  cellID,
double *  pos,
float  dEdx,
float  time,
PTRTYPE  mcp 
)

Add a new SimTrackerHit with the given data to the collection.

Definition at line 191 of file lciof77apiext.cc.

LCIO_DEPRECATED_CAPI int lcdumpevent ( PTRTYPE  event)

Dump the event to the stdout - one line per collection.

Definition at line 155 of file lciof77apiext.cc.

References dumpEvent(), and event.

LCIO_DEPRECATED_CAPI int lcdumpeventdetailed ( PTRTYPE  event)

Detailed dump of all the data in the event to stdout.

Definition at line 161 of file lciof77apiext.cc.

References event.

LCIO_DEPRECATED_CAPI int lcdumprunheader ( PTRTYPE  runheader)

Dump the run header to the stdout.

Definition at line 149 of file lciof77apiext.cc.

LCIO_DEPRECATED_CAPI PTRTYPE lcfloatvectorcreate ( float *  floatv,
const int  nfloatv 
)

Create a LC float vector.

Definition at line 312 of file lciof77apiext.cc.

LCIO_DEPRECATED_CAPI int lcgeteventheader ( PTRTYPE  event,
int *  irun,
int *  ievent,
int *  timestamp,
void *  detname 
)

Read the complete event header data from the event.

Definition at line 138 of file lciof77apiext.cc.

References event, and std::strcpy().

LCIO_DEPRECATED_CAPI int lcgetfloatvector ( PTRTYPE  vector,
float *  floatv,
int *  nfloatv 
)

Return the content of a LC float vector.

Definition at line 347 of file lciof77apiext.cc.

References std::endl().

LCIO_DEPRECATED_CAPI int lcgetintvector ( PTRTYPE  vector,
int *  intv,
int *  nintv 
)

Return the content of a LC int vector.

Definition at line 331 of file lciof77apiext.cc.

References std::endl().

LCIO_DEPRECATED_CAPI int lcgetmcparticledata ( PTRTYPE  mcparticle,
int *  pdg,
int *  genstatus,
int *  simstatus,
double *  prodvtx,
float *  momentum,
float *  mass,
float *  charge,
int *  ndaughters 
)

Return all the data of the specified MCParticle in the arguments.

Definition at line 168 of file lciof77apiext.cc.

LCIO_DEPRECATED_CAPI int lcgetparameters ( const char *  classname,
PTRTYPE  classp,
const char *  method,
const char *  key,
PTRTYPE  vecp 
)

For the get methods:

Definition at line 540 of file lciof77apiext.cc.

References do_get_method(), and std::endl().

LCIO_DEPRECATED_CAPI PTRTYPE lcgetsimcalohit ( PTRTYPE  col,
int  i,
int *  cellID0,
int *  cellID1,
float *  energy,
float *  pos 
)

Return the data of the specified SimCalorimeterHit in the arguments.

Definition at line 234 of file lciof77apiext.cc.

References C2F_POINTER, and std::endl().

LCIO_DEPRECATED_CAPI int lcgetsimcalohitmccont ( PTRTYPE  hit,
int  i,
PTRTYPE mcp,
float *  energy,
float *  time,
int *  pdg 
)

Return the specified contribution of a MCParticle to the hit in the arguments.

Definition at line 256 of file lciof77apiext.cc.

References C2F_POINTER, and std::endl().

LCIO_DEPRECATED_CAPI int lcgetsimtrackerhit ( PTRTYPE  col,
int  i,
int *  cellID,
double *  pos,
float *  dEdx,
float *  time,
PTRTYPE mcp 
)

Return all the data from the specified SimTrackerHit in the arguments.

Definition at line 208 of file lciof77apiext.cc.

LCIO_DEPRECATED_CAPI int lcgetstringvector ( PTRTYPE  vector,
void *  stringv,
int *  nstringv,
const int  nchstringv 
)

Return the content of a LC string vector.

Definition at line 364 of file lciof77apiext.cc.

References std::endl(), std::vector< T >::size(), and std::strcpy().

LCIO_DEPRECATED_CAPI PTRTYPE lcintvectorcreate ( int *  intv,
const int  nintv 
)

Create an LC int vector.

Definition at line 306 of file lciof77apiext.cc.

LCIO_DEPRECATED_CAPI int lcio2hepevt ( PTRTYPE  event)

Fill the hepevt common block with the MCParicle data in the LCIO event.

Definition at line 285 of file lciof77apiext.cc.

References std::endl(), and event.

LCIO_DEPRECATED_CAPI PTRTYPE lcobjectvectorcreate ( PTRTYPE ocjectv,
const int  nobjv 
)

Create an object vector.

Definition at line 297 of file lciof77apiext.cc.

References std::vector< T >::push_back().

LCIO_DEPRECATED_CAPI int lcrdropenchain ( PTRTYPE  reader,
void *  filenamesv,
const int  nfiles,
const int  nchfilename 
)

Header file for additional f77-wrapper functions.

These functions add some convenient methods to the low level interface. Typically they allow to access all of the data of a particular object with one call.

by F.Gaede (combined convenient api in one file and renamed some functions)

Author
H. Vogt
Version
Sep 30, 2003 Mar 19, 2004 (PTRTYPE consistency)Opens a list of files for reading (read-only).

Definition at line 37 of file lciof77apiext.cc.

References std::vector< T >::clear(), std::endl(), filenamelist, lcReader, std::vector< T >::push_back(), and std::vector< T >::size().

LCIO_DEPRECATED_CAPI PTRTYPE lcreadnextrunheader ( PTRTYPE  reader,
int *  irun,
void *  detname,
void *  descr,
void *  sdnamevec,
int *  nsubd,
const int  nchsubd 
)

Read the next run header and fills the return arguments with the data.

Definition at line 89 of file lciof77apiext.cc.

References std::vector< T >::begin(), std::string::c_str(), std::vector< T >::end(), std::endl(), lcReader, runHdr, std::vector< T >::size(), and std::strcpy().

LCIO_DEPRECATED_CAPI int lcseteventheader ( PTRTYPE  event,
const int  irun,
const int  ievent,
const int  timestamp,
const char *  detname 
)

Set the complete event header data in the event.

Definition at line 129 of file lciof77apiext.cc.

References event.

LCIO_DEPRECATED_CAPI int lcsetparameters ( const char *  classname,
PTRTYPE  classp,
const char *  method,
const char *  key,
PTRTYPE  vecp 
)

For the set methods:

Definition at line 520 of file lciof77apiext.cc.

References do_set_method(), and std::endl().

LCIO_DEPRECATED_CAPI PTRTYPE lcstringvectorcreate ( void *  stringv,
const int  nstringv,
const int  nchstringv 
)

Create a LC string vector.

Definition at line 318 of file lciof77apiext.cc.

References std::vector< T >::push_back().

LCIO_DEPRECATED_CAPI int lcwriterunheader ( PTRTYPE  writer,
const int  irun,
const char *  detname,
const char *  descr,
void *  sdnamevec,
const int  nsubd,
const int  nchsubd 
)

Write a run header to the specified writer with the given data.

Definition at line 61 of file lciof77apiext.cc.

References std::endl(), and runHdr.

LCIO_DEPRECATED_CAPI PTRTYPE pointervectorcreate ( PTRTYPE pointerv,
const int  npointerv 
)

Create/Delete a pointer vector.

Definition at line 432 of file lciof77apiext.cc.

References std::vector< T >::push_back().

LCIO_DEPRECATED_CAPI int pointervectordelete ( PTRTYPE  vector)

Definition at line 438 of file lciof77apiext.cc.

LCIO_DEPRECATED_CAPI PTRTYPE stringvectorcreate ( void *  stringv,
const int  nstringv,
const int  nchstringv 
)

Create/Delete a string vector.

Definition at line 413 of file lciof77apiext.cc.

References std::string::push_back().

LCIO_DEPRECATED_CAPI int stringvectordelete ( PTRTYPE  vector)

Definition at line 426 of file lciof77apiext.cc.

Variable Documentation

INTV CFORTRANPNTR

Definition at line 203 of file lciof77apiext.h.

CFORTRANPNTRV

Definition at line 242 of file lciof77apiext.h.

INTV DOUBLEV

Definition at line 222 of file lciof77apiext.h.

Definition at line 222 of file lciof77apiext.h.

INTV INT CFORTRANPNTR floatvectordelete

Definition at line 267 of file lciof77apiext.h.

INTV INT CFORTRANPNTR FLOATVECTORDELETE

Definition at line 267 of file lciof77apiext.h.

CFORTRANPNTR CFORTRANPNTR getfloatvector

Definition at line 281 of file lciof77apiext.h.

CFORTRANPNTR CFORTRANPNTR GETFLOATVECTOR

Definition at line 281 of file lciof77apiext.h.

getpointervector

Definition at line 286 of file lciof77apiext.h.

GETPOINTERVECTOR

Definition at line 286 of file lciof77apiext.h.

Definition at line 203 of file lciof77apiext.h.

INTV INTV

Definition at line 222 of file lciof77apiext.h.

INTV INT INTVECTORDELETE

Definition at line 263 of file lciof77apiext.h.

INTV INT intvectordelete

Definition at line 263 of file lciof77apiext.h.

INTV CFORTRANPNTRV FLOATV INT lcfloatvectorcreate

Definition at line 246 of file lciof77apiext.h.

INTV CFORTRANPNTRV FLOATV INT LCFLOATVECTORCREATE

Definition at line 246 of file lciof77apiext.h.

lcgetintvector

Definition at line 252 of file lciof77apiext.h.

LCGETINTVECTOR

Definition at line 252 of file lciof77apiext.h.

lcgetmcparticledata

Definition at line 222 of file lciof77apiext.h.

LCGETMCPARTICLEDATA

Definition at line 222 of file lciof77apiext.h.

INTV lcgetparameters

Definition at line 293 of file lciof77apiext.h.

INTV LCGETPARAMETERS

Definition at line 293 of file lciof77apiext.h.

INTV CFORTRANPNTRV lcgetsimcalohit

Definition at line 237 of file lciof77apiext.h.

INTV CFORTRANPNTRV LCGETSIMCALOHIT

Definition at line 237 of file lciof77apiext.h.

INTV lcgetsimtrackerhit

Definition at line 231 of file lciof77apiext.h.

INTV LCGETSIMTRACKERHIT

Definition at line 231 of file lciof77apiext.h.

INTV lcgetstringvector

Definition at line 257 of file lciof77apiext.h.

INTV LCGETSTRINGVECTOR

Definition at line 257 of file lciof77apiext.h.

INTV CFORTRANPNTRV FLOATV lcobjectvectorcreate

Definition at line 242 of file lciof77apiext.h.

INTV CFORTRANPNTRV FLOATV LCOBJECTVECTORCREATE

Definition at line 242 of file lciof77apiext.h.

lcseteventheader

Definition at line 212 of file lciof77apiext.h.

LCSETEVENTHEADER

Definition at line 212 of file lciof77apiext.h.

LCWRITERUNHEADER

Definition at line 203 of file lciof77apiext.h.

lcwriterunheader

Definition at line 203 of file lciof77apiext.h.

CFORTRANPNTR pointervectordelete

Definition at line 276 of file lciof77apiext.h.

CFORTRANPNTR POINTERVECTORDELETE

Definition at line 276 of file lciof77apiext.h.

INTV PSTRINGV

Definition at line 257 of file lciof77apiext.h.

INTV STRING

Definition at line 203 of file lciof77apiext.h.

STRINGV

Definition at line 203 of file lciof77apiext.h.

STRINGVECTORDELETE

Definition at line 272 of file lciof77apiext.h.

stringvectordelete

Definition at line 272 of file lciof77apiext.h.