ATLAS Offline Software
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 
23 namespace 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
PropertyWrapper.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysListHandle.h
CP::InDetTrackSelectionAlg::m_filterWP
Gaudi::Property< std::string > m_filterWP
Definition: InDetTrackSelectionAlg.h:76
SysWriteSelectionHandle.h
CP::InDetTrackSelectionAlg::execute
StatusCode execute() override
Definition: InDetTrackSelectionAlg.cxx:127
CP::SelectionType
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData
Definition: SelectionHelpers.h:26
CP::InDetTrackSelectionAlg::m_setOnFail
SelectionType m_setOnFail
the bits to set for an object failing the preselection
Definition: InDetTrackSelectionAlg.h:70
IInDetTrackTruthFilterTool.h
CP::InDetTrackSelectionAlg::initialize
StatusCode initialize() override
Definition: InDetTrackSelectionAlg.cxx:26
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:49
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaAlgorithm.cxx:40
CP::InDetTrackSelectionAlg
an algorithm for calling first the IInDetTrackSelectionTool and then the IInDetTrackTruthFilterTool
Definition: InDetTrackSelectionAlg.h:28
SysReadHandle.h
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
asg::AcceptInfo
Definition: AcceptInfo.h:28
CP::InDetTrackSelectionAlg::m_selectionTool
ToolHandle< InDet::IInDetTrackSelectionTool > m_selectionTool
the smearing tool
Definition: InDetTrackSelectionAlg.h:39
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ISelectionNameSvc.h
CP::InDetTrackSelectionAlg::m_filterTool
ToolHandle< InDet::IInDetTrackTruthFilterTool > m_filterTool
the filter tool
Definition: InDetTrackSelectionAlg.h:43
IInDetTrackSelectionTool.h
columnar::final
CM final
Definition: ColumnAccessor.h:106
CP::InDetTrackSelectionAlg::m_tracksHandle
SysReadHandle< xAOD::TrackParticleContainer > m_tracksHandle
the track collection we run on
Definition: InDetTrackSelectionAlg.h:51
SysReadSelectionHandle.h
CP::InDetTrackSelectionAlg::m_nameSvc
ServiceHandle< ISelectionNameSvc > m_nameSvc
the ISelectionNameSvc
Definition: InDetTrackSelectionAlg.h:66
CP::InDetTrackSelectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: InDetTrackSelectionAlg.h:56
CP::InDetTrackSelectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: InDetTrackSelectionAlg.h:47
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::InDetTrackSelectionAlg::m_selectionHandle
SysWriteSelectionHandle m_selectionHandle
the decoration for the asg selection
Definition: InDetTrackSelectionAlg.h:61
CP::InDetTrackSelectionAlg::m_acceptInfo
asg::AcceptInfo m_acceptInfo
Definition: InDetTrackSelectionAlg.h:73
CP::SysWriteSelectionHandle
a data handle for writing systematically varied selection properties from objects
Definition: SysWriteSelectionHandle.h:32
TrackParticleContainer.h
ServiceHandle
Definition: ClusterMakerTool.h:37