Reimplemented from edm::EDAnalyzer.
Definition at line 146 of file HcalCalibrator.cc.
References gather_cfg::cout, convertXMLtoSQLite_cfg::fileName, electronDbsDiscovery::files, diJetCalib::inputFileList, merge::inputFiles, mApplyPhiSymCorFlag, mCalibAbsIEtaMax, mCalibAbsIEtaMin, mCalibMethod, mCalibType, mCombinePhi, mHbClusterSize, mHeClusterSize, mHistoFileName, mInputFileList, mMaxConeDist, mMaxEOverP, mMaxEtThirdJet, mMaxProbeJetEmFrac, mMaxTagJetAbsEta, mMaxTagJetEmFrac, mMaxTargetE, mMaxTrkEmE, mMinCellE, mMinDPhiDiJets, mMinEOverP, mMinProbeJetAbsEta, mMinTagJetEt, mMinTargetE, mOutputCorCoefFileName, mPhiSymCorFileName, mSumDepths, mSumSmallDepths, mTheCaloGeometry, mUseConeClustering, hcalCalib::SetApplyPhiSymCorFlag(), hcalCalib::SetCalibAbsIEtaMax(), hcalCalib::SetCalibAbsIEtaMin(), hcalCalib::SetCalibMethod(), hcalCalib::SetCalibType(), hcalCalib::SetCaloGeometry(), hcalCalib::SetCombinePhiFlag(), hcalCalib::SetConeMaxDist(), hcalCalib::SetHbClusterSize(), hcalCalib::SetHeClusterSize(), hcalCalib::SetHistoFileName(), hcalCalib::SetMaxEOverP(), hcalCalib::SetMaxEtThirdJet(), hcalCalib::SetMaxProbeJetEmFrac(), hcalCalib::SetMaxTagJetAbsEta(), hcalCalib::SetMaxTagJetEmFrac(), hcalCalib::SetMaxTargetE(), hcalCalib::SetMaxTrkEmE(), hcalCalib::SetMinCellE(), hcalCalib::SetMinDPhiDiJets(), hcalCalib::SetMinEOverP(), hcalCalib::SetMinProbeJetAbsEta(), hcalCalib::SetMinTagJetEt(), hcalCalib::SetMinTargetE(), hcalCalib::SetOutputCorCoefFileName(), hcalCalib::SetPhiSymCorFileName(), hcalCalib::SetSumDepthsFlag(), hcalCalib::SetSumSmallDepthsFlag(), and hcalCalib::SetUseConeClustering().
151 cout <<
"Please select ISO_TRACK or DI_JET in the python file." << endl;
157 cout <<
"Supported methods for IsoTrack calibration are: L3, MATRIX_INV_OF_ETA_AVE, L3_AND_MTRX_INV" << endl;
158 cout <<
"For DiJets the supported method is L3" << endl;
163 cout <<
"\n\nDiJet calibration can use only the L3 method. Please change the python file." << endl;
168 cout <<
"\n\nInvalid ABS(iEta) calibration range. Check calibAbsIEtaMin and calibAbsIEtaMax in the python file." << endl;
218 inputFileList.open(files.Data());
221 while (!inputFileList.eof()) {
224 if (!fileName.BeginsWith(
"#") && !fileName.Contains(
" ") && fileName!=
"")
225 inputFiles.push_back(fileName);
227 inputFileList.close();
229 std::cout <<
"\nInput files for processing:" << std::endl;
230 for (std::vector<TString>::iterator it=inputFiles.begin(); it!=inputFiles.end(); ++it) {
231 std::cout <<
"file: " << it->Data() << std::endl;
236 TChain* fChain =
new TChain(
"hcalCalibTree");
238 for (std::vector<TString>::iterator f_it=inputFiles.begin();f_it!=inputFiles.end(); ++f_it) {
239 fChain->Add(f_it->Data());
243 fChain->Process(calibrator);
245 if (fChain)
delete fChain;
void SetMaxTagJetAbsEta(Float_t e)
void SetHbClusterSize(Int_t i)
void SetMinTagJetEt(Float_t e)
void SetOutputCorCoefFileName(TString filename)
void SetMaxEOverP(Float_t e)
double mMinProbeJetAbsEta
void SetMaxProbeJetEmFrac(Float_t f)
void SetSumSmallDepthsFlag(Bool_t b)
void SetConeMaxDist(Float_t d)
void SetApplyPhiSymCorFlag(Bool_t b)
const CaloGeometry * mTheCaloGeometry
void SetMinDPhiDiJets(Float_t dphi)
void SetSumDepthsFlag(Bool_t b)
std::string mHistoFileName
void SetUseConeClustering(Bool_t b)
double mMaxProbeJetEmFrac
void SetHistoFileName(TString filename)
void SetMinTargetE(Float_t e)
void SetCaloGeometry(const CaloGeometry *g)
void SetCalibAbsIEtaMax(Int_t i)
void SetPhiSymCorFileName(TString filename)
std::string mInputFileList
void SetMaxTargetE(Float_t e)
void SetMaxTrkEmE(Float_t e)
std::string mPhiSymCorFileName
void SetMaxTagJetEmFrac(Float_t f)
void SetCalibAbsIEtaMin(Int_t i)
void SetCalibMethod(TString s)
std::string mOutputCorCoefFileName
void SetCombinePhiFlag(Bool_t b)
void SetCalibType(TString s)
void SetHeClusterSize(Int_t i)
void SetMinCellE(Float_t e)
void SetMaxEtThirdJet(Float_t et)
void SetMinProbeJetAbsEta(Float_t e)
void SetMinEOverP(Float_t e)