113 : mInputFileList(conf.getUntrackedParameter<
std::
string>(
"inputFileList")),
115 mCalibType(conf.getUntrackedParameter<
std::
string>(
"calibType")),
116 mCalibMethod(conf.getUntrackedParameter<
std::
string>(
"calibMethod")),
117 mMinTargetE(conf.getUntrackedParameter<double>(
"minTargetE")),
118 mMaxTargetE(conf.getUntrackedParameter<double>(
"maxTargetE")),
119 mMinCellE(conf.getUntrackedParameter<double>(
"minCellE")),
120 mMinEOverP(conf.getUntrackedParameter<double>(
"minEOverP")),
121 mMaxEOverP(conf.getUntrackedParameter<double>(
"maxEOverP")),
122 mMaxTrkEmE(conf.getUntrackedParameter<double>(
"maxTrkEmE")),
123 mMaxEtThirdJet(conf.getUntrackedParameter<double>(
"maxEtThirdJet")),
124 mMinDPhiDiJets(conf.getUntrackedParameter<double>(
"minDPhiDiJets")),
125 mSumDepths(conf.getUntrackedParameter<
bool>(
"sumDepths")),
126 mSumSmallDepths(conf.getUntrackedParameter<
bool>(
"sumSmallDepths")),
127 mCombinePhi(conf.getUntrackedParameter<
bool>(
"combinePhi")),
128 mHbClusterSize(conf.getUntrackedParameter<
int>(
"hbClusterSize")),
129 mHeClusterSize(conf.getUntrackedParameter<
int>(
"heClusterSize")),
131 mUseConeClustering(conf.getUntrackedParameter<
bool>(
"useConeClustering")),
132 mMaxConeDist(conf.getUntrackedParameter<double>(
"maxConeDist")),
134 mCalibAbsIEtaMax(conf.getUntrackedParameter<
int>(
"calibAbsIEtaMax")),
135 mCalibAbsIEtaMin(conf.getUntrackedParameter<
int>(
"calibAbsIEtaMin")),
136 mMaxProbeJetEmFrac(conf.getUntrackedParameter<double>(
"maxProbeJetEmFrac")),
137 mMaxTagJetEmFrac(conf.getUntrackedParameter<double>(
"maxTagJetEmFrac")),
138 mMaxTagJetAbsEta(conf.getUntrackedParameter<double>(
"maxTagJetAbsEta")),
139 mMinTagJetEt(conf.getUntrackedParameter<double>(
"minTagJetEt")),
140 mMinProbeJetAbsEta(conf.getUntrackedParameter<double>(
"minProbeJetAbsEta")),
141 mPhiSymCorFileName(conf.getUntrackedParameter<
std::
string>(
"phiSymCorFileName")),
142 mApplyPhiSymCorFlag(conf.getUntrackedParameter<
bool>(
"applyPhiSymCorFlag")),
143 mOutputCorCoefFileName(conf.getUntrackedParameter<
std::
string>(
"outputCorCoefFileName")),
144 mHistoFileName(conf.getUntrackedParameter<
std::
string>(
"histoFileName")),
164 edm::LogVerbatim(
"HcalCalibrator") <<
"Please select ISO_TRACK or DI_JET in the python file.";
171 <<
"Supported methods for IsoTrack calibration are: L3, MATRIX_INV_OF_ETA_AVE, L3_AND_MTRX_INV";
172 edm::LogVerbatim(
"HcalCalibrator") <<
"For DiJets the supported method is L3";
178 <<
"\n\nDiJet calibration can use only the L3 method. Please change the python file.";
184 <<
"\n\nInvalid ABS(iEta) calibration range. Check calibAbsIEtaMin and calibAbsIEtaMax in the python file.";
247 TChain* fChain =
new TChain(
"hcalCalibTree");
249 for (std::vector<TString>::iterator f_it =
inputFiles.begin(); f_it !=
inputFiles.end(); ++f_it) {
250 fChain->Add(f_it->Data());
253 fChain->Process(calibrator);
void SetMaxTagJetAbsEta(Float_t e)
void SetPhiSymCorFileName(const TString &filename)
Log< level::Info, true > LogVerbatim
void SetHbClusterSize(Int_t i)
void SetOutputCorCoefFileName(const TString &filename)
const int mCalibAbsIEtaMin
void SetMinTagJetEt(Float_t e)
const std::string mInputFileList
const double mMaxEtThirdJet
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > tok_geom_
void SetMaxEOverP(Float_t e)
const std::string mOutputCorCoefFileName
void SetMaxProbeJetEmFrac(Float_t f)
void SetSumSmallDepthsFlag(Bool_t b)
const std::string mOutputFile
void SetConeMaxDist(Float_t d)
const std::string mCalibMethod
void SetApplyPhiSymCorFlag(Bool_t b)
const CaloGeometry * mTheCaloGeometry
const std::string mPhiSymCorFileName
void SetCalibType(const TString &s)
void SetMinDPhiDiJets(Float_t dphi)
const bool mApplyPhiSymCorFlag
void SetSumDepthsFlag(Bool_t b)
void analyze(const edm::Event &, const edm::EventSetup &) override
void SetUseConeClustering(Bool_t b)
const double mMaxProbeJetEmFrac
const HcalTopology * mTheHcalTopology
const bool mSumSmallDepths
const double mMinProbeJetAbsEta
const edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > tok_htopo_
~HcalCalibrator() override=default
const std::string mHistoFileName
void SetMinTargetE(Float_t e)
void SetCalibMethod(const TString &s)
const double mMinDPhiDiJets
void SetCalibAbsIEtaMax(Int_t i)
#define DEFINE_FWK_MODULE(type)
bool getData(T &iHolder) const
const double mMinTagJetEt
void SetMaxTargetE(Float_t e)
void SetMaxTrkEmE(Float_t e)
HcalCalibrator(const edm::ParameterSet &)
const double mMaxTagJetEmFrac
const std::string mCalibType
void SetCaloGeometry(const CaloGeometry *g, const HcalTopology *topo)
const double mMaxTagJetAbsEta
void SetMaxTagJetEmFrac(Float_t f)
void SetCalibAbsIEtaMin(Int_t i)
void SetCombinePhiFlag(Bool_t b)
void SetHistoFileName(const TString &filename)
void SetHeClusterSize(Int_t i)
const bool mUseConeClustering
void SetMinCellE(Float_t e)
void SetMaxEtThirdJet(Float_t et)
void SetMinProbeJetAbsEta(Float_t e)
void SetMinEOverP(Float_t e)
const double mMaxConeDist
const int mCalibAbsIEtaMax