|
ATLAS Offline Software
|
#include <InDetTrackSummaryHelperTool.h>
|
| InDetTrackSummaryHelperTool (const std::string &, const std::string &, const IInterface *) |
| constructor More...
|
|
virtual | ~InDetTrackSummaryHelperTool ()=default |
| destructor More...
|
|
virtual StatusCode | initialize () override |
| standard AlgTool methods: initialise retrieves Tools, finalize does nothing More...
|
|
virtual StatusCode | finalize () override |
|
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 |
|
virtual void | analyse (const EventContext &ctx, const Trk::Track &track, const Trk::CompetingRIOsOnTrack *crot, const Trk::TrackStateOnSurface *tsos, std::vector< int > &information, std::bitset< Trk::numberOfDetectorTypes > &hitPattern) const override final |
|
virtual void | addDetailedTrackSummary (const EventContext &ctx, const Trk::Track &, Trk::TrackSummary &) const override final |
|
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 getListOfHits to isolate the relevant hits on the track before calling the method performHoleSearchStepWise which then performs the actual hole search. More...
|
|
◆ InDetTrackSummaryHelperTool()
InDet::InDetTrackSummaryHelperTool::InDetTrackSummaryHelperTool |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ ~InDetTrackSummaryHelperTool()
virtual InDet::InDetTrackSummaryHelperTool::~InDetTrackSummaryHelperTool |
( |
| ) |
|
|
virtualdefault |
◆ addDetailedTrackSummary()
◆ analyse() [1/2]
◆ analyse() [2/2]
Definition at line 67 of file InDetTrackSummaryHelperTool.cxx.
80 and (not isOutlier or ispatterntrack)) {
91 const PixelClusterOnTrack*
pix =
nullptr;
93 pix =
static_cast<const PixelClusterOnTrack*
>(rot);
96 ATH_MSG_ERROR(
"Could not cast pixel RoT to PixelClusterOnTrack!");
98 if (
pix->isBroadCluster())
100 if (
pix->hasClusterAmbiguity()) {
108 if (not hitPattern.test(
offset))
114 if (not hitPattern.test(
offset))
121 and (not isOutlier or ispatterntrack)) {
132 ATH_MSG_ERROR(
"Could not cast SCT RoT to SCT_ClusterOnTrack!");
134 if (sctclus->isBroadCluster())
147 bool isArgonStraw =
false;
148 bool isKryptonStraw =
false;
158 isKryptonStraw =
true;
161 if (not isArgonStraw and not isKryptonStraw) {
165 if (isOutlier and not ispatterntrack) {
174 if (not trtDriftCircle) {
175 ATH_MSG_ERROR(
"Could not cast TRT RoT to TRT_DriftCircleOnTracknot ");
177 if (trtDriftCircle->highLevel() and not isArgonStraw and
191 if (not trtDriftCircle) {
192 ATH_MSG_ERROR(
"Could not cast TRT RoT to TRT_DriftCircleOnTracknot ");
194 if (trtDriftCircle->highLevel()) {
195 if (not isArgonStraw and not isKryptonStraw)
◆ finalize()
StatusCode InDet::InDetTrackSummaryHelperTool::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode InDet::InDetTrackSummaryHelperTool::initialize |
( |
| ) |
|
|
overridevirtual |
standard AlgTool methods: initialise retrieves Tools, finalize does nothing
Definition at line 35 of file InDetTrackSummaryHelperTool.cxx.
40 return StatusCode::FAILURE;
47 return StatusCode::FAILURE;
54 return StatusCode::FAILURE;
60 DisableTool{not m_useTRT or m_TRTStrawSummaryTool.empty()}));
62 return StatusCode::SUCCESS;
◆ searchForHoles()
Input : track, partHyp Output: Changes in information This method first calls the method getListOfHits to isolate the relevant hits on the track before calling the method performHoleSearchStepWise which then performs the actual hole search.
Additionally the Layers of the Pixel Detector which contribute measurements to the track are counted If problems occur, the information counters for Holes and PixelLayers are reset to -1 flagging them as not set.
Definition at line 226 of file InDetTrackSummaryHelperTool.cxx.
231 ATH_MSG_DEBUG(
"Do hole search within HELPER, PLEASE FIX THIS AFTER 16.0.X");
◆ m_holeSearchTool
◆ m_pixelId
const PixelID* InDet::InDetTrackSummaryHelperTool::m_pixelId { nullptr } |
|
private |
◆ m_sctId
const SCT_ID* InDet::InDetTrackSummaryHelperTool::m_sctId { nullptr } |
|
private |
◆ m_trtId
const TRT_ID* InDet::InDetTrackSummaryHelperTool::m_trtId { nullptr } |
|
private |
◆ m_TRTStrawSummaryTool
Initial value:{
this,
"TRTStrawSummarySvc",
"TRT_StrawStatusSummaryTool",
"The ConditionsSummaryTool"
}
Definition at line 118 of file InDetTrackSummaryHelperTool.h.
◆ m_usePixel
BooleanProperty InDet::InDetTrackSummaryHelperTool::m_usePixel { this, "usePixel", true } |
|
private |
◆ m_useSCT
BooleanProperty InDet::InDetTrackSummaryHelperTool::m_useSCT { this, "useSCT", true } |
|
private |
◆ m_useTRT
BooleanProperty InDet::InDetTrackSummaryHelperTool::m_useTRT { this, "useTRT", true } |
|
private |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
bool is_pixel(Identifier id) const
@ numberOfPixelHits
number of pixel layers on track with absence of hits
@ numberOfContribPixelLayers
number of contributing layers of the pixel detector
@ numberOfTRTHighThresholdHits
total number of TRT hits which pass the high threshold
@ numberOfTRTHighThresholdOutliers
number of dead TRT straws crossed
@ numberOfInnermostPixelLayerHits
these are the hits in the 1st pixel layer
bool is_sct(Identifier id) const
@ numberOfPixelSpoiltHits
number of DBM Hits
@ sctEndCap0
and 9 sct discs (on each side)
@ sctBarrel0
four sct barrel layers
@ numberOfNextToInnermostPixelLayerHits
these are the pixel hits, including the b-layer
virtual bool rioType(RIO_OnTrackType::Type type) const =0
Method checking the Rio On Track type.
bool is_trt(Identifier id) const
@ Outlier
This TSoS contains an outlier, that is, it contains a MeasurementBase/RIO_OnTrack which was not used ...
@ pixelEndCap0
three pixel discs (on each side)
bool type(const TrackStateOnSurfaceType type) const
Use this method to find out if the TSoS is of a certain type: i.e.
virtual const RIO_OnTrack & rioOnTrack(unsigned int) const =0
returns the RIO_OnTrack (also known as ROT) objects depending on the integer.
bool is_barrel(const Identifier &id) const
Test for barrel - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for g...
@ numberOfTRTTubeHits
number of TRT hits on track in straws with xenon
@ numberOfTRTOutliers
number of TRT holes
@ numberOfSCTHits
number of SCT holes
const Amg::MatrixX & localCovariance() const
Interface method to get the localError.
@ numberOfGangedPixels
number of Ganged Pixels flagged as fakes
int layer_disk(const Identifier &id) const
@ numberOfTRTHits
number of TRT outliers
int layer_disk(const Identifier &id) const
Identifier identify() const
return the identifier -extends MeasurementBase
@ numberOfGangedFlaggedFakes
number of dead pixel sensors crossed
@ numberOfTRTHighThresholdHitsTotal
number of TRT hits used for dE/dx computation
unsigned int indexOfMaxAssignProb() const
Index of the ROT with the highest assignment probability.
bool is_barrel(const Identifier &id) const
Test for barrel - WARNING: id MUST be sct id, otherwise answer is not accurate. Use SiliconID for gen...
@ Unknown
Track fitter not defined.