|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef JETCALIBTOOLS_JETSMEARINGCORRECTION_H
6 #define JETCALIBTOOLS_JETSMEARINGCORRECTION_H
14 #include "boost/thread/tss.hpp"
42 StatusCode readHisto(
double& returnValue,
const TH1*
histo,
const std::vector< std::unique_ptr<TH1> >& projections,
double x,
double y)
const;
virtual StatusCode calibrate(xAOD::Jet &jet, JetEventInfo &) const override
std::vector< std::unique_ptr< TH1 > > m_cachedProjResMC
const TString m_calibAreaTag
TRandom3 * getTLSRandomGen(unsigned long seed) const
double resolution[nGasTypes][nParametersResolution]
std::vector< std::unique_ptr< TH1 > > m_cachedProjResData
virtual ~JetSmearingCorrection()
StatusCode cacheProjections(TH1 *fullHistogram, std::vector< std::unique_ptr< TH1 > > &cacheLocation, const std::string &type)
boost::thread_specific_ptr< TRandom3 > m_rand_tls
std::unique_ptr< TH1 > m_smearResolutionData
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode readHisto(double &returnValue, const TH1 *histo, double x) const
virtual StatusCode initialize() override
StatusCode getNominalResolution(const xAOD::Jet &jet, const TH1 *histo, const std::vector< std::unique_ptr< TH1 > > &projections, double &resolution) const
virtual StatusCode getNominalResolutionMC(const xAOD::Jet &jet, double &resolution) const override
virtual StatusCode getNominalResolutionData(const xAOD::Jet &jet, double &resolution) const override
std::unique_ptr< TH1 > m_smearResolutionMC
StatusCode getSigmaSmear(xAOD::Jet &jet, double &sigmaSmear) const