5#ifndef JETCALIBTOOLS_GENERIC4VECCORRECTIONSTEP_H
6#define JETCALIBTOOLS_GENERIC4VECCORRECTIONSTEP_H 1
42 Gaudi::Property<std::string>
m_jetInScale {
this,
"InScale",
"JetGSCScaleMomentum",
"Starting jet scale"};
43 Gaudi::Property<std::string>
m_jetOutScale {
this,
"OutScale",
"",
"Ending jet scale"};
46 ToolHandle<JetHelper::IVarTool>
m_histTool {
this,
"histoTool",
"",
"Generic calibration factor"};
49 Gaudi::Property<bool>
m_useBinCenter = {
this,
"useBinCenter",
false,
"boolean to switch to bin center"};
51 ToolHandle<JetHelper::IVarTool>
m_varTool {
this,
"varTool",
"",
"input variable for eta, y, detectorEta"};
56 Gaudi::Property< bool >
m_isMC2MCCorr = {
this,
"isMC2MCCorr",
false,
"MC2MC correction?"};
57 Gaudi::Property< bool >
m_doCjetCorrection = {
this,
"doCjetCorrection",
false,
"should c-jets be corrected?"};
58 Gaudi::Property< bool >
m_doBjetCorrection = {
this,
"doBjetCorrection",
false,
"should b-jets be corrected?"};
61 Gaudi::Property<std::string>
m_pidLabel = {
this,
"PIDLabel",
"PartonTruthLabelID",
"Parton truth label"};
64 ToolHandle<JetHelper::IVarTool>
m_hist_q {
this,
"mc2mcHist_q",
"",
"2D MC2MC light quark calibration"};
66 ToolHandle<JetHelper::IVarTool>
m_hist_g {
this,
"mc2mcHist_g",
"",
"2D MC2MC gluon calibration"};
68 ToolHandle<JetHelper::IVarTool>
m_hist_c {
this,
"mc2mcHist_c",
"",
"2D MC2MC charm quark calibration"};
70 ToolHandle<JetHelper::IVarTool>
m_hist_b {
this,
"mc2mcHist_b",
"",
"2D MC2MC bottom quark calibration"};
ATLAS-specific HepMC functions.
Gaudi::Property< std::string > m_jetOutScale
TAxis m_etaAxis
Needed to avoid interpolation between eta bins.
ToolHandle< JetHelper::IVarTool > m_varTool
Variable to be used for bin center.
Generic4VecCorrectionStep(const std::string &name="Generic4VecCorrectionStep")
Constructor with parameters:
Gaudi::Property< bool > m_isMC2MCCorr
Properties for MC2MC correction:
std::map< int, ToolHandle< JetHelper::IVarTool > > m_correctionHists
Gaudi::Property< bool > m_useBinCenter
use bin center to avoid interpolation along eta (e.g. for PtResidual correction)
virtual StatusCode calibrate(xAOD::JetContainer &) const override
Apply calibration to a jet container.
ToolHandle< JetHelper::IVarTool > m_hist_c
2D histogram containing the calibration factors for charm quarks
ToolHandle< JetHelper::IVarTool > m_hist_g
2D histogram containing the calibration factors for gluons
ToolHandle< JetHelper::IVarTool > m_hist_q
2D histogram containing the calibration factors for light quarks
Gaudi::Property< std::string > m_jetInScale
ToolHandle< JetHelper::IVarTool > m_histTool
Generic histogram with correction factor (e.g. 2D)
Gaudi::Property< std::string > m_pidLabel
Which truth label should be used.
Gaudi::Property< bool > m_doCjetCorrection
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
ToolHandle< JetHelper::IVarTool > m_hist_b
2D histogram containing the calibration factors for bottom quarks
Gaudi::Property< bool > m_doBjetCorrection
JetContainer_v1 JetContainer
Definition of the current "jet container version".