Skip to content
Snippets Groups Projects
Commit f28d974c authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'R22_TauCalibrateLCcleanup' into 'master'

tauRecTools: cleanup leftover code

See merge request atlas/athena!39503
parents 7efaaed8 265fbd4b
No related branches found
No related tags found
No related merge requests found
/*
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_"};
......
/*
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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment