11#ifndef JETCALIBTOOLS_INSITUCALIBSTEP_H
12#define JETCALIBTOOLS_INSITUCALIBSTEP_H 1
48 Gaudi::Property<bool>
m_CalibrateMC {
this,
"CalibrateMC",
false,
"force Insitu step for MC sample"};
49 Gaudi::Property<bool>
m_isMC {
this,
"isMC",
false,
"isMC"};
51 Gaudi::Property<std::string>
m_jetInScale {
this,
"InScale",
"JetGSCScaleMomentum",
"Starting jet scale"};
52 Gaudi::Property<std::string>
m_jetOutScale {
this,
"OutScale",
"JetInsituScaleMomentum",
"Ending jet scale"};
57 ToolHandleArray<JetHelper::IVarTool>
m_histTool_EtaInter{
this,
"HistoReaderEtaInter", {},
"Instance of HistoInput2D for reading histogram"};
60 ToolHandleArray<JetHelper::IVarTool>
m_histTool_Abs{
this,
"HistoReaderAbs", {},
"Instance of HistoInput1D for reading histogram"};
62 ToolHandle<JetHelper::IVarTool>
m_vartool1 {
this,
"vartool1",
"VarTool",
"InputVariable instance" };
64 ToolHandle<JetHelper::IVarTool>
m_vartool2 {
this,
"vartool2",
"VarTool",
"InputVariable instance" };
Header file for AthHistogramAlgorithm.
std::unique_ptr< const TH2 > combineCalibration(const TH2 *h2d, const TH1 *h)
ToolHandleArray< JetHelper::IVarTool > m_histTool_Abs
Gaudi::Property< std::string > m_jetInScale
Gaudi::Property< bool > m_CalibrateMC
StatusCode retrieveEventInfo(unsigned int &r) const
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
virtual StatusCode calibrate(xAOD::JetContainer &) const override
Apply calibration to a jet container.
std::vector< double > m_ptMax_vec
std::vector< double > m_ptMin_vec
std::vector< std::unique_ptr< const TH2 > > m_insituCorr_vec
Gaudi::Property< std::string > m_jetOutScale
std::vector< double > m_etaMin_vec
ToolHandleArray< JetHelper::IVarTool > m_histTool_EtaInter
ToolHandle< JetHelper::IVarTool > m_vartool2
StatusCode getInsituCorr(const xAOD::Jet &jet, JetHelper::JetContext &jc, unsigned int periodIndex, double &scale) const
std::vector< double > m_etaMax_vec
SG::ReadHandleKey< xAOD::EventInfo > m_evtInfoKey
ToolHandle< JetHelper::IVarTool > m_vartool1
InSituCalibStep(const std::string &name="InSituCalibStep")
Constructor with parameters:
Gaudi::Property< std::vector< unsigned int > > m_RunNumBoundaries
Gaudi::Property< bool > m_isMC
Class JetContext Designed to read AOD information related to the event, N vertices,...
Property holding a SG store/key/clid from which a ReadHandle is made.
Jet_v1 Jet
Definition of the current "jet version".
JetContainer_v1 JetContainer
Definition of the current "jet container version".