8#ifndef MUON_ANALYSIS_ALGORITHMS__MUON_TRIGGER_EFFICIENCY_SCALE_FACTOR_ALG_H
9#define MUON_ANALYSIS_ALGORITHMS__MUON_TRIGGER_EFFICIENCY_SCALE_FACTOR_ALG_H
39 ToolHandle<IMuonTriggerScaleFactors>
m_efficiencyScaleFactorTool {
this,
"efficiencyScaleFactorTool",
"CP::MuonTriggerScaleFactors",
"the trigger efficiency scale factor tool we apply"};
48 this,
"muons",
"Muons",
"the muon collection to run on"};
53 this,
"eventInfo",
"EventInfo",
"the EventInfo we use"};
58 this,
"preselection",
"",
"the preselection to apply"};
66 Gaudi::Property<std::string>
m_trigger {
this,
"trigger",
"",
"trigger or trigger leg to calculate efficiency for"};
70 Gaudi::Property<uint32_t>
m_minRunNumber {
this,
"minRunNumber", 0,
"minimum run number for the trigger or trigger leg to calculate efficiency for"};
74 Gaudi::Property<uint32_t>
m_maxRunNumber {
this,
"maxRunNumber", 999999,
"maximum run number for the trigger or trigger leg to calculate efficiency for"};
79 this,
"scaleFactorDecoration",
"",
"the decoration for the muon efficiency scale factor"};
84 this,
"mcEfficiencyDecoration",
"",
"the decoration for the muon MC efficiency"};
89 this,
"dataEfficiencyDecoration",
"",
"the decoration for the muon data efficiency"};
an algorithm for calling IMuonTriggerScaleFactors
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the EventInfo collection we use
Gaudi::Property< std::string > m_trigger
trigger to run efficiency for
SysListHandle m_systematicsList
the systematics list we run
Gaudi::Property< uint32_t > m_minRunNumber
minimum run number this trigger is valid for
SysWriteDecorHandle< float > m_dataEfficiencyDecoration
the decoration for the muon data efficiency
Gaudi::Property< uint32_t > m_maxRunNumber
maximum run number this trigger is valid for
ToolHandle< IMuonTriggerScaleFactors > m_efficiencyScaleFactorTool
the smearing tool
SysWriteDecorHandle< float > m_scaleFactorDecoration
the decoration for the muon scale factor
StatusCode execute() override
SysReadHandle< xAOD::MuonContainer > m_muonHandle
the muon collection we run on
SysWriteDecorHandle< float > m_mcEfficiencyDecoration
the decoration for the muon mc efficiency
SysReadSelectionHandle m_preselection
the preselection we apply to our input
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
StatusCode initialize() override
a helper to translate a CP::CorrectionCode into a StatusCode
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 systematically varied selection properties from objects
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
Select isolated Photons, Electrons and Muons.