CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/IORawData/HcalTBInputService/src/CDFEventInfo.h

Go to the documentation of this file.
00001 #ifndef CDFEventInfo_hh_included
00002 #define CDFEventInfo_hh_included 1
00003 
00004 #include <TObject.h>
00005 #include <TString.h>
00008 class CDFEventInfo : public TObject {
00009 public:
00010   CDFEventInfo() { }
00012   inline UInt_t getRunNumber() const { return fRunNumber; }
00014   inline const char* getRunNumberSequenceId() const { return fRunNumberSequenceId.Data(); }
00016   inline ULong64_t getEventNumber() const { return fEventNumber; }
00018   inline UInt_t getL1ANumber() const { return fL1ANumber; }
00020   inline ULong64_t getOrbitNumber() const { return fOrbitNumber; }
00022   inline UInt_t getBunchNumber() const { return fBunchNumber; }
00024   void Set(UInt_t runNo, const char* seqid, ULong64_t eventNo, UInt_t l1aNo, ULong64_t orbitNo, UInt_t bunchNo) {
00025     fRunNumber=runNo; fRunNumberSequenceId=seqid;
00026     fEventNumber=eventNo;
00027     fL1ANumber=l1aNo;
00028     fOrbitNumber=orbitNo;
00029     fBunchNumber=bunchNo;
00030     fCDFRevision=9.0f;
00031   }
00033   inline float getCDFRevisionEvent() const { return fCDFRevision; }
00035   // static float getCDFRevisionLibrary() { return CDFLibraryVersion; }
00036 private:
00037   //  static const float CDFLibraryVersion;
00038   UInt_t fRunNumber; // Run number
00039   TString fRunNumberSequenceId; // whose run number is this?
00040   ULong64_t fEventNumber; // Event number
00041   UInt_t fL1ANumber; // L1A number
00042   ULong64_t fOrbitNumber; // Orbit number
00043   UInt_t fBunchNumber; // Bunch number
00044   Float_t fCDFRevision; // file revision
00045   ClassDef(CDFEventInfo,2)
00046 };
00047 
00048 #endif // CDFEventInfo_hh_included