ARA ROOT v3.8 Software

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 
00052    UInt_t eventId; 
00053    UShort_t versionId; 
00054    UShort_t numReadoutBlocks; 
00055 
00056    UInt_t triggerInfo[MAX_TRIG_BLOCKS]; 
00057    UChar_t triggerBlock[MAX_TRIG_BLOCKS]; 
00058 
00059    UChar_t filterInfo; 
00060 
00061    std::vector<RawAtriStationBlock> blockVec;
00062    
00063    inline static int getPedIndex(int dda, int block, int chan, int sample)
00064    {
00065      return sample+(chan*SAMPLES_PER_BLOCK)+(block*RFCHAN_PER_DDA*SAMPLES_PER_BLOCK)+(dda*BLOCKS_PER_DDA*RFCHAN_PER_DDA*SAMPLES_PER_BLOCK);
00066    }
00067 
00068    Int_t getFirstCapArray(Int_t dda); 
00069    bool isCalpulserEvent(); 
00070    
00071 
00072 
00073   ClassDef(RawAtriStationEvent,1);
00074 };
00075 
00076 
00077 
00078 
00079 #endif //RAWATRISTATIONEVENT

Generated on Mon Jun 3 14:59:46 2013 for ARA ROOT v3.8 Software by doxygen 1.4.7