00001 00002 // $Id: CondensedNtpModuleNC.h,v 1.11 2009/09/11 22:15:50 rodriges Exp $ 00003 // 00004 // A module used for generating analysis ntuples from the SR ntuples 00005 // 00006 // B. Rebel 10/2004 00008 #ifndef CONDENSEDNTPMODULENC_H 00009 #define CONDENSEDNTPMODULENC_H 00010 00011 #include "JobControl/JobCModule.h" 00012 #include "Registry/Registry.h" 00013 00014 #include "TString.h" 00015 00016 class MomNavigator; 00017 00018 class ANtpEventInfoNC; 00019 class ANtpNueInfo; 00020 class ANtpShowerInfoNC; 00021 class ANtpTrackInfoNC; 00022 class ANtpTruthInfoBeam; 00023 class ANtpBeamInfo; 00024 class ANtpHeaderInfo; 00025 class ANtpEventInfoMRCC; 00026 00027 class ANtpInfoObjectFillerNC; 00028 class ANtpInfoObjectFillerMRCC; 00029 class ANtpInfoObjectFillerNue; 00030 00031 class TFile; 00032 class TTree; 00033 00034 //...................................................................... 00035 00036 class CondensedNtpModuleNC : public JobCModule 00037 { 00038 00039 public: 00040 CondensedNtpModuleNC(); 00041 virtual ~CondensedNtpModuleNC(); 00042 00043 void BeginJob(); 00044 JobCResult Ana(const MomNavigator* mom); 00045 const Registry& DefaultConfig() const; 00046 void Config(const Registry& r); 00047 void Help(); 00048 void EndJob(); 00049 00050 private: 00051 00052 TString fFileName; 00053 TString fTreeName; 00054 TFile *fNtpFile; 00055 TTree *fNtuple; 00056 int fDataType; //0-->data, 1-->MC 00057 int fFailedDeMux; 00058 00059 ANtpNueInfo *fNueInfo; 00060 ANtpEventInfoNC *fEventInfo; 00061 ANtpHeaderInfo *fHeaderInfo; 00062 ANtpBeamInfo *fBeamInfo; 00063 ANtpShowerInfoNC *fShowerInfo; 00064 ANtpTrackInfoNC *fTrackInfo; 00065 ANtpTruthInfoBeam *fTruthInfo; 00066 ANtpEventInfoMRCC *fEventInfoMRCC; 00067 00068 ANtpInfoObjectFillerNC *fInfoFiller; 00069 ANtpInfoObjectFillerMRCC *fInfoFillerMRCC; 00070 ANtpInfoObjectFillerNue *fInfoFillerNue; 00071 00072 // Settings for Kregg's image recognition 00073 int fVHSPlanes; 00074 int fVHSStrips; 00075 00076 int fMakeNueBranch; 00077 00078 void ResetTreeVariables(); 00079 00080 }; 00081 00082 #endif // CONDENSEDNTPMODULENC_H 00083 00084
1.3.9.1