18 std::unique_ptr<TFile> calibFile = std::make_unique<TFile>(filename.c_str(),
"READ");
21 return StatusCode::FAILURE;
24 m_Semi_Histo.reset(
dynamic_cast<TH1F*
>(calibFile->Get(
"Correction_SemiLeptonic_ttbar_mean")));
26 ATH_MSG_FATAL(
"Cannot get Correction_SemiLeptonic_ttbar_mean from calib file");
27 return StatusCode::FAILURE;
30 m_Had_Histo.reset(
dynamic_cast<TH1F*
>(calibFile->Get(
"Correction_Hadronic_ttbar_mean")));
32 ATH_MSG_FATAL(
"Cannot get Correction_Hadronic_ttbar_mean from calib file");
33 return StatusCode::FAILURE;
38 return StatusCode::SUCCESS;
43 TLorentzVector j = calibFactor *
jet.p4();
45 jet.setJetP4(new_jet);
46 return StatusCode::SUCCESS;
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
Jet_v1 Jet
Definition of the current "jet version".
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.