15#include "Identifier/Identifier.h"
38 if (detStore()->retrieve(
m_pixelId,
"PixelID").isFailure()) {
40 return StatusCode::FAILURE;
45 if (detStore()->retrieve(
m_sctId,
"SCT_ID").isFailure()) {
47 return StatusCode::FAILURE;
52 if (detStore()->retrieve(
m_trtId,
"TRT_ID").isFailure()) {
54 return StatusCode::FAILURE;
60 DisableTool{not m_useTRT or m_TRTStrawSummaryTool.empty()}));
62 return StatusCode::SUCCESS;
68 const EventContext& ctx,
72 std::vector<int>& information,
73 std::bitset<Trk::numberOfDetectorTypes>& hitPattern)
const
80 and (not isOutlier or ispatterntrack)) {
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))
110 hitPattern.set(offset);
114 if (not hitPattern.test(offset))
116 hitPattern.set(offset);
121 and (not isOutlier or ispatterntrack)) {
132 ATH_MSG_ERROR(
"Could not cast SCT RoT to SCT_ClusterOnTrack!");
138 if ((
m_sctId->is_barrel(
id))) {
140 hitPattern.set(offset +
m_sctId->layer_disk(
id));
143 hitPattern.set(offset +
m_sctId->layer_disk(
id));
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 ");
195 if (not isArgonStraw and not isKryptonStraw)
209 const EventContext& ctx,
213 std::vector<int>& information,
214 std::bitset<Trk::numberOfDetectorTypes>& hitPattern)
const
228 std::vector<int>& information,
231 ATH_MSG_DEBUG(
"Do hole search within HELPER, PLEASE FIX THIS AFTER 16.0.X");
248 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
This is an Identifier helper class for the TRT subdetector.
Specific class to represent the pixel measurements.
Specific class to represent the SCT measurements.
bool isBroadCluster() const
Represents 'corrected' measurements from the TRT (for example, corrected for wire sag).
bool highLevel() const
returns true if the high level threshold was passed
Base class for all CompetingRIOsOnTack implementations, extends the common MeasurementBase.
unsigned int indexOfMaxAssignProb() const
Index of the ROT with the highest assignment probability.
virtual const RIO_OnTrack & rioOnTrack(unsigned int) const =0
returns the RIO_OnTrack (also known as ROT) objects depending on the integer.
const Amg::MatrixX & localCovariance() const
Interface method to get the localError.
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
Identifier identify() const
return the identifier -extends MeasurementBase
virtual bool rioType(RIO_OnTrackType::Type type) const =0
Method checking the Rio On Track type.
@ Unknown
Track fitter not defined.
represents the track state (measurement, material, fit parameters and quality) at a surface.
bool type(const TrackStateOnSurfaceType type) const
Use this method to find out if the TSoS is of a certain type: i.e.
@ Outlier
This TSoS contains an outlier, that is, it contains a MeasurementBase/RIO_OnTrack which was not used ...
A summary of the information contained by a track.
ParticleHypothesis
Enumeration for Particle hypothesis respecting the interaction with material.
@ sctBarrel0
four sct barrel layers
@ sctEndCap0
and 9 sct discs (on each side)
@ pixelEndCap0
three pixel discs (on each side)
@ numberOfContribPixelLayers
number of contributing layers of the pixel detector
@ numberOfSCTHits
number of SCT holes
@ numberOfGangedPixels
number of Ganged Pixels flagged as fakes
@ numberOfPixelHits
number of pixel layers on track with absence of hits
@ numberOfTRTHighThresholdOutliers
number of dead TRT straws crossed
@ numberOfTRTOutliers
number of TRT holes
@ numberOfNextToInnermostPixelLayerHits
these are the pixel hits, including the b-layer
@ numberOfTRTHits
number of TRT outliers
@ numberOfInnermostPixelLayerHits
these are the hits in the 1st pixel layer
@ numberOfTRTHighThresholdHits
total number of TRT hits which pass the high threshold
@ numberOfGangedFlaggedFakes
number of dead pixel sensors crossed
@ numberOfTRTTubeHits
number of TRT hits on track in straws with xenon
@ numberOfPixelSpoiltHits
number of DBM Hits
@ numberOfTRTHighThresholdHitsTotal
number of TRT hits used for dE/dx computation