00001 #ifndef FARPLANECHECKOUT_H 00002 #define FARPLANECHECKOUT_H 00003 00004 00005 #include <map> 00006 00007 #include "JobControl/JobCModule.h" 00008 #include "TCanvas.h" // ROOT include file for drawing canvases 00009 #include "TH1.h" // ROOT include file for 1d histograms 00010 #include "TNtuple.h" // ROOT include file for ntuple class 00011 #include "TTree.h" // ROOT include file for ntuple class 00012 #include "TFile.h" // ROOT include file for ntuple class 00013 #include "TProfile.h" // ROOT include file for profile class 00014 #include "TObjArray.h" 00015 00016 #include "Plex/PlexStripEndId.h" 00017 #include "RawData/RawChannelId.h" 00018 00019 using namespace std; 00020 00021 class MomNavigator; // Forward declaration of this class 00022 00023 class Strip2End { 00024 public: 00025 Strip2End(); 00026 Strip2End(PlexStripEndId,PlexStripEndId); 00027 PlexStripEndId stripend[2]; 00028 }; 00029 00030 class FarPlaneCheckout : public JobCModule 00031 { 00032 public: 00033 FarPlaneCheckout(); // Class constructor 00034 00035 // JobCModule methods implemented by this module 00036 JobCResult Ana(const MomNavigator *mom); // Analysis method 00037 void EndJob(); // End of job method 00038 void HandleCommand(JobCommand* cmd); // Handle a job command 00039 00040 private: 00041 TFile *fFile; 00042 00043 Int_t fRunType; 00044 00045 map<RawChannelId,TH1F *> frawid2th1adc; 00046 map<Int_t,TH1F *> fstrip2th1adc; 00047 map<RawChannelId,TProfile *> frawid2tprofCIraw; 00048 map<RawChannelId,TProfile *> frawid2tprofCI; 00049 00050 TObjArray *fth1adcarray; 00051 00052 TObjArray *ftprofCIarray; 00053 00054 int CIbegframe[50][128]; // [crate][charge], maximum of 50 crates 00055 int CIendframe[50][128]; 00056 00057 TH1F *fth1record; 00058 00059 }; 00060 00061 #endif // FARPLANECHECKOUT_H
1.3.9.1