ATLAS Offline Software
Loading...
Searching...
No Matches
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
23namespace 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
an algorithm for calling IIsolationSelectionTool
ToolHandle< IIsolationSelectionTool > m_selectionTool
the selection tool
ServiceHandle< ISelectionNameSvc > m_nameSvc
the ISelectionNameSvc
Gaudi::Property< bool > m_isPhoton
whether this is running on photons
SysReadHandle< xAOD::EgammaContainer > m_egammasHandle
the particle continer we run on
SysListHandle m_systematicsList
the systematics list we run
SysReadSelectionHandle m_preselection
the preselection we apply to our input
SelectionType m_setOnFail
the bits to set for an object failing the preselection
SysWriteSelectionHandle m_selectionHandle
the decoration for the asg selection
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
a data handle for reading systematically varied selection properties from objects
a data handle for writing systematically varied selection properties from objects
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Select isolated Photons, Electrons and Muons.
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData