ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecTools
InDetTrackSummaryHelperTool
InDetTrackSummaryHelperTool
InDetTrackSummaryHelperTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef INDETTRACKSUMMARYHELPERTOOL_H
6
#define INDETTRACKSUMMARYHELPERTOOL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
TrkToolInterfaces/ITrackSummaryHelperTool.h
"
10
11
#include "
TRT_ConditionsServices/ITRT_StrawStatusSummaryTool.h
"
12
#include "
TrkEventPrimitives/ParticleHypothesis.h
"
13
#include "
TrkToolInterfaces/IPixelToTPIDTool.h
"
14
#include "
TrkToolInterfaces/ITrackHoleSearchTool.h
"
15
#include "
TrkTrackSummary/TrackSummary.h
"
// defines the Trk::numberOfDetectorTypes enum
16
17
#include "
InDetPrepRawData/PixelCluster.h
"
18
#include "
TrkEventUtils/ClusterSplitProbabilityContainer.h
"
19
20
#include "GaudiKernel/ToolHandle.h"
21
22
#include <bitset>
23
#include <vector>
24
25
class
ITRT_StrawSummaryTool;
26
class
PixelID
;
27
class
SCT_ID
;
28
class
TRT_ID
;
29
30
namespace
Trk
{
31
class
CompetingRIOsOnTrack
;
32
class
RIO_OnTrack
;
33
class
Track
;
34
class
TrackStateOnSurface
;
35
}
36
37
namespace
InDet
{
38
39
class
InDetTrackSummaryHelperTool
final
40
:
public
extends<AthAlgTool, Trk::ITrackSummaryHelperTool>
41
{
42
public
:
44
InDetTrackSummaryHelperTool
(
const
std::string&,
45
const
std::string&,
46
const
IInterface*);
47
49
virtual
~InDetTrackSummaryHelperTool
() =
default
;
50
53
virtual
StatusCode
initialize
()
override
;
54
virtual
StatusCode
finalize
()
override
;
55
61
62
virtual
void
analyse
(
63
const
EventContext& ctx,
64
const
Trk::Track
& track,
65
const
Trk::RIO_OnTrack
* rot,
66
const
Trk::TrackStateOnSurface
* tsos,
67
std::vector<int>& information,
68
std::bitset<Trk::numberOfDetectorTypes>& hitPattern)
const
override
final
;
69
70
virtual
void
analyse
(
71
const
EventContext& ctx,
72
const
Trk::Track
& track,
73
const
Trk::CompetingRIOsOnTrack
* crot,
74
const
Trk::TrackStateOnSurface
* tsos,
75
std::vector<int>& information,
76
std::bitset<Trk::numberOfDetectorTypes>& hitPattern)
const
override
final
;
79
80
virtual
void
addDetailedTrackSummary
(
const
EventContext& ctx,
81
const
Trk::Track
&,
82
Trk::TrackSummary
&)
const
override
final
;
83
93
virtual
void
searchForHoles
(
94
const
Trk::Track
& track,
95
std::vector<int>& information,
96
const
Trk::ParticleHypothesis
partHyp =
Trk::pion
)
const
override
final
;
97
98
99
private
:
100
102
const
PixelID
*
m_pixelId
{
nullptr
};
103
105
const
SCT_ID
*
m_sctId
{
nullptr
};
106
108
const
TRT_ID
*
m_trtId
{
nullptr
};
109
110
ToolHandle<Trk::ITrackHoleSearchTool>
m_holeSearchTool
{
111
this
,
112
"HoleSearch"
,
113
"InDet::InDetTrackHoleSearchTool"
114
};
115
116
ToolHandle<ITRT_StrawStatusSummaryTool>
m_TRTStrawSummaryTool
{
117
this
,
118
"TRTStrawSummarySvc"
,
119
"TRT_StrawStatusSummaryTool"
,
120
"The ConditionsSummaryTool"
121
};
122
123
BooleanProperty
m_usePixel
{
this
,
"usePixel"
,
true
};
124
BooleanProperty
m_useSCT
{
this
,
"useSCT"
,
true
};
125
BooleanProperty
m_useTRT
{
this
,
"useTRT"
,
true
};
126
};
127
128
}
129
#endif
AthAlgTool.h
ClusterSplitProbabilityContainer.h
IPixelToTPIDTool.h
ITRT_StrawStatusSummaryTool.h
abstract interface to TRT straw status constants
ITrackHoleSearchTool.h
ITrackSummaryHelperTool.h
PixelCluster.h
ParticleHypothesis.h
TrackSummary.h
InDet::InDetTrackSummaryHelperTool::finalize
virtual StatusCode finalize() override
Definition
InDetTrackSummaryHelperTool.cxx:246
InDet::InDetTrackSummaryHelperTool::addDetailedTrackSummary
virtual void addDetailedTrackSummary(const EventContext &ctx, const Trk::Track &, Trk::TrackSummary &) const override final
Definition
InDetTrackSummaryHelperTool.cxx:238
InDet::InDetTrackSummaryHelperTool::m_TRTStrawSummaryTool
ToolHandle< ITRT_StrawStatusSummaryTool > m_TRTStrawSummaryTool
Definition
InDetTrackSummaryHelperTool.h:116
InDet::InDetTrackSummaryHelperTool::initialize
virtual StatusCode initialize() override
standard AlgTool methods: initialise retrieves Tools, finalize does nothing
Definition
InDetTrackSummaryHelperTool.cxx:35
InDet::InDetTrackSummaryHelperTool::m_sctId
const SCT_ID * m_sctId
ID SCT helper.
Definition
InDetTrackSummaryHelperTool.h:105
InDet::InDetTrackSummaryHelperTool::m_usePixel
BooleanProperty m_usePixel
Definition
InDetTrackSummaryHelperTool.h:123
InDet::InDetTrackSummaryHelperTool::analyse
virtual void analyse(const EventContext &ctx, const Trk::Track &track, const Trk::RIO_OnTrack *rot, const Trk::TrackStateOnSurface *tsos, std::vector< int > &information, std::bitset< Trk::numberOfDetectorTypes > &hitPattern) const override final
Input : rot, tsos Output: Changes in information and hitPattern Input quantities rot,...
Definition
InDetTrackSummaryHelperTool.cxx:67
InDet::InDetTrackSummaryHelperTool::m_holeSearchTool
ToolHandle< Trk::ITrackHoleSearchTool > m_holeSearchTool
Definition
InDetTrackSummaryHelperTool.h:110
InDet::InDetTrackSummaryHelperTool::InDetTrackSummaryHelperTool
InDetTrackSummaryHelperTool(const std::string &, const std::string &, const IInterface *)
constructor
Definition
InDetTrackSummaryHelperTool.cxx:25
InDet::InDetTrackSummaryHelperTool::searchForHoles
virtual void searchForHoles(const Trk::Track &track, std::vector< int > &information, const Trk::ParticleHypothesis partHyp=Trk::pion) const override final
Input : track, partHyp Output: Changes in information This method first calls the method getListOfHit...
Definition
InDetTrackSummaryHelperTool.cxx:226
InDet::InDetTrackSummaryHelperTool::m_trtId
const TRT_ID * m_trtId
ID TRT helper.
Definition
InDetTrackSummaryHelperTool.h:108
InDet::InDetTrackSummaryHelperTool::m_pixelId
const PixelID * m_pixelId
ID pixel helper.
Definition
InDetTrackSummaryHelperTool.h:102
InDet::InDetTrackSummaryHelperTool::~InDetTrackSummaryHelperTool
virtual ~InDetTrackSummaryHelperTool()=default
destructor
InDet::InDetTrackSummaryHelperTool::m_useSCT
BooleanProperty m_useSCT
Definition
InDetTrackSummaryHelperTool.h:124
InDet::InDetTrackSummaryHelperTool::m_useTRT
BooleanProperty m_useTRT
Definition
InDetTrackSummaryHelperTool.h:125
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
TRT_ID
This is an Identifier helper class for the TRT subdetector.
Definition
TRT_ID.h:84
Trk::CompetingRIOsOnTrack
Base class for all CompetingRIOsOnTack implementations, extends the common MeasurementBase.
Definition
CompetingRIOsOnTrack.h:64
Trk::RIO_OnTrack
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
Definition
RIO_OnTrack.h:70
Trk::TrackStateOnSurface
represents the track state (measurement, material, fit parameters and quality) at a surface.
Definition
TrackStateOnSurface.h:71
Trk::TrackSummary
A summary of the information contained by a track.
Definition
Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:287
Trk::Track
The ATLAS Track class.
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::ParticleHypothesis
ParticleHypothesis
Enumeration for Particle hypothesis respecting the interaction with material.
Definition
ParticleHypothesis.h:28
Trk::pion
@ pion
Definition
ParticleHypothesis.h:32
Generated on
for ATLAS Offline Software by
1.17.0