Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

LCIO.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // AID-GENERATED
00003 // =========================================================================
00004 // This class was generated by AID - Abstract Interface Definition          
00005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 
00006 // =========================================================================
00007 #ifndef EVENT_LCIO_H
00008 #define EVENT_LCIO_H 1
00009 
00010 namespace EVENT {
00011 
00012 
00013 #define LCIO_MAJOR_VERSION 1
00014 #define LCIO_MINOR_VERSION 8
00015 #define LCIO_PATCH_LEVEL 0
00016 
00017 #define LCIO_VERSION_GE( MAJV , MINV )  ( (  LCIO_MAJOR_VERSION  > MAJV ) || ( (LCIO_MAJOR_VERSION==MAJV) && ( LCIO_MINOR_VERSION >= MINV ) ) )
00018 
00019 #define LCIO_PATCHVERSION_GE( MAJV , MINV , PLEV)  ( (  LCIO_MAJOR_VERSION  > MAJV ) ||   ( (LCIO_MAJOR_VERSION==MAJV) && ( LCIO_MINOR_VERSION > MINV ) ) ||   ( (LCIO_MAJOR_VERSION==MAJV) && ( LCIO_MINOR_VERSION == MINV ) && ( LCIO_PATCH_LEVEL >= PLEV ) ) )
00020 
00021 /** Global constants used in LCIO.
00022  *
00023  * @author gaede
00024  * @version $Id: LCIO.aid,v 1.56 2006/09/21 06:10:35 gaede Exp $
00025  * @see LCObject
00026  * @see LCIO
00027  */
00028 class LCIO {
00029 
00030 public: 
00031     /// Destructor.
00032     virtual ~LCIO() { /* nop */; }
00033 
00034     // it seems to be impossible to have one declaration for
00035     // static constants in Java and C++ - so we need to define
00036     // the same constants twice !!
00037 
00038   public:
00039     // current version number of lcio
00040     static const int MAJORVERSION  = LCIO_MAJOR_VERSION ;
00041     static const int MINORVERSION  = LCIO_MINOR_VERSION ;
00042 
00043     // bits in flag words
00044     // SimCalorimeterHit (CH)
00045     static const int CHBIT_LONG   = 31; // long(1) - short(0), (position)
00046     static const int CHBIT_BARREL = 30 ;  // barrel(1) - endcap(0)
00047     static const int CHBIT_ID1    = 29 ;  // cellid1 stored
00048     static const int CHBIT_PDG    = 28 ;   // PDG(1) - no PDG(0) (detailed shower contributions)
00049 
00050     // (raw) calorimeter hit
00051     static const int RCHBIT_LONG   = 31 ;  // long(1) - short(0) , incl./excl. position
00052     static const int RCHBIT_BARREL = 30 ;  // barrel(1) - endcap(0)
00053     static const int RCHBIT_ID1    = 29 ;  // cellid1 stored
00054     static const int RCHBIT_NO_PTR = 28 ; // 1: pointer tag not added
00055     static const int RCHBIT_TIME   = 27 ; // 1: time information stored
00056 
00057     // raw tracker data (pulses)
00058     static const int TRAWBIT_ID1   = 31 ;  //  cellid1 stored
00059 
00060     // SimTrackerHit
00061     static const int THBIT_BARREL = 31 ; // barrel(1) - endcap(0)
00062     static const int THBIT_MOMENTUM = 30 ; // momentum of particle stored(1) - not stored(0)
00063 
00064     // Tracks
00065     static const int TRBIT_HITS = 31 ; // hits stored(1) - not stored(0)
00066 
00067     // Cluster
00068     static const int CLBIT_HITS = 31 ; // hits stored(1) - not stored(0)
00069 
00070     // TPCHit
00071     static const int TPCBIT_RAW = 31 ; // raw data stored(1) - not stored(0)
00072     static const int TPCBIT_NO_PTR = 30 ; // 1: pointer tag not added (needed for TrackerHit)
00073 
00074 
00075     // LCRelation
00076     //    static const int LCREL_ONE2MANY = 31 ; // relation is one to many
00077     static const int LCREL_WEIGHTED = 31 ; // relations has weights
00078 
00079 
00080     // LCGenericObject
00081     static const int GOBIT_FIXED = 31 ; // is fixed size
00082 
00083     static const int READ_ONLY =  0 ;
00084     static const int UPDATE   =  1 ;
00085     // error handling
00086     static const int ERROR   =  0 ;
00087     static const int SUCCESS =  1 ;
00088 
00089     //write modes
00090     static const int WRITE_NEW = 0 ;
00091     static const int WRITE_APPEND = 1 ;
00092 
00093     // type names:
00094     static const char* LCEVENT ;
00095     static const char* LCRUNHEADER ;
00096     static const char* LCCOLLECTION ;
00097     static const char* MCPARTICLE ;
00098     static const char* SIMCALORIMETERHIT ;
00099     static const char* RAWCALORIMETERHIT ;
00100     static const char* CALORIMETERHIT ;
00101     static const char* SIMTRACKERHIT ;
00102     static const char* TPCHIT ;
00103     static const char* TRACKERRAWDATA ;
00104     static const char* TRACKERDATA ;
00105     static const char* TRACKERPULSE ;
00106     static const char* TRACKERHIT ;
00107     static const char* LCSTRVEC ;
00108     static const char* LCFLOATVEC ;
00109     static const char* LCINTVEC ;
00110     static const char* TRACK ;
00111     static const char* CLUSTER ;
00112     static const char* RECONSTRUCTEDPARTICLE ;
00113     static const char* LCRELATION ;
00114     static const char* LCGENERICOBJECT ;
00115     static const char* PARTICLEID;
00116     static const char* VERTEX;
00117 
00118     // reserved names, e.g. name of event/collections paramaters
00119 
00120     static const char* CellIDEncoding ;
00121 }; // class
00122 } // namespace EVENT
00123 #endif /* ifndef EVENT_LCIO_H */

Generated on Sun Jun 3 06:31:59 2007 for A TPC Tracking Environment by  doxygen 1.3.9.1