|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef JETCALIBTOOLS_JMSCORRECTION_H
6 #define JETCALIBTOOLS_JMSCORRECTION_H 1
28 typedef std::vector<std::unique_ptr<const TH2>>
VecTH2;
29 typedef std::vector<double>
VecD;
40 float getMassCorr(
double pT_uncorr,
double mass_uncorr,
int etabin)
const;
43 float getRelCalo3D(
double pT_uncorr,
double mass_over_pt_uncorr,
double eta)
const;
44 float getRelCalo(
double pT_uncorr,
double mass_over_pt_uncorr,
int etabin)
const;
45 float getRelTA3D(
double pT_uncorr,
double mass_over_pt_uncorr,
double eta)
const;
46 float getRelTA(
double pT_uncorr,
double mass_over_pt_uncorr,
int etabin)
const;
47 float getRho3D(
double pT_uncorr,
double mass_over_pt_uncorr,
double eta)
const;
48 float getRho(
double pT_uncorr,
double mass_over_pt_uncorr,
int etabin)
const;
51 if (etabins.size()==0)
ATH_MSG_ERROR(
"Please check that the mass eta binning is properly set in your config file");
56 if (etabins.size()==0)
ATH_MSG_ERROR(
"Please check that the mass combination eta binning is properly set in your config file");
float getRelCalo3D(double pT_uncorr, double mass_over_pt_uncorr, double eta) const
float getRelTA(double pT_uncorr, double mass_over_pt_uncorr, int etabin) const
VecTH2 m_taResolutionMassCombination
Scalar eta() const
pseudorapidity method
VecTH2 m_respFactorsTrackAssistedMass
std::unique_ptr< const TH3 > m_correlationMapMassCombination3D
virtual StatusCode calibrate(xAOD::Jet &jet, JetEventInfo &) const override
std::unique_ptr< const TH3 > m_taResolutionMassCombination3D
void setMassCombinationEtaBins(const VecD &etabins)
bool m_trackAssistedJetMassCorr
float getMassCorr3D(double pT_uncorr, double mass_uncorr, double eta) const
std::vector< std::unique_ptr< const TH2 > > VecTH2
std::vector< double > VecD
bool m_useCorrelatedWeights
std::unique_ptr< const TH3 > m_respFactorMass3D
float getRho3D(double pT_uncorr, double mass_over_pt_uncorr, double eta) const
float getRho(double pT_uncorr, double mass_over_pt_uncorr, int etabin) const
::StatusCode StatusCode
StatusCode definition for legacy code.
VecD m_massCombinationEtaBins
float getRelTA3D(double pT_uncorr, double mass_over_pt_uncorr, double eta) const
virtual StatusCode initialize() override
float getMassCorr(double pT_uncorr, double mass_uncorr, int etabin) const
float getRelCalo(double pT_uncorr, double mass_over_pt_uncorr, int etabin) const
float getTrackAssistedMassCorr(double pT_uncorr, double mass_uncorr, int etabin) const
void setMassEtaBins(const VecD &etabins)
VecTH2 m_correlationMapMassCombination
float getTrackAssistedMassCorr3D(double pT_uncorr, double mass_uncorr, double eta) const
std::unique_ptr< const TH3 > m_respFactorTrackAssistedMass3D
VecTH2 m_caloResolutionMassCombination
std::unique_ptr< const TH3 > m_caloResolutionMassCombination3D