00001 #ifndef HCALCALIBRATOR_H 00002 #define HCALCALIBRATOR_H 00003 00004 #include <string> 00005 00006 #include "FWCore/Framework/interface/EDAnalyzer.h" 00007 //#include "Geometry/CaloTopology/interface/HcalTopology.h" 00008 00009 00010 //------------------- 00011 #include "TString.h" 00012 #include "TFile.h" 00013 #include "TTree.h" 00014 #include "TObject.h" 00015 #include "TObjArray.h" 00016 #include "TClonesArray.h" 00017 #include "TRefArray.h" 00018 #include "TLorentzVector.h" 00019 //--------------------- 00020 00021 00022 #include "Geometry/CaloGeometry/interface/CaloGeometry.h" 00023 00024 00025 class HcalCalibrator : public edm::EDAnalyzer { 00026 public: 00027 explicit HcalCalibrator(const edm::ParameterSet&); 00028 ~HcalCalibrator(); 00029 00030 // Added for running the CaloTower creation algorithm 00031 00032 00033 private: 00034 virtual void beginJob() ; 00035 virtual void analyze(const edm::Event&, const edm::EventSetup&); 00036 virtual void endJob() ; 00037 00038 00039 std::string mOutputFile; 00040 std::string mInputFileList; 00041 00042 std::string mCalibType; 00043 std::string mCalibMethod; 00044 double mMinTargetE; 00045 double mMaxTargetE; 00046 double mMinCellE; 00047 double mMinEOverP; 00048 double mMaxEOverP; 00049 double mMaxTrkEmE; 00050 00051 double mMaxEtThirdJet; 00052 double mMinDPhiDiJets; 00053 bool mSumDepths; 00054 bool mSumSmallDepths; 00055 bool mCombinePhi; 00056 int mHbClusterSize; 00057 int mHeClusterSize; 00058 00059 bool mUseConeClustering; 00060 double mMaxConeDist; 00061 00062 int mCalibAbsIEtaMax; 00063 int mCalibAbsIEtaMin; 00064 00065 double mMaxProbeJetEmFrac; 00066 double mMaxTagJetEmFrac; 00067 double mMaxTagJetAbsEta; 00068 double mMinTagJetEt; 00069 double mMinProbeJetAbsEta; 00070 00071 00072 std::string mPhiSymCorFileName; 00073 bool mApplyPhiSymCorFlag; 00074 00075 std::string mOutputCorCoefFileName; 00076 std::string mHistoFileName; 00077 00078 00079 const CaloGeometry* mTheCaloGeometry; 00080 00081 00082 bool allowMissingInputs_; 00083 00084 00085 }; 00086 00087 #endif