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 00031 class RawAtriStationEvent: public RawAraStationEvent 00032 { 00033 public: 00034 RawAtriStationEvent(); 00035 RawAtriStationEvent(AraStationEventHeader_t *hdPtr, char *dataBuffer); 00036 RawAtriStationEvent(AraStationEventHeader_t *hdPtr, char *dataBuffer, AraStationId_t forcedStationId); 00037 00038 00039 00040 ~RawAtriStationEvent(); 00041 00042 Int_t getNumChannels() { return 0; } 00043 00044 00045 ULong64_t unixTime; 00046 UInt_t unixTimeUs; 00047 UInt_t eventNumber; 00048 UInt_t ppsNumber; 00049 UInt_t numStationBytes; 00050 UInt_t timeStamp; 00051 UInt_t eventId; 00052 UShort_t versionId; 00053 UShort_t numReadoutBlocks; 00054 00055 UShort_t triggerPattern[MAX_TRIG_BLOCKS]; 00056 UShort_t triggerInfo[MAX_TRIG_BLOCKS]; 00057 UChar_t triggerBlock[MAX_TRIG_BLOCKS]; 00058 00059 std::vector<RawAtriStationBlock> blockVec; 00060 00061 inline static int getPedIndex(int dda, int block, int chan, int sample) 00062 { 00063 return sample+(chan*SAMPLES_PER_BLOCK)+(block*RFCHAN_PER_DDA*SAMPLES_PER_BLOCK)+(dda*BLOCKS_PER_DDA*RFCHAN_PER_DDA*SAMPLES_PER_BLOCK); 00064 } 00065 00066 Int_t getFirstCapArray(Int_t dda); 00067 00068 00069 00070 ClassDef(RawAtriStationEvent,1); 00071 }; 00072 00073 00074 00075 00076 #endif //RAWATRISTATIONEVENT
Generated on Mon Mar 18 16:00:44 2013 for ARA ROOT v3.4 Software by
