 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef IsoCloseByCorrectionAlg_H
6 #define IsoCloseByCorrectionAlg_H
12 #include "GaudiKernel/SystemOfUnits.h"
46 template <
class CONT_TYPE>
61 ToolHandle<CP::IMuonSelectionTool>
m_muonSelTool{
this,
"MuonSelectionTool",
""};
62 ToolHandle<IAsgElectronLikelihoodTool>
m_elecSelTool{
this,
"ElectronSelectionTool",
""};
63 ToolHandle<IAsgPhotonIsEMSelector>
m_photSelTool{
this,
"PhotonSelectionTool",
""};
66 ToolHandle<CP::IIsolationCloseByCorrectionTool>
m_closeByCorrTool{
this,
"IsoCloseByCorrectionTool",
"",
67 "The isolation close by correction tool."};
71 "Minimum pt cut that the electron needs to pass in order to be selected"};
73 "Minimum pt cut that the muon needs to pass in order to be selected"};
75 "Minimum pt cut that the photon needs to pass in order to be selected"};
79 this,
"SelectionDecorator",
"isoSelIsOK",
80 "Name of the char auxdata defining whether the particle shall be considered for iso correction"};
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
Gaudi::Property< std::string > m_quality_name
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.
StatusCode selectLeptonsAndPhotons(const EventContext &ctx, CONT_TYPE particles, const SG::Decorator< char > &isOK) const
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
StatusCode applySelection(const EventContext &ctx, const xAOD::Electron *elec, const SG::Decorator< char > &isOK) const
Gaudi::Property< float > m_minPhotPt
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