00001 00002 // 00003 // FILL_IN: Comparisson package 00004 // 00005 // boehm@physics.harvard.edu 00007 #ifndef COMPAREMD_H 00008 #define COMPAREMD_H 00009 #ifndef JOBCMODULE_H 00010 #include "JobControl/JobCModule.h" 00011 #endif 00012 #include <vector> 00013 00014 using namespace std; 00015 00016 00017 class TH1F; 00018 class TFile; 00019 class HistMan; 00020 class NueRecord; 00021 00022 00023 class CompareMD : public JobCModule 00024 { 00025 public: 00026 CompareMD(); 00027 ~CompareMD(); 00028 00029 public: 00030 // Analysis and Reconstruction methods 00031 JobCResult Ana(const MomNavigator* mom); 00032 void EndJob(); 00033 void BeginJob(); 00034 00035 bool PassesBeamCuts(NueRecord* nr); 00036 bool PassesCuts(NueRecord* nr); 00037 00038 TString MakeIdString(NueRecord *nr); 00039 void FillFromList(NueRecord* nr, TString id, HistMan* hm, Float_t weight); 00040 const Registry& DefaultConfig() const; 00041 void Config(const Registry& r); 00042 00043 private: 00044 int counter; 00045 vector<TString> varName; 00046 vector<Float_t> beg; 00047 vector<Float_t> end; 00048 vector<Int_t> nbins; 00049 vector<TString> gtype; 00050 00051 Int_t kNMCFiles; 00052 00053 }; 00054 #endif // COMPAREMD_H 00055
1.3.9.1