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

RawDaqHeader.h

Go to the documentation of this file.
00001 
00002 // $Id: RawDaqHeader.h,v 1.7 2003/07/10 19:36:29 rhatcher Exp $
00003 //
00004 // RawDaqHeader
00005 //
00006 // RawDaqHeader is the header for raw MINOS data from the DAQ
00007 // It serves to tag the specifics of where/when the data was recorded
00008 //
00009 // Author:  R. Hatcher 2000.04.19
00010 //
00012 
00013 #ifndef RAWDAQHEADER_H
00014 #define RAWDAQHEADER_H
00015 
00016 #include "RawData/RawHeader.h"
00017 
00018 class RawDaqHeader : public RawHeader {
00019 
00020  public:
00021 
00022    RawDaqHeader();                        // necessary for streamer io
00023    RawDaqHeader(const VldContext& vldc, Int_t run,
00024                 Short_t subrun, Short_t runtype, Int_t timeframe);
00025    virtual ~RawDaqHeader() { ; }
00026 
00027    Int_t   GetRun()          const { return fRun; }
00028    Short_t GetSubRun()       const { return fSubRun; }
00029    Short_t GetRunType()      const { return fRunType; }
00030    Int_t   GetTimeFrameNum() const { return fTimeFrame; }
00031 
00032    virtual std::ostream& FormatToOStream(std::ostream& os,
00033                                          Option_t *option="") const;
00034 
00035  protected:
00036 
00037    Int_t    fRun;
00038    Short_t  fSubRun;
00039    Short_t  fRunType;
00040    Int_t    fTimeFrame;
00041 
00042  private:
00043 
00044 ClassDef(RawDaqHeader,2)
00045 };
00046 
00047 #endif // RAWDAQHEADER_H

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