ATLAS Offline Software
Loading...
Searching...
No Matches
TrackingHelpers.h File Reference
Include dependency graph for TrackingHelpers.h:

Go to the source code of this file.

Classes

struct  MuonR4::ParticleSorter
 Auxiliary class to sort the particles by momentum First sorting is by pt, then eta and finally by phi. More...
struct  MuonR4::SegmentQualitySorter
 Auxiliary class to rank segments by quality: more precision hits first, then more phi layers, more trigger eta layers, lower chi2/nDoF (NaN last) and finally the container index for a stable order. More...

Namespaces

namespace  MuonR4
 This header ties the generic definitions in this package.

Functions

const Segment * MuonR4::detailedSegment (const xAOD::MuonSegment &seg)
 Helper function to navigate from the xAOD::MuonSegment to the MuonR4::Segment.
std::vector< const xAOD::UncalibratedMeasurement * > MuonR4::collectMeasurements (const xAOD::MuonSegment &segment, bool skipOutlier=true)
 Helper function to extract the measurements from the segment.
std::string MuonR4::printID (const xAOD::MuonSegment &seg)
 Print the chamber ID of a segment, e.g.
std::string MuonR4::printSegment (const xAOD::MuonSegment &seg)
 Print the details of a segment.
std::size_t MuonR4::nMeasurements (const xAOD::MuonSegment &segment)
 Returns the number of associated Uncalibrated measurements.
const xAOD::UncalibratedMeasurement * MuonR4::getMeasurement (const xAOD::MuonSegment &segment, const std::size_t n)
 Returns the n-th uncalibrated measurement.
bool MuonR4::isOutlierMeasurement (const xAOD::MuonSegment &segment, const std::size_t n)
 Returns whether the n-the uncalibrated measurement is an outlier.
Amg::Vector3D MuonR4::atFirstSurface (const Acts::GeometryContext &tgContext, const xAOD::MuonSegment &segment, const bool skipOutlier=true)
 Expresses the segment position on the surface of the first measurement.
Amg::Vector3D MuonR4::atLastSurface (const Acts::GeometryContext &tgContext, const xAOD::MuonSegment &segment, const bool skipOutlier=true)
 Expresses the segment position on the surface of the last measurement.
const xAOD::UncalibratedMeasurement * MuonR4::firstMeasurement (const xAOD::MuonSegment &segment, const bool skipOutlier=true)
 Retrieves the first measurement associated with the segment.
const xAOD::UncalibratedMeasurement * MuonR4::lastMeasurement (const xAOD::MuonSegment &segment, const bool skipOutlier=true)
 Retrieves the last measurement associated with the segment.
Acts::GeometryIdentifier MuonR4::volumeId (const Acts::Surface &surface)
 Returns the identifier of the volume in which the surface is embedded.