|
ATLAS Offline Software
|
Go to the documentation of this file.
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 m_Had_Histo.reset(
dynamic_cast<TH1F*
>(calibFile->Get(
"Correction_Hadronic_ttbar_mean")));
30 return StatusCode::SUCCESS;
35 TLorentzVector j = calibFactor *
jet.p4();
37 jet.setJetP4(new_jet);
38 return StatusCode::SUCCESS;
::StatusCode StatusCode
StatusCode definition for legacy code.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
float Interpolate(const float &xval, const std::vector< float > &xtabulated, const std::vector< float > &ytabulated)
Interpolation function.