diff --git a/Reconstruction/tauRecTools/Root/TauCalibrateLC.cxx b/Reconstruction/tauRecTools/Root/TauCalibrateLC.cxx index 69e753f80878985ae839cf1c710826bb519d0553..71840b2f08ac8863297bdb1eb18d14e22c1c7652 100644 --- a/Reconstruction/tauRecTools/Root/TauCalibrateLC.cxx +++ b/Reconstruction/tauRecTools/Root/TauCalibrateLC.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration */ #include "tauRecTools/TauCalibrateLC.h" @@ -67,18 +67,6 @@ StatusCode TauCalibrateLC::initialize() { return StatusCode::FAILURE; } - // get the histogram with eta corrections - key = "etaCorrection"; - histo = dynamic_cast<TH1*>(file->Get(key.c_str())); - if (histo) { - histo->SetDirectory(0); - m_etaCorrectionHist = std::unique_ptr<TH1>(histo); - } - else { - ATH_MSG_FATAL("Failed to get an object with key " << key); - return StatusCode::FAILURE; - } - TString tmpSlopKey[s_nProngBins] = {"slopeNPV1P", "slopeNPV3P"}; TString tmpFuncBase[s_nProngBins] = {"OneP_Eta_", "MultiP_Eta_"}; diff --git a/Reconstruction/tauRecTools/tauRecTools/TauCalibrateLC.h b/Reconstruction/tauRecTools/tauRecTools/TauCalibrateLC.h index 8fbaab7bc7e7c1d596a2468908469889b96a0209..dbd8dd47e1070e615f4bee0170de0ce9453f37af 100644 --- a/Reconstruction/tauRecTools/tauRecTools/TauCalibrateLC.h +++ b/Reconstruction/tauRecTools/tauRecTools/TauCalibrateLC.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration */ #ifndef TAUREC_TAUCALIBRATELC_H @@ -16,8 +16,6 @@ class TF1; /** * @brief Implementation of tau energy scale (TES) with eta and pile-up correction. * - * The energy and eta (direction) correction are done separatly and steered by flags. - * * @author Margar Simonyan * @author Felix Friedrich * @@ -42,7 +40,6 @@ class TauCalibrateLC : public TauRecToolBase { std::vector<std::vector<std::unique_ptr<TF1>>> m_calibFunc; std::vector<std::unique_ptr<TH1>> m_slopeNPVHist; std::unique_ptr<TH1> m_etaBinHist = nullptr; - std::unique_ptr<TH1> m_etaCorrectionHist = nullptr; unsigned int m_minNTrackAtVertex=0; int m_nEtaBins=0;