ATLAS Offline Software
Loading...
Searching...
No Matches
InDetTrackSelectionAlg.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 TRACKING_ANALYSIS_ALGORITHMS__INDET_TRACK_SELECTION_ALG_H
10#define TRACKING_ANALYSIS_ALGORITHMS__INDET_TRACK_SELECTION_ALG_H
11
25
26namespace CP
27{
29
31 {
33 public:
35 StatusCode initialize () override;
36 StatusCode execute () override;
37
38
39
40 private:
42 ToolHandle<InDet::IInDetTrackSelectionTool> m_selectionTool {this, "selectionTool", "", "the selection tool we apply"};
43
45 ToolHandle<InDet::IInDetTrackTruthFilterTool> m_filterTool {this, "filterTool", "", "the truth filter tool we apply"};
46
49
52 this, "inDetTracks", "", "the track collection to run on"};
53
56 this, "vertices", "", "the vertex container to use"};
57
60 this, "preselection", "", "the preselection to apply"};
61
64 this, "selectionDecoration", "", "the decoration for the asg selection"};
65
67 ServiceHandle<ISelectionNameSvc> m_nameSvc {"SelectionNameSvc", "InDetTrackSelectionAlg"};
68
71
73
74 Gaudi::Property<std::string> m_filterWP{this, "filterWP", ""};
75 };
76}
77
78#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Handle class for reading from StoreGate.
an algorithm for calling first the IInDetTrackSelectionTool and then the IInDetTrackTruthFilterTool
ServiceHandle< ISelectionNameSvc > m_nameSvc
the ISelectionNameSvc
SysReadHandle< xAOD::TrackParticleContainer > m_tracksHandle
the track collection we run on
ToolHandle< InDet::IInDetTrackSelectionTool > m_selectionTool
the smearing tool
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainerKey
the vertex collection to use for the selection (optional)
SysWriteSelectionHandle m_selectionHandle
the decoration for the asg selection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Gaudi::Property< std::string > m_filterWP
SelectionType m_setOnFail
the bits to set for an object failing the preselection
SysListHandle m_systematicsList
the systematics list we run
ToolHandle< InDet::IInDetTrackTruthFilterTool > m_filterTool
the filter tool
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
Property holding a SG store/key/clid from which a ReadHandle is made.
Select isolated Photons, Electrons and Muons.
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData