Reimplemented from edm::EDAnalyzer.
Definition at line 132 of file HcalCalibrator.cc.
References gather_cfg::cout, DEFINE_FWK_MODULE, MillePedeFileConverter_cfg::fileName, PatBasicFWLiteAnalyzer::files, 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, mTheHcalTopology, 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().
Referenced by o2olib.O2ORunMgr::executeJob().
135 std::cout <<
"Please select ISO_TRACK or DI_JET in the python file." << std::endl;
141 std::cout <<
"Supported methods for IsoTrack calibration are: L3, MATRIX_INV_OF_ETA_AVE, L3_AND_MTRX_INV" 143 std::cout <<
"For DiJets the supported method is L3" << std::endl;
148 std::cout <<
"\n\nDiJet calibration can use only the L3 method. Please change the python file." << std::endl;
154 <<
"\n\nInvalid ABS(iEta) calibration range. Check calibAbsIEtaMin and calibAbsIEtaMax in the python file." 199 std::ifstream inputFileList;
202 inputFileList.open(files.Data());
205 while (!inputFileList.eof()) {
208 if (!fileName.BeginsWith(
"#") && !fileName.Contains(
" ") && fileName !=
"")
209 inputFiles.push_back(fileName);
211 inputFileList.close();
213 std::cout <<
"\nInput files for processing:" << std::endl;
214 for (std::vector<TString>::iterator it = inputFiles.begin(); it != inputFiles.end(); ++it) {
215 std::cout <<
"file: " << it->Data() << std::endl;
219 TChain* fChain =
new TChain(
"hcalCalibTree");
221 for (std::vector<TString>::iterator f_it = inputFiles.begin(); f_it != inputFiles.end(); ++f_it) {
222 fChain->Add(f_it->Data());
225 fChain->Process(calibrator);
void SetMaxTagJetAbsEta(Float_t e)
void SetPhiSymCorFileName(const TString &filename)
void SetHbClusterSize(Int_t i)
void SetOutputCorCoefFileName(const TString &filename)
void SetMinTagJetEt(Float_t e)
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 SetCalibType(const TString &s)
void SetMinDPhiDiJets(Float_t dphi)
void SetSumDepthsFlag(Bool_t b)
std::string mHistoFileName
void SetUseConeClustering(Bool_t b)
double mMaxProbeJetEmFrac
const HcalTopology * mTheHcalTopology
void SetMinTargetE(Float_t e)
void SetCalibMethod(const TString &s)
void SetCalibAbsIEtaMax(Int_t i)
std::string mInputFileList
void SetMaxTargetE(Float_t e)
void SetMaxTrkEmE(Float_t e)
std::string mPhiSymCorFileName
void SetCaloGeometry(const CaloGeometry *g, const HcalTopology *topo)
void SetMaxTagJetEmFrac(Float_t f)
void SetCalibAbsIEtaMin(Int_t i)
std::string mOutputCorCoefFileName
void SetCombinePhiFlag(Bool_t b)
void SetHistoFileName(const TString &filename)
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)