ATLAS Offline Software
EgammaIsolationSelectionAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 
9 #ifndef EGAMMA_ANALYSIS_ALGORITHMS__EGAMMA_ISOLATION_SELECTION_ALG_H
10 #define EGAMMA_ANALYSIS_ALGORITHMS__EGAMMA_ISOLATION_SELECTION_ALG_H
11 
22 
23 namespace CP
24 {
26 
28  {
30  public:
32  StatusCode initialize () override;
33  StatusCode execute () override;
34 
35 
36 
38  private:
39  ToolHandle<IIsolationSelectionTool> m_selectionTool {this, "selectionTool", "", "the selection tool we apply"};
40 
42  private:
44 
46  private:
48  this, "preselection", "", "the preselection to apply"};
49 
51  private:
53  this, "egammas", "Electrons", "the egamma collection to run on"};
54 
56  private:
58  this, "selectionDecoration", "isolated", "the decoration for the asg selection"};
59 
61  private:
62  ServiceHandle<ISelectionNameSvc> m_nameSvc {"SelectionNameSvc", "EgammaIsolationSelectionAlg"};
63 
65  private:
66  Gaudi::Property<bool> m_isPhoton {this, "isPhoton", false,
67  "whether this is running on photons"};
68 
70  private:
72  };
73 }
74 
75 #endif
OutOfValidityHelper.h
CP::EgammaIsolationSelectionAlg::initialize
StatusCode initialize() override
Definition: EgammaIsolationSelectionAlg.cxx:23
PropertyWrapper.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CopyHelpers.h
SysListHandle.h
SysWriteSelectionHandle.h
CP::SelectionType
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData
Definition: SelectionHelpers.h:26
CP::EgammaIsolationSelectionAlg::execute
StatusCode execute() override
Definition: EgammaIsolationSelectionAlg.cxx:48
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition: SysReadHandle.h:32
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaAlgorithm.cxx:40
SysReadHandle.h
CP::EgammaIsolationSelectionAlg::m_setOnFail
SelectionType m_setOnFail
the bits to set for an object failing the preselection
Definition: EgammaIsolationSelectionAlg.h:71
CP::EgammaIsolationSelectionAlg::m_nameSvc
ServiceHandle< ISelectionNameSvc > m_nameSvc
the ISelectionNameSvc
Definition: EgammaIsolationSelectionAlg.h:62
CP::EgammaIsolationSelectionAlg::m_selectionTool
ToolHandle< IIsolationSelectionTool > m_selectionTool
the selection tool
Definition: EgammaIsolationSelectionAlg.h:39
CP::EgammaIsolationSelectionAlg::m_isPhoton
Gaudi::Property< bool > m_isPhoton
whether this is running on photons
Definition: EgammaIsolationSelectionAlg.h:66
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
CP::EgammaIsolationSelectionAlg::m_selectionHandle
SysWriteSelectionHandle m_selectionHandle
the decoration for the asg selection
Definition: EgammaIsolationSelectionAlg.h:57
CP::EgammaIsolationSelectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: EgammaIsolationSelectionAlg.h:47
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::EgammaIsolationSelectionAlg
an algorithm for calling IIsolationSelectionTool
Definition: EgammaIsolationSelectionAlg.h:28
ISelectionNameSvc.h
SysReadSelectionHandle.h
IIsolationSelectionTool.h
CP::EgammaIsolationSelectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: EgammaIsolationSelectionAlg.h:43
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::SysWriteSelectionHandle
a data handle for writing systematically varied selection properties from objects
Definition: SysWriteSelectionHandle.h:32
CP::EgammaIsolationSelectionAlg::m_egammasHandle
SysReadHandle< xAOD::EgammaContainer > m_egammasHandle
the particle continer we run on
Definition: EgammaIsolationSelectionAlg.h:52
ServiceHandle
Definition: ClusterMakerTool.h:37