ARA ROOT v3.8 Software

AraEvent/RawAtriStationBlock.h

00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 #ifndef RAWATRISTATIONBLOCK_H
00012 #define RAWATRISTATIONBLOCK_H
00013 
00014 //Includes
00015 #include <vector>
00016 #include <TObject.h>
00017 #include "araAtriStructures.h"
00018 #include "araSoft.h"
00019 
00020 
00021 
00022 
00024 
00028 class RawAtriStationBlock: public TObject
00029 {
00030  public:
00031    RawAtriStationBlock(); 
00032    RawAtriStationBlock(AraStationEventBlockHeader_t *hdPtr, AraStationEventBlockChannel_t *channels); 
00033    ~RawAtriStationBlock(); 
00034 
00035 
00036    //Extra stuff
00037    UChar_t numChannels;
00038 
00039    //The header data
00040    UShort_t irsBlockNumber;
00041    UShort_t channelMask;
00042 
00043    //The samples
00044    std::vector< std::vector<UShort_t> > data;
00045 
00046    int getNumChannels() {return (int) numChannels;}
00047 
00048    int getDda() {return (channelMask&0x300)>>8;}
00049    int getBlock() {return irsBlockNumber&0x1ff;}
00050    //   int getCapArray() { return (irsBlockNumber&0x4)>>2;} // Event format version 1
00051    int getCapArray() { return irsBlockNumber&0x1;} //Event Format version 2
00052 
00053   ClassDef(RawAtriStationBlock,1);
00054 };
00055 
00056 
00057 
00058 
00059 #endif //RAWATRISTATIONBLOCK

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