AraEvent/RawAtriStationEvent.h
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 #ifndef RAWATRISTATIONEVENT_H 00012 #define RAWATRISTATIONEVENT_H 00013 00014 //Includes 00015 #include <vector> 00016 #include <TObject.h> 00017 #include "RawAraStationEvent.h" 00018 #include "RawAtriStationBlock.h" 00019 #include "araAtriStructures.h" 00020 #include "araSoft.h" 00021 00022 00023 00024 00026 00030 class RawAtriStationEvent: /*public RawAraGenericHeader ,*/public RawAraStationEvent 00031 { 00032 public: 00033 RawAtriStationEvent(); 00034 RawAtriStationEvent(AraStationEventHeader_t *hdPtr, char *dataBuffer); 00035 ~RawAtriStationEvent(); 00036 00037 Int_t getNumChannels() { return 0; } 00038 00039 00040 ULong64_t unixTime; 00041 UInt_t unixTimeUs; 00042 UInt_t eventNumber; 00043 UInt_t ppsNumber; 00044 UInt_t numStationBytes; 00045 UInt_t timeStamp; 00046 UInt_t eventId; 00047 UShort_t versionId; 00048 UShort_t numReadoutBlocks; 00049 00050 UShort_t triggerPattern[MAX_TRIG_BLOCKS]; 00051 UShort_t triggerInfo[MAX_TRIG_BLOCKS]; 00052 UChar_t triggerBlock[MAX_TRIG_BLOCKS]; 00053 00054 std::vector<RawAtriStationBlock> blockVec; 00055 00056 inline static int getPedIndex(int dda, int block, int chan, int sample) 00057 { 00058 return sample+(chan*SAMPLES_PER_BLOCK)+(block*RFCHAN_PER_DDA*SAMPLES_PER_BLOCK)+(dda*BLOCKS_PER_DDA*RFCHAN_PER_DDA*SAMPLES_PER_BLOCK); 00059 } 00060 00061 00062 00063 ClassDef(RawAtriStationEvent,1); 00064 }; 00065 00066 00067 00068 00069 #endif //RAWATRISTATIONEVENT
Generated on Wed Aug 8 16:20:07 2012 for ARA ROOT Test Bed Software by
