// -*- mode: c++ -*- // // $Id: BrTableNames.h,v 1.5 2002/01/03 19:54:29 cholm Exp $ // $Author: cholm $ // $Date: 2002/01/03 19:54:29 $ // $Copyright: (C) 2001 BRAHMS Collaboration // //____________________________________________________________________ // // These are table names to be used when generating and accessing // tables in BRAT. If these defininitons are used, one can always // assure themselves and everyone else that they are accessing a table // consistently. // // One should take care in changing these names. If we have a lot of // data on tape with a certain set of names and the name is suddenly // changed, it would make accessing the "old" data difficult. // #ifndef BRAT_BrTableNames #define BRAT_BrTableNames #ifndef ROOT_Rtypes #include "Rtypes.h" #endif // #define USE_CLASS #ifndef USE_CLASS #define BRTABLENAMES //Event Nodes const Char_t kEventNodeFS[] = {"FS"}; const Char_t kEventNodeFFS[] = {"FFS"}; const Char_t kEventNodeBFS[] = {"BFS"}; const Char_t kEventNodeMRS[] = {"MRS"}; const Char_t kEventNodeGlobal[] = {"Global"}; //scalers const Char_t kTriggerScalers[] = {"TriggerScalers"}; //Geant tables const Char_t kGeantTracks[] = {"GeantTracks"}; const Char_t kGeantHits[] = {"GeantHits"}; //General tracking tables const Char_t kCombinedHits[] = {"CombinedHits"}; const Char_t kDetectorTrack[] = {"DetectorTrack"}; //TPC tables const Char_t kDigTPCTable[] = {"DigTPC"}; const Char_t kTPCSequence[] = {"TPCSequence"}; const Char_t kTPCCluster[] = {"TPCCluster"}; const Char_t kTpcHit[] = {"TpcHit"}; const Char_t kTpcTrack[] = {"TpcTrack"}; const Char_t kDvDig[] = {"DvDig"}; const Char_t kTpmfibDig[] = {"TpmfibDig"}; const Char_t kTpcFibDig[] = {"TpcFibDig"}; //DC tables const Char_t kDigHit[] = {"DigHit"}; const Char_t kDigDC[] = {"DigDC"}; const Char_t kDigitizedDC[] = {"DigitizedDC"}; //TOF tables const Char_t kDigTof[] = {"DigTof"}; const Char_t kCalibratedTof[] = {"CalibratedTof"}; const Char_t kPid[] = {"BrPid"}; //BB tables const Char_t kDigBB[] = {"DigBB"}; const Char_t kRdoBB[] = {"Rdo Data"}; //C1 tables const Char_t kDigC1[] = {"DigC1"}; //RICH Tables const Char_t kDigRICH[] = {"DigRICH"}; //MULT tables const Char_t kMultTiles[] = {"MultTiles"}; const Char_t kDigTiles[] = {"DigTiles"}; const Char_t kMultSi[] = {"MultSi"}; const Char_t kDigSi[] = {"DigSi"}; //ZDC tables const Char_t kDigZDC[] = {"DigZDC"}; const Char_t kDigZDCLo[] = {"DigZDCLo"}; //Trig tables const Char_t kTrigBB[] = {"TrigBB"}; const Char_t kTrigStart[] = {"TrigStart"}; #else #ifndef ROOT_TObject #include "TObject.h" #endif class BrTableNames : public TObject { public: // Event Nodes static const Char_t* kEventNodeFS; // static const Char_t* kEventNodeFFS; // static const Char_t* kEventNodeBFS; // static const Char_t* kEventNodeMRS; // static const Char_t* kEventNodeGlobal; // // scalers static const Char_t* kTriggerScalers; // // Geant tables static const Char_t* kGeantTracks; // static const Char_t* kGeantHits; // // General tracking tables static const Char_t* kCombinedHits; // static const Char_t* kDetectorTrack; // // TPC tables static const Char_t* kDigTPCTable; // static const Char_t* kTPCSequence; // static const Char_t* kTPCCluster; // static const Char_t* kTpcHit; // static const Char_t* kTpcTrack; // static const Char_t* kDvDig; // static const Char_t* kTpmfibDig; // static const Char_t* kTpcFibDig; // // DC tables static const Char_t* kDigHit; // static const Char_t* kDigDC; // static const Char_t* kDigitizedDC; // // TOF tables static const Char_t* kDigTof; // static const Char_t* kCalibratedTof; // static const Char_t* kPid; // // BB tables static const Char_t* kDigBB; // static const Char_t* kRdoBB; // // C1 tables static const Char_t* kDigC1; // // RICH Tables static const Char_t* kDigRICH; // // MULT tables static const Char_t* kMultTiles; // static const Char_t* kDigTiles; // static const Char_t* kMultSi; // static const Char_t* kDigSi; // // ZDC tables static const Char_t* kDigZDC; // static const Char_t* kDigZDCLo; // // Trig tables static const Char_t* kTrigBB; // static const Char_t* kTrigStart; // ClassDef(BrTableNames, 0) // Utility class that holds table names } ; #define BRTABLENAMES BrTableNames:: #endif #endif //____________________________________________________________________ // $Log: BrTableNames.h,v $ // Revision 1.5 2002/01/03 19:54:29 cholm // Prepared to use BrTableNames class (or perhaps BrDetectorList) for table names // // Revision 1.4 2001/10/02 22:28:59 videbaek // Added kBrTpcFibDig table name // // Revision 1.3 2001/09/18 13:50:15 operator // Added a table name for BrTrigStart. // // Revision 1.2 2001/07/17 18:01:18 videbaek // Added name for TpmfibDig // // Revision 1.1.1.1 2001/06/21 14:55:19 hagel // Initial revision of brat2 // // Revision 1.12 2001/06/17 17:07:15 pchristi // Added tpc track table // // Revision 1.11 2001/06/04 18:11:17 videbaek // Add tableName for DriftVelocity data // // Revision 1.10 2001/05/28 15:33:45 pchristi // Small changes. Added const methods to container. Added new tablenames. // Updated and added delete methods to BrDataTable. // // Revision 1.9 2000/07/29 22:48:01 hagel // Include DigDC // // Revision 1.8 2000/07/28 03:21:59 hagel // Added name for Trigger Scaler Object // // Revision 1.7 2000/07/15 10:56:47 alv // Added decoding and extraction of data record 10021: ZDC attenuated ADC // Symbolic record id (in enum ERawMagic): kZDCLo // Name of data object (in BrTableNames.h): kDigZDCLo ("DigZDCLo") // Name of N-tuple object: "ZDCLo" // // Revision 1.6 2000/05/20 18:17:56 hito // I (Hiro) added the Silicon strip detector. // // Revision 1.5 2000/04/27 14:03:55 hagel // Added names for raw data event nodes // // Revision 1.4 2000/03/17 16:11:07 cholm // Added the variable "kDigSi" for digitizied Silicon tables. // // Revision 1.3 2000/03/17 01:10:15 hagel // Modified kGeantTracks definition // // Revision 1.2 2000/03/09 22:36:34 hagel // Add new table names for use in BrRawDataInput // // Revision 1.1 1999/07/27 01:41:59 hagel // Initial revision //