|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef ASG_ANALYSIS_ALGORITHMS__PILEUP_REWEIGHTING_ALG_H
9 #define ASG_ANALYSIS_ALGORITHMS__PILEUP_REWEIGHTING_ALG_H
38 ToolHandle<IPileupReweightingTool>
m_pileupReweightingTool {
this,
"pileupReweightingTool",
"PileupReweightingTool",
"the pileup reweighting tool we apply"};
47 this,
"pileupWeightDecoration",
"PileupWeight_%SYS%",
"the decoration for the pileup weight"};
52 this,
"eventInfo",
"EventInfo",
"the input EventInfo object"};
57 "object so it should be at least a base of the shallow copies read in by the 'eventInfo' handle. "
58 "The default (and strongly recommended behaviour) is to leave all of these pointed at the central 'EventInfo' object!"};
62 Gaudi::Property<std::string>
m_correctedScaledAverageMuDecoration {
this,
"correctedScaledAverageMuDecoration",
"",
"the decoration for the corrected and scaled average interactions per crossing"};
66 Gaudi::Property<std::string>
m_correctedActualMuDecoration {
this,
"correctedActualMuDecoration",
"",
"the decoration for the corrected actual interactions per crossing"};
70 Gaudi::Property<std::string>
m_correctedScaledActualMuDecoration {
this,
"correctedScaledActualMuDecoration",
"",
"the decoration for the corrected and scaled actual interactions per crossing"};
std::unique_ptr< const SG::AuxElement::Decorator< float > > m_correctedActualMuDecorator
the accessor for m_correctedActualMuDecoration
ToolHandle< IPileupReweightingTool > m_pileupReweightingTool
the smearing tool
Gaudi::Property< std::string > m_correctedScaledActualMuDecoration
the decoration for the corrected and scaled actual interactions per crossing
a class managing the property to configure the list of systematics to process
a helper to translate a CP::CorrectionCode into a ::StatusCode
SG::ReadHandleKey< xAOD::EventInfo > m_baseEventInfoName
the name of the original event info (this should usually be the same as eventiNfoHandle and EventInfo...
a data handle for reading systematics varied input data
StatusCode initialize() override
Select isolated Photons, Electrons and Muons.
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
std::unique_ptr< const SG::AuxElement::Decorator< float > > m_correctedScaledActualMuDecorator
the accessor for m_correctedScaledAverageMuDecoration
std::unique_ptr< const SG::AuxElement::Decorator< float > > m_correctedScaledAverageMuDecorator
the accessor for m_correctedScaledAverageMuDecoration
Gaudi::Property< std::string > m_correctedScaledAverageMuDecoration
the decoration for the corrected and scaled average interactions per crossing
StatusCode execute() override
the (new) base class for EventLoop algorithms
an algorithm for calling IPileupReweightingTool
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::string > m_correctedActualMuDecoration
the decoration for the corrected actual interactions per crossing
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the name of the event info object
CP::SysWriteDecorHandle< float > m_weightDecorator
the decoration for the pileup weight
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
SysListHandle m_systematicsList
the systematics list we run