8#ifndef ASG_ANALYSIS_ALGORITHMS__PILEUP_REWEIGHTING_ALG_H
9#define ASG_ANALYSIS_ALGORITHMS__PILEUP_REWEIGHTING_ALG_H
39 ToolHandle<IPileupReweightingTool>
m_pileupReweightingTool {
this,
"pileupReweightingTool",
"PileupReweightingTool",
"the pileup reweighting tool we apply"};
48 this,
"pileupWeightDecoration",
"PileupWeight_%SYS%",
"the decoration for the pileup weight"};
53 this,
"eventInfo",
"EventInfo",
"the input EventInfo object"};
58 "object so it should be at least a base of the shallow copies read in by the 'eventInfo' handle. "
59 "The default (and strongly recommended behaviour) is to leave all of these pointed at the central 'EventInfo' object!"};
65 "the decoration for the corrected and scaled average interactions per crossing" };
71 "the decoration for the corrected actual interactions per crossing" };
77 "the decoration for the corrected and scaled actual interactions per crossing" };
85 "Name for the RandomRunNumber decoration" };
89 "Name for the RandomLumiBlockNumber decoration" };
93 "Name for the PRWHash decoration" };
a helper to translate a CP::CorrectionCode into a StatusCode
an algorithm for calling IPileupReweightingTool
SG::WriteDecorHandleKey< xAOD::EventInfo > m_decRRNKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_correctedScaledAverageMuDecorator
the decoration for the corrected and scaled average interactions per crossing
StatusCode execute() override
CP::SysWriteDecorHandle< float > m_weightDecorator
the decoration for the pileup weight
SG::WriteDecorHandleKey< xAOD::EventInfo > m_correctedScaledActualMuDecorator
the decoration for the corrected and scaled actual interactions per crossing
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the name of the event info object
SysListHandle m_systematicsList
the systematics list we run
SG::WriteDecorHandleKey< xAOD::EventInfo > m_decHashKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_correctedActualMuDecorator
the decoration for the corrected actual interactions per crossing
SG::WriteDecorHandleKey< xAOD::EventInfo > m_decRLBNKey
SG::ReadHandleKey< xAOD::EventInfo > m_baseEventInfoName
the name of the original event info (this should usually be the same as eventiNfoHandle and EventInfo...
StatusCode initialize() override
ToolHandle< IPileupReweightingTool > m_pileupReweightingTool
the smearing tool
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
a data handle for reading systematics varied input data
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Select isolated Photons, Electrons and Muons.