![]() |
ATLAS Offline Software
|
Namespace for all helper functions. More...
Functions | |
| const Trk::Perigee * | getPerigeeParameters (const Trk::Track *track, DataVect &pt, DataVect &d0, DataVect &z0, DataVect &phi0, DataVect &cotTheta, DataVect &covMatrix) |
| Obtain the perigee parameters for a given track, if available, and fill them in the corresponding data vectors. More... | |
| std::vector< const Trk::TrackStateOnSurface * > | getTrackStateOnSurfaces (const Trk::Track *track, const Trk::Perigee *perigee, bool doHitsSorting) |
| Get a list of track-State on Surfaces for measurement and outlier hits, sorted using the perigee comparison functions. More... | |
| void | getPolylineFromHits (const std::vector< const Trk::TrackStateOnSurface * > &TSoSVec, DataVect &polylineX, DataVect &polylineY, DataVect &polylineZ, DataVect &numPolyline) |
| Get polyline hits if available. More... | |
| const Trk::RIO_OnTrack * | getBaseInfoFromHit (const Trk::TrackStateOnSurface *tsos, const AtlasDetectorID *idHelper, DataVect &isOutlier, DataVect &hits, DataVect &driftSign, DataVect &tsosDetType) |
| Retrieve all the basic hit information from the Trk::TrackStateOnSurface. More... | |
| void | getResidualPullFromHit (const Trk::TrackStateOnSurface *tsos, const Trk::RIO_OnTrack *rot, const ToolHandle< Trk::IResidualPullCalculator > &residualPullCalculator, DataVect &tsosResLoc1, DataVect &tsosResLoc2, DataVect &tsosPullLoc1, DataVect &tsosPullLoc2) |
| Get the residual pull information from the Trk::TrackStateOnSurface hit. More... | |
| void | getTruthFromTrack (const Trk::Track *track, const TrackCollection *trackCollection, SG::ReadHandle< TrackTruthCollection > &truthCollection, DataVect &barcode) |
| Get the barcode of the associated truth track. More... | |
Namespace for all helper functions.
| const Trk::RIO_OnTrack* JiveXML::TrackRetrieverHelpers::getBaseInfoFromHit | ( | const Trk::TrackStateOnSurface * | tsos, |
| const AtlasDetectorID * | idHelper, | ||
| DataVect & | isOutlier, | ||
| DataVect & | hits, | ||
| DataVect & | driftSign, | ||
| DataVect & | tsosDetType | ||
| ) |
Retrieve all the basic hit information from the Trk::TrackStateOnSurface.
Definition at line 181 of file TrackRetriever.cxx.
| const Trk::Perigee* JiveXML::TrackRetrieverHelpers::getPerigeeParameters | ( | const Trk::Track * | track, |
| DataVect & | pt, | ||
| DataVect & | d0, | ||
| DataVect & | z0, | ||
| DataVect & | phi0, | ||
| DataVect & | cotTheta, | ||
| DataVect & | covMatrix | ||
| ) |
Obtain the perigee parameters for a given track, if available, and fill them in the corresponding data vectors.
Perigee parameters are written out in the old format using \( \cot\theta \) and \( q/p_T \)
Get perigee parameters in old format ( \( d_0 \), \( z_0 \), \( \phi \), \( \cot\theta \), \( q/p_T \)), whereas tracking uses ( \( d_0 \), \( z_0 \), \( \phi \), \( \theta \), q/p), therefore a transformation of the covariance matrix is needed
get transformed covariance matrix
Definition at line 48 of file TrackRetriever.cxx.
| void JiveXML::TrackRetrieverHelpers::getPolylineFromHits | ( | const std::vector< const Trk::TrackStateOnSurface * > & | TSoSVec, |
| DataVect & | polylineX, | ||
| DataVect & | polylineY, | ||
| DataVect & | polylineZ, | ||
| DataVect & | numPolyline | ||
| ) |
Get polyline hits if available.
Polyline tracks that have less than 2 points are not useful - skip
Definition at line 155 of file TrackRetriever.cxx.
| void JiveXML::TrackRetrieverHelpers::getResidualPullFromHit | ( | const Trk::TrackStateOnSurface * | tsos, |
| const Trk::RIO_OnTrack * | rot, | ||
| const ToolHandle< Trk::IResidualPullCalculator > & | residualPullCalculator, | ||
| DataVect & | tsosResLoc1, | ||
| DataVect & | tsosResLoc2, | ||
| DataVect & | tsosPullLoc1, | ||
| DataVect & | tsosPullLoc2 | ||
| ) |
Get the residual pull information from the Trk::TrackStateOnSurface hit.
Using track residual tool: ResidualPullCalculator -excerpt from Tracking/TrkValidation/TrkValTools/src/BasicValidationNtupleTool.cxx
Definition at line 250 of file TrackRetriever.cxx.
| std::vector<const Trk::TrackStateOnSurface*> JiveXML::TrackRetrieverHelpers::getTrackStateOnSurfaces | ( | const Trk::Track * | track, |
| const Trk::Perigee * | perigee, | ||
| bool | doHitsSorting | ||
| ) |
Get a list of track-State on Surfaces for measurement and outlier hits, sorted using the perigee comparison functions.
Definition at line 118 of file TrackRetriever.cxx.
| void JiveXML::TrackRetrieverHelpers::getTruthFromTrack | ( | const Trk::Track * | track, |
| const TrackCollection * | trackCollection, | ||
| SG::ReadHandle< TrackTruthCollection > & | truthCollection, | ||
| DataVect & | barcode | ||
| ) |
Get the barcode of the associated truth track.
Definition at line 299 of file TrackRetriever.cxx.
1.8.18