ATLAS Offline Software
LeptonSFCalculatorAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #ifndef ASG__LEPTON_SF_CALCULATORALG_H
8 #define ASG__LEPTON_SF_CALCULATORALG_H
9 
16 
18 #include <xAODMuon/MuonContainer.h>
22 
23 namespace CP {
25  public:
27  virtual StatusCode initialize() final;
28  virtual StatusCode execute() final;
29 
30  private:
31  // systematics
33 
35  this, "electrons", "", "the electron container to use"
36  };
38  this, "electronSelection", "", "the selection on the input electrons"
39  };
40 
42  this, "muons", "", "the muon container to use"
43  };
45  this, "muonSelection", "", "the selection on the input muons"
46  };
47 
49  this, "photons", "", "the photon container to use"
50  };
52  this, "photonSelection", "", "the selection on the input photons"
53  };
54 
56  this, "taus", "", "the tau container to use"
57  };
59  this, "tauSelection", "", "the selection on the input taus"
60  };
61 
63  this, "eventInfo", "EventInfo", "the EventInfo container to decorate selection decisions to"
64  };
65 
67  this, "electronSFs", {}, "Array of decorated per-electron SFs"
68  };
69 
71  this, "muonSFs", {}, "Array of decorated per-muon SFs"
72  };
73 
75  this, "photonSFs", {}, "Array of decorated per-photon SFs"
76  };
77 
79  this, "tauSFs", {}, "Array of decorated per-tau SFs"
80  };
81 
83  this, "event_leptonSF", "leptonSF_%SYS%", "Decoration for per-event leptonSF"
84  };
85  };
86 
87 } // namespace
88 
89 #endif
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysWriteDecorHandle.h
SysListHandle.h
CP::LeptonSFCalculatorAlg::m_tausHandle
CP::SysReadHandle< xAOD::TauJetContainer > m_tausHandle
Definition: LeptonSFCalculatorAlg.h:55
CP::LeptonSFCalculatorAlg::m_electronSFs
CP::SysReadDecorHandleArray< float > m_electronSFs
Definition: LeptonSFCalculatorAlg.h:66
CP::LeptonSFCalculatorAlg::m_electronSelection
CP::SysReadSelectionHandle m_electronSelection
Definition: LeptonSFCalculatorAlg.h:37
CP::LeptonSFCalculatorAlg::m_event_leptonSF
CP::SysWriteDecorHandle< float > m_event_leptonSF
Definition: LeptonSFCalculatorAlg.h:82
CP::LeptonSFCalculatorAlg::m_muonSelection
CP::SysReadSelectionHandle m_muonSelection
Definition: LeptonSFCalculatorAlg.h:44
CP::SysReadHandle< xAOD::ElectronContainer >
CP::LeptonSFCalculatorAlg::m_photonsHandle
CP::SysReadHandle< xAOD::PhotonContainer > m_photonsHandle
Definition: LeptonSFCalculatorAlg.h:48
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:49
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaAlgorithm.cxx:40
SysReadHandle.h
CP::LeptonSFCalculatorAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
Definition: LeptonSFCalculatorAlg.h:62
AnaAlgorithm.h
CP::LeptonSFCalculatorAlg::m_muonSFs
CP::SysReadDecorHandleArray< float > m_muonSFs
Definition: LeptonSFCalculatorAlg.h:70
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
ElectronContainer.h
CP::LeptonSFCalculatorAlg::initialize
virtual StatusCode initialize() final
Definition: LeptonSFCalculatorAlg.cxx:11
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::LeptonSFCalculatorAlg::m_tauSFs
CP::SysReadDecorHandleArray< float > m_tauSFs
Definition: LeptonSFCalculatorAlg.h:78
TauJetContainer.h
CP::LeptonSFCalculatorAlg::m_tauSelection
CP::SysReadSelectionHandle m_tauSelection
Definition: LeptonSFCalculatorAlg.h:58
CP::LeptonSFCalculatorAlg::execute
virtual StatusCode execute() final
Definition: LeptonSFCalculatorAlg.cxx:36
CP::LeptonSFCalculatorAlg::m_electronsHandle
CP::SysReadHandle< xAOD::ElectronContainer > m_electronsHandle
Definition: LeptonSFCalculatorAlg.h:34
CP::LeptonSFCalculatorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
Definition: LeptonSFCalculatorAlg.h:32
CP::LeptonSFCalculatorAlg::m_photonSFs
CP::SysReadDecorHandleArray< float > m_photonSFs
Definition: LeptonSFCalculatorAlg.h:74
SysReadSelectionHandle.h
EventInfo.h
MuonContainer.h
CP::LeptonSFCalculatorAlg::m_photonSelection
CP::SysReadSelectionHandle m_photonSelection
Definition: LeptonSFCalculatorAlg.h:51
SysReadDecorHandle.h
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::SysHandleArray
Vector-like class for systematic handles which interact with decorations.
Definition: SysHandleArray.h:26
CP::SysWriteDecorHandle< float >
CP::LeptonSFCalculatorAlg::m_muonsHandle
CP::SysReadHandle< xAOD::MuonContainer > m_muonsHandle
Definition: LeptonSFCalculatorAlg.h:41
CP::LeptonSFCalculatorAlg
Definition: LeptonSFCalculatorAlg.h:24
PhotonContainer.h