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

RawDaqSnarlHeader.h

Go to the documentation of this file.
00001 
00002 // $Id: RawDaqSnarlHeader.h,v 1.9 2005/04/13 17:06:52 rhatcher Exp $
00003 //
00004 // RawDaqSnarlHeader
00005 //
00006 // RawDaqSnarlHeader is the header for raw MINOS snarl 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 RAWDAQSNARLHEADER_H
00014 #define RAWDAQSNARLHEADER_H
00015 
00016 #include "RawData/RawDaqHeader.h"
00017 #include "RawData/RawSnarlHeaderBlock.h"
00018 
00019 class RawDaqSnarlHeader : public RawDaqHeader {
00020 
00021  public:
00022 
00023    RawDaqSnarlHeader();                        // necessary for streamer io
00024    RawDaqSnarlHeader(const VldContext& vldc, Int_t run,
00025                      Short_t subrun, Short_t runtype, Int_t timeframe,
00026                      Int_t snarl, UInt_t trigsrc, UInt_t errcode,
00027                      Int_t nrawdigits, Int_t spilltype);
00028    virtual ~RawDaqSnarlHeader() { ; }
00029 
00030    Int_t   GetSnarl()           const { return fSnarl; }
00031    UInt_t  GetTrigSrc()         const { return fTrigSrc; }
00032    UInt_t  GetErrorCode()       const { return fErrorCode; }
00033    Int_t   GetNumRawDigits()    const { return fNumRawDigits; }
00034    Int_t   GetRemoteSpillType() const { return fRemoteSpillType; }
00035 
00036    virtual std::ostream& FormatToOStream(std::ostream& os,
00037                                          Option_t *option="") const;
00038 
00039  protected:
00040 
00041    Int_t    fSnarl;
00042    UInt_t   fTrigSrc;
00043    UInt_t   fErrorCode;
00044    Int_t    fNumRawDigits;
00045    Int_t    fRemoteSpillType;
00046 
00047  private:
00048 
00049 ClassDef(RawDaqSnarlHeader,4)
00050 };
00051 
00052 #endif // RAWDAQSNARLHEADER_H

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