|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef IsoCloseByCorrectionAlg_H
6 #define IsoCloseByCorrectionAlg_H
12 #include "GaudiKernel/SystemOfUnits.h"
40 template <
class CONT_TYPE>
55 ToolHandle<CP::IMuonSelectionTool>
m_muonSelTool{
this,
"MuonSelectionTool",
""};
56 ToolHandle<IAsgElectronLikelihoodTool>
m_elecSelTool{
this,
"ElectronSelectionTool",
""};
57 ToolHandle<IAsgPhotonIsEMSelector>
m_photSelTool{
this,
"PhotonSelectionTool",
""};
60 ToolHandle<CP::IIsolationCloseByCorrectionTool>
m_closeByCorrTool{
this,
"IsoCloseByCorrectionTool",
"",
61 "The isolation close by correction tool."};
65 "Minimum pt cut that the electron needs to pass in order to be selected"};
67 "Minimum pt cut that the muon needs to pass in order to be selected"};
69 "Minimum pt cut that the photon needs to pass in order to be selected"};
Property holding a SG store/key/clid from which a ReadHandle is made.
ToolHandle< CP::IMuonSelectionTool > m_muonSelTool
tools for selection of incoming particles
Gaudi::Property< float > m_minMuonPt
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
DataVector adapter that acts like it holds const pointers.
SG::ReadHandleKeyArray< xAOD::IParticleContainer > m_contKeys
Input containers to retrieve from the storegate.
SG::ReadDecorHandleKey< xAOD::MuonContainer > m_muonSelKey
For lepton/photon selection, normally one uses either a decorator xxxSelKey, or a tool xxxSelTool,...
Gaudi::Property< float > m_minElecPt
Kinematic cuts - if needed.
ToolHandle< IAsgPhotonIsEMSelector > m_photSelTool
Select isolated Photons, Electrons and Muons.
IsoCloseByCorrectionAlg(const std::string &name, ISvcLocator *svcLoc)
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadDecorHandleKey< xAOD::PhotonContainer > m_photSelKey
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode execute(const EventContext &ctx) const override
StatusCode initialize() override
Gaudi::Property< float > m_minPhotPt
StatusCode selectLeptonsAndPhotons(const EventContext &ctx, CONT_TYPE particles) const
ToolHandle< CP::IIsolationCloseByCorrectionTool > m_closeByCorrTool
The closeBy isolation correction tool.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
ToolHandle< IAsgElectronLikelihoodTool > m_elecSelTool
Define macros for attributes used to control the static checker.
SG::ReadDecorHandleKey< xAOD::ElectronContainer > m_elecSelKey
StatusCode applySelection(const EventContext &ctx, const xAOD::Electron *elec) const