ARA ROOT v3.11 Software

AraEvent/RawAraGenericHeader.h

00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 #ifndef RAWARAGENERICHEADER_H
00012 #define RAWARAGENERICHEADER_H
00013 
00014 //Includes
00015 #include <TObject.h>
00016 #include "araAtriStructures.h"
00017 #include "araSoft.h"
00018 
00019 
00021 
00026 class RawAraGenericHeader
00027 {
00028  public:
00029    RawAraGenericHeader(); 
00030    RawAraGenericHeader(AtriGenericHeader_t *gHdr); 
00031    RawAraGenericHeader(UInt_t thisStationId); 
00032    ~RawAraGenericHeader(); 
00033 
00034    AraStationId_t getStationId() {return stationId;}
00035  
00036    UChar_t softVerMajor; //< Software version running on the DAQ SBC
00037    UChar_t softVerMinor; //< Software  version running on the DAQ SBC
00038 
00039    AraDataStructureType_t typeId;
00040    UChar_t verId;        //< Version of AraRoot
00041    UChar_t subVerId;
00042    AraStationId_t stationId; //< stationID 0x0 TestBed, 0x01 Station1...
00043    UShort_t reserved; 
00044    UInt_t numBytes;
00045    UShort_t checksum;
00046 
00047    UShort_t getFilterFlag(){return reserved;} 
00048 
00070    Int_t getFilterVersion();
00071    Int_t hasFilterFlag();
00072    Int_t hasBitSetInFilterFlag(Int_t bit);
00073 
00074   ClassDef(RawAraGenericHeader,2);
00075 };
00076 
00077 
00078 
00079 
00080 #endif //RAWARAGENERICHEADER

Generated on Fri Jul 26 15:27:35 2013 for ARA ROOT v3.11 Software by doxygen 1.4.7