AraEvent/RawAraEvent.h
00001 00002 00003 00004 00005 00006 00007 00008 00009 #ifndef RAWARAEVENT_H 00010 #define RAWARAEVENT_H 00011 00012 //Includes 00013 #include <TObject.h> 00014 #include "araStructures.h" 00015 #include "araDefines.h" 00016 #include "RawAraHeader.h" 00017 #include "AraRawRFChannel.h" 00018 #include "AraTriggerMonitor.h" 00019 #include "AraHkData.h" 00020 00022 00026 class RawAraEvent: public TObject 00027 { 00028 public: 00029 RawAraEvent(); 00030 RawAraEvent(AraEventBody_t *theBody); 00031 ~RawAraEvent(); 00032 00033 //Important Stuff 00034 UInt_t whichPeds; 00035 00036 //The data 00037 RawAraHeader head; 00038 AraRawRFChannel chan[NUM_DIGITIZED_CHANNELS]; 00039 AraTriggerMonitor trig; 00040 AraHkData hk; 00041 00042 Int_t getLabChip(Int_t chanIndex) { 00043 return chan[chanIndex].getLabChip(); 00044 } 00045 Int_t getRCO(Int_t chanIndex) { 00046 return chan[chanIndex].getRCO(); 00047 } 00048 Int_t getFirstHitBus(Int_t chanIndex) { 00049 return chan[chanIndex].getFirstHitBus(); 00050 } 00051 Int_t getLastHitBus(Int_t chanIndex) { 00052 return chan[chanIndex].getLastHitBus(); 00053 } 00054 Int_t getWrappedHitBus(Int_t chanIndex) { 00055 return chan[chanIndex].getWrappedHitBus(); 00056 } 00057 00058 Int_t getLatestSample(Int_t chanIndex); 00059 Int_t getEarliestSample(Int_t chanIndex); 00060 Int_t isInTrigPattern(int bit) {return trig.isInTrigPattern(bit);} 00061 UInt_t getRubidiumTriggerTime() {return trig.getRubidiumTriggerTime();} 00062 Double_t getRubidiumTriggerTimeInSec() {return trig.getRubidiumTriggerTimeInSec();} 00063 00064 00065 ClassDef(RawAraEvent,1); 00066 }; 00067 00068 00069 #endif //RAWARAEVENT_H
Generated on Wed Aug 8 16:18:55 2012 for ARA ROOT Test Bed Software by
