|
ATLAS Offline Software
|
Go to the documentation of this file.
29 ANA_MSG_ERROR (
"no scale factor or efficiency decoration name set");
30 return StatusCode::FAILURE;
44 return StatusCode::SUCCESS;
97 return StatusCode::SUCCESS;
void set(const SG::AuxElement &object, const T &value, const CP::SystematicSet &sys) const
set the object decoration for the given systematic
SysReadSelectionHandle m_preselection
the preselection we apply to our input
StatusCode addSystematics(const CP::SystematicSet &recommended, const CP::SystematicSet &affecting)
register a set of affecting variables for the current algorithm (usually obtained from an CP::ISystem...
::StatusCode retrieve(const T *&object, const CP::SystematicSet &sys) const
retrieve the object for the given name
const std::vector< CP::SystematicSet > & systematicsVector() const
the list of systematics to loop over
Select isolated Photons, Electrons and Muons.
constexpr float invalidScaleFactor()
the decoration value to use if there is no valid scale factor decoration
ToolHandle< IMuonEfficiencyScaleFactors > m_efficiencyScaleFactorTool
the smearing tool
StatusCode initialize(SysListHandle &sysListHandle)
initialize this handle
::StatusCode initialize()
intialize this property
bool getBool(const SG::AuxElement &element, const CP::SystematicSet &sys) const
get the selection as a bool
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(SysListHandle &sysListHandle, const ISysHandleBase &objectHandle)
initialize this handle
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
SysWriteDecorHandle< float > m_mcEfficiencyDecoration
the decoration for the muon mc efficiency
#define ANA_CHECK_CORRECTION(helper, object, expr)
a helper check macro to work with OutOfValidityHelper
virtual bool empty() const noexcept override
whether we have a name configured
::StatusCode initialize()
standard initialize
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the EventInfo collection we use
Class describing the basic event information.
StatusCode initialize() override
StatusCode initialize(SysListHandle &sysListHandle, const ISysHandleBase &objectHandle)
initialize the accessor
SysReadHandle< xAOD::MuonContainer > m_muonHandle
the muon collection we run on
SysWriteDecorHandle< float > m_scaleFactorDecoration
the decoration for the muon scale factor
SysWriteDecorHandle< float > m_dataEfficiencyDecoration
the decoration for the muon data efficiency
StatusCode execute() override
constexpr float invalidEfficiency()
the decoration value to use if there is no valid efficiency decoration
SysListHandle m_systematicsList
the systematics list we run