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
22
23namespace CP
24{
26
28 {
30 public:
32 StatusCode initialize () override;
33 StatusCode execute () override;
34
35
36
38 private:
39 ToolHandle<InDet::IInDetTrackSelectionTool> m_selectionTool {this, "selectionTool", "", "the selection tool we apply"};
40
42 private:
43 ToolHandle<InDet::IInDetTrackTruthFilterTool> m_filterTool {this, "filterTool", "", "the truth filter tool we apply"};
44
46 private:
48
50 private:
52 this, "inDetTracks", "", "the track collection to run on"};
53
55 private:
57 this, "preselection", "", "the preselection to apply"};
58
60 private:
62 this, "selectionDecoration", "", "the decoration for the asg selection"};
63
65 private:
66 ServiceHandle<ISelectionNameSvc> m_nameSvc {"SelectionNameSvc", "InDetTrackSelectionAlg"};
67
69 private:
71
72 private:
74
75 private:
76 Gaudi::Property<std::string> m_filterWP{this, "filterWP", ""};
77 };
78}
79
80#endif
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
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
Select isolated Photons, Electrons and Muons.
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData