9#ifndef MUON_ANALYSIS_ALGORITHMS__MUON_CALIBRATION_AND_SMEARING_ALG_H
10#define MUON_ANALYSIS_ALGORITHMS__MUON_CALIBRATION_AND_SMEARING_ALG_H
31 StatusCode
execute (
const EventContext& ctx)
override;
37 ToolHandle<IMuonCalibrationAndSmearingTool>
m_calibrationAndSmearingTool {
this,
"calibrationAndSmearingTool",
"CP::MuonCalibrationAndSmearingTool",
"the calibration and smearing tool we apply"};
42 ToolHandle<IMuonCalibrationAndSmearingTool>
m_calibrationAndSmearingTool_ZeroPix {
this,
"calibrationAndSmearingTool_ZeroPix",
"",
"optional calibration and smearing tool applied only to ZeroPixelHit muons"};
46 Gaudi::Property<int>
m_zeroPixMuonType {
this,
"zeroPixMuonType", xAOD::Muon::MuonType::ZeroPixelHit,
"muonType value used for the ZeroPix calibration tool"};
51 this,
"skipNominal",
false,
"whether to skip the nominal correction (for PHYSLITE)"};
60 this,
"muons",
"Muons",
"the muon collection to run on"};
65 this,
"preselection",
"",
"the preselection to apply"};
an algorithm for calling IMuonCalibrationAndSmearingTool
StatusCode initialize() override
SysListHandle m_systematicsList
the systematics list we run
SysCopyHandle< xAOD::MuonContainer > m_muonHandle
the muon collection we run on
Gaudi::Property< int > m_zeroPixMuonType
the muonType value used for the ZeroPix calibration tool
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Gaudi::Property< bool > m_skipNominal
whether to skip the nominal correction (for PHYSLITE)
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
ToolHandle< IMuonCalibrationAndSmearingTool > m_calibrationAndSmearingTool
the smearing tool
ToolHandle< IMuonCalibrationAndSmearingTool > m_calibrationAndSmearingTool_ZeroPix
an optional calibration tool applied only to ZeroPixelHit muons.
a helper to translate a CP::CorrectionCode into a StatusCode
a systematics data handle that will either copy the input object or act like an update handle
a class managing the property to configure the list of systematics to process
a data handle for reading systematically varied selection properties from objects
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
virtual::StatusCode execute()
execute this algorithm
Select isolated Photons, Electrons and Muons.