Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

RecPhysicsHeader.h

Go to the documentation of this file.
00001 #ifndef RECPHYSICSHEADER_H
00002 #define RECPHYSICSHEADER_H
00003 
00005 //
00006 // RecPhysicsHeader
00007 //
00008 // RecPhysicsHeader is the base header class for MINOS records containing 
00009 //                  physics.
00010 //
00011 // Author:  S. Kasahara  8/2002
00012 //
00014 
00015 
00016 #include <iosfwd>  // ostream forward declaration
00017 #ifndef RECDATAHEADER_H
00018 #include "Record/RecDataHeader.h" // base class
00019 #endif
00020 
00021 class RecPhysicsHeader : public RecDataHeader {
00022 
00023  public:
00024 
00025    RecPhysicsHeader();                      // necessary for streamer io
00026    RecPhysicsHeader(const VldContext& vld, Int_t run, Short_t subrun,
00027                     Short_t runtype, UInt_t errorcode, Int_t snarl, 
00028                     UInt_t trigsrc, Int_t timeframe, Int_t spilltype); 
00029    virtual ~RecPhysicsHeader();
00030 
00031    // State testing methods
00032    Int_t   GetSnarl() const { return fSnarl; }
00033    UInt_t  GetTrigSrc() const { return fTrigSrc; }
00034    Int_t   GetTimeFrame() const { return fTimeFrame; }
00035    Int_t   GetRemoteSpillType() const { return fRemoteSpillType; }
00036 
00037    virtual std::ostream& Print(std::ostream& os) const;
00038    virtual void Print(Option_t* option = "") const;
00039    
00040  private:
00041    
00042    Int_t    fSnarl;         // Snarl number
00043    UInt_t   fTrigSrc;       // Trigger source
00044    Int_t    fTimeFrame;     // Time frame
00045    Int_t    fRemoteSpillType; // Spill type
00046   
00047 ClassDef(RecPhysicsHeader,2)
00048 };
00049 
00050 #endif // RECPHYSICSHEADER_H
00051 

Generated on Mon Feb 15 11:07:30 2010 for loon by  doxygen 1.3.9.1