ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalibrationAndSmearingAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8
9#ifndef MUON_ANALYSIS_ALGORITHMS__MUON_CALIBRATION_AND_SMEARING_ALG_H
10#define MUON_ANALYSIS_ALGORITHMS__MUON_CALIBRATION_AND_SMEARING_ALG_H
11
20
21namespace CP
22{
24
26 {
28 public:
30 StatusCode initialize () override;
31 StatusCode execute (const EventContext& ctx) override;
32
33
34
36 private:
37 ToolHandle<IMuonCalibrationAndSmearingTool> m_calibrationAndSmearingTool {this, "calibrationAndSmearingTool", "CP::MuonCalibrationAndSmearingTool", "the calibration and smearing tool we apply"};
38
41 private:
42 ToolHandle<IMuonCalibrationAndSmearingTool> m_calibrationAndSmearingTool_ZeroPix {this, "calibrationAndSmearingTool_ZeroPix", "", "optional calibration and smearing tool applied only to ZeroPixelHit muons"};
43
45 private:
46 Gaudi::Property<int> m_zeroPixMuonType {this, "zeroPixMuonType", xAOD::Muon::MuonType::ZeroPixelHit, "muonType value used for the ZeroPix calibration tool"};
47
49 private:
50 Gaudi::Property<bool> m_skipNominal {
51 this, "skipNominal", false, "whether to skip the nominal correction (for PHYSLITE)"};
52
54 private:
56
58 private:
60 this, "muons", "Muons", "the muon collection to run on"};
61
63 private:
65 this, "preselection", "", "the preselection to apply"};
66
68 private:
70 };
71}
72
73#endif
an algorithm for calling IMuonCalibrationAndSmearingTool
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.