ATLAS Offline Software
Loading...
Searching...
No Matches
AsgLeptonTrackSelectionAlg.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
8
9#ifndef ASG_ANALYSIS_ALGORITHMS__ASG_LEPTON_TRACK_SELECTION_ALG_H
10#define ASG_ANALYSIS_ALGORITHMS__ASG_LEPTON_TRACK_SELECTION_ALG_H
11
25
26namespace CP
27{
40
42 {
44 public:
46 StatusCode initialize () override;
47 StatusCode execute (const EventContext &ctx) const override;
48
49
52
53 private:
54 Gaudi::Property<float> m_maxD0Significance {this, "maxD0Significance", 0, "maximum d0 significance (or 0 for no cut)"};
55 Gaudi::Property<float> m_maxDeltaZ0SinTheta {this, "maxDeltaZ0SinTheta", 0, "maximum Delta z0 sin theta (or 0 for no cut)"};
56 Gaudi::Property<int> m_nMinPixelHits {this, "nMinPixelHits", -1, "minimum number of required Pixel hits (or -1 for no cut)"};
57 Gaudi::Property<int> m_nMaxPixelHits {this, "nMaxPixelHits", -1, "maximum number of required Pixel hits (or -1 for no cut)"};
58 Gaudi::Property<int> m_nMinSCTHits {this, "nMinSCTHits", -1, "minimum number of required SCT hits (or -1 for no cut)"};
59 Gaudi::Property<int> m_nMaxSCTHits {this, "nMaxSCTHits", -1, "maximum number of required SCT hits (or -1 for no cut)"};
60
62
63
65 private:
67
69 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey {this, "eventInfo", "EventInfo", "the name of the EventInfo object to retrieve"};
70
72 SG::ReadHandleKey<xAOD::VertexContainer> m_primaryVerticesKey {this, "primaryVertices", "PrimaryVertices", "the name of the PrimaryVertex container to retrieve"};
73
75 private:
77 this, "particles", "", "the asg collection to run on"};
78
80 private:
82 this, "preselection", "", "the preselection to apply"};
83
85 private:
87 this, "selectionDecoration", "trackSelection", "the decoration for the asg selection"};
88
90 private:
91 ServiceHandle<ISelectionNameSvc> m_nameSvc {"SelectionNameSvc", "AsgLeptonTrackSelectionAlg"};
92
94 private:
96 };
97}
98
99#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Handle class for reading from StoreGate.
an algorithm for performing track-vertex selection on leptons
SysListHandle m_systematicsList
the systematics list we run
ServiceHandle< ISelectionNameSvc > m_nameSvc
the ISelectionNameSvc
StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< float > m_maxDeltaZ0SinTheta
SysWriteSelectionHandle m_selectionHandle
the accessor for m_selectionDecoration
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
the EventInfo key
SG::ReadHandleKey< xAOD::VertexContainer > m_primaryVerticesKey
the PrimaryVertex key
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle container we run on
Gaudi::Property< float > m_maxD0Significance
algorithm properties
SysReadSelectionHandle m_preselection
the preselection we apply to our input
asg::AcceptInfo m_accept
the asg::AcceptInfo we are using
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 base class for EventLoop reentrant algorithms
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Property holding a SG store/key/clid from which a ReadHandle is made.
Select isolated Photons, Electrons and Muons.