00001 00002 // $Id: RawBeamMonHeaderBlock.h,v 1.3 2005/08/26 19:04:53 rhatcher Exp $ 00003 // 00004 // RawBeamMonHeaderBlock 00005 // 00006 // RawBeamMonHeaderBlock holds the basic BeamMon Record Header info. 00007 // 00008 // Author: R. Hatcher 2003.01.22 00009 // 00011 00012 #ifndef RAWBEAMMONHEADERBLOCK_H 00013 #define RAWBEAMMONHEADERBLOCK_H 00014 00015 #include "RawData/RawDataBlock.h" 00016 00017 // VldTimeStamp, Detector and SimFlag are all in 00018 #include "Validity/VldContext.h" 00019 00020 class RawBeamMonHeaderBlock : public RawDataBlock { 00021 00022 public: 00023 00024 RawBeamMonHeaderBlock(); 00025 RawBeamMonHeaderBlock(const Int_t *block); 00026 RawBeamMonHeaderBlock(const VldContext& vldc, UInt_t spillcnt); 00027 virtual ~RawBeamMonHeaderBlock(); 00028 00029 VldTimeStamp GetTimeStamp() const; 00030 Int_t GetSpillCountNum() const; 00031 00032 VldContext GetVldContext() const; 00033 00034 virtual std::ostream& FormatToOStream(std::ostream& os, 00035 Option_t *option="") const; 00036 00037 static void SetDebugFlags(const UInt_t dbgflgs) {fgDebugFlags=dbgflgs;} 00038 static UInt_t GetDebugFlags() { return fgDebugFlags; } 00039 00040 // copy ctor 00041 RawBeamMonHeaderBlock(const RawBeamMonHeaderBlock& rhs) 00042 : RawDataBlock(rhs) { ; } 00043 00044 protected: 00045 00046 private: 00047 00048 // a global debugging flag 00049 static UInt_t fgDebugFlags; 00050 00051 ClassDef(RawBeamMonHeaderBlock,1) 00052 }; 00053 00054 #endif // RAWBEAMMONHEADERBLOCK_H
1.3.9.1