00001 #ifndef FARDETTPSINGLESDUMP_H
00002 #define FARDETTPSINGLESDUMP_H
00003
00004 #include "JobControl/JobCModule.h"
00005
00006 #include "TTree.h"
00007 #include "TFile.h"
00008
00009 class MomNavigator;
00010
00011 class FarDetTpSinglesDump : public JobCModule
00012 {
00013
00014 public:
00015 FarDetTpSinglesDump();
00016 ~FarDetTpSinglesDump();
00017 void BeginJob();
00018 JobCResult Ana(const MomNavigator *mom);
00019 const Registry& DefaultConfig() const;
00020 void Config(const Registry &r);
00021 void EndJob();
00022
00023 private:
00024
00025 TFile* fTpSinglesFile;
00026 TTree* fTpSinglesTree;
00027
00028 Int_t date,time;
00029 Int_t run,timeframe;
00030 Int_t rate,LI;
00031 Int_t crate,varc,vmm,vaadc,vachip,vachannel;
00032 Int_t flag,shld,plane;
00033 Int_t timeframenum,timeframectr;
00034 Int_t timeframeTP,timeframeLI;
00035
00036 Int_t PlnMask[16][24];
00037 Int_t PlnChMask[22];
00038 Int_t VaCh2Shld[16][6];
00039 Int_t VaCh2LiBox[22];
00040
00041 Int_t VaMaskSingles[16][3][6][2][3];
00042 Int_t VaMaskLI[16][3][6][2][3];
00043
00044 Int_t fMode;
00045
00046 void PrintRunSummary();
00047 };
00048
00049 #endif