00001 #ifndef FARDETRAWDIGITDUMP_H
00002 #define FARDETRAWDIGITDUMP_H
00003
00004 #include "JobControl/JobCModule.h"
00005
00006 #include "TTree.h"
00007 #include "TFile.h"
00008
00009 class MomNavigator;
00010
00011 class FarDetRawDigitDump : public JobCModule
00012 {
00013 public:
00014 FarDetRawDigitDump();
00015 ~FarDetRawDigitDump();
00016 void BeginJob();
00017 JobCResult Ana(const MomNavigator *mom);
00018 const Registry& DefaultConfig() const;
00019 void Config(const Registry &r);
00020 void EndJob();
00021
00022
00023 private:
00024
00025 TFile* fFarDetRawDigitFile;
00026 TTree* fFarDetRawDigitTree;
00027 Int_t fMode;
00028
00029 Int_t date,time;
00030 Int_t run,subrun,snarl;
00031 Int_t adc;
00032 Int_t timeframe;
00033 Int_t microsec,nanosec;
00034 Int_t runtype,trigsrc;
00035 Int_t crate,varc,vmm,vaadc,vachip,vachannel;
00036 Int_t side,shld,plane;
00037 Int_t rawdigit,libox,deadchip;
00038 Int_t tsec0;
00039 Int_t thetime;
00040 Int_t ctr;
00041
00042 Int_t PlnMask[16][24];
00043 Int_t PlnChMask[22];
00044 Int_t ShldChMask[16][6][22];
00045 Int_t VaCh2LiBox[22];
00046 Int_t VaCh2Shld[16][6];
00047
00048 void PrintRunSummary();
00049 };
00050
00051 #endif