45 declareInterface<ITrackValidationNtupleTool>(
this);
58 return StatusCode::SUCCESS;
67 return StatusCode::SUCCESS;
71 if (!
tree)
return StatusCode::FAILURE;
89 return StatusCode::SUCCESS;
97 const int iterationIndex,
98 const unsigned int fitStatCode ) {
105 msg(MSG::WARNING) <<
"Could not retrieve event info" <<
endmsg;
130 if (track.fitQuality() !=
nullptr) {
131 m_Rec_chi2overNdof = (track.fitQuality()->numberDoF()>0) ? track.fitQuality()->chiSquared()/track.fitQuality()->numberDoF() : 0.0;
132 m_ndof=track.fitQuality()->numberDoF();
138 ATH_MSG_VERBOSE (
"counts # of track states with measurement or outlier");
142 if (trackStates !=
nullptr) {
144 for (
const auto *trackState : *trackStates) {
147 msg(MSG::WARNING) <<
"TrackStateOnSurface == Null" <<
endmsg;
155 msg(MSG::WARNING) <<
"measurementOnTrack == Null for a TrackStateOnSurface "
156 <<
"of type Measurement or Outlier" <<
endmsg;
157 return StatusCode::FAILURE;
163 return StatusCode::SUCCESS;
177 msg(MSG::WARNING) <<
"Could not retrieve event info" <<
endmsg;
197 if (particle.fitQuality() !=
nullptr) {
198 m_Rec_chi2overNdof = (particle.fitQuality()->numberDoF()>0) ? particle.fitQuality()->chiSquared()/particle.fitQuality()->numberDoF() : 0.0;
199 m_ndof=particle.fitQuality()->numberDoF();
207 if (summary==
nullptr)
m_nHits = -1;
220 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
This class is the pure abstract base class for all fittable tracking measurements.
Contains information about the 'fitter' of this track.
@ SiSpacePointsSeedMaker_Cosmic
Entries allowing to distinguish different seed makers.
@ TRTStandalone
TRT Standalone.
@ SiCTBTracking
Tracks from SiCTBTracking.
@ TRTSeededTrackFinder
Tracks from TRT Seeded Track finder.
@ MuidVertexAssociator
MuidVertexAssociator.
@ TrigTRTxK
TrigInDetTracks produced by TrigTRTxK, running at trigger LVL2.
@ MuGirlUnrefitted
Tracks from MuGirl not refitted with iPat.
@ MuidCombined
MuidCombined.
@ MuidStandAlone
MuidStandalone.
@ TrigIDSCAN
TrigInDetTracks produced by TrigIDSCAN, running at trigger LVL2.
@ InDetAmbiguitySolver
Tracks with InDetAmbiguitySolver used.
@ SiSpacePointsSeedMaker_BeamGas
@ SiSpacePointsSeedMaker_HeavyIon
@ STACO
Tracks produced by STACO.
@ SiSpacePointsSeedMaker_LowMomentum
@ FatrasSimulation
Fatras Simulation.
@ Fatras
Track from FATRAS.
@ Muonboy
Tracks from MuonBoy.
@ TrigSiTrack
TrigInDetTracks produced by TrigSiTrack, running at trigger LVL2.
@ MuGirlLowBeta
MuGirlLowBeta.
@ SimpleAmbiguityProcessorTool
Added because of compilation problems.
@ SiSPSeededFinder
Tracks from SiSPSeedFinder.
@ InDetAmbiTrackSelectionTool
Added because of compilation problems.
@ TRTSeededSingleSpTrackFinder
TRTSeededSingleSpTrackFinder.
@ MuTag
Tracks produced by MuTag.
@ TrigTRTLUT
TrigInDetTracks produced by TrigTRTLUT, running at trigger LVL2.
@ xKalmanLegacyCnv
Added because of compilation problems.
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.
@ 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.
DataVector< const Trk::TrackStateOnSurface > TrackStates
@ numberOfSCTHits
number of SCT holes
@ numberOfPixelHits
number of pixel layers on track with absence of hits
@ numberOfTRTHits
number of TRT outliers
@ numberOfMdtHits
number of mdt hits