4#ifndef MUONTRACKEVENT_TRACKINGHELPERS_H
5#define MUONTRACKEVENT_TRACKINGHELPERS_H
21 bool skipOutlier =
true);
42 Acts::GeometryIdentifier
volumeId(
const Acts::Surface& surface);
Placeholder for what will later be the muon segment EDM representation.
Class providing the definition of the 4-vector interface.
This header ties the generic definitions in this package.
std::string printID(const xAOD::MuonSegment &seg)
Print the chamber ID of a segment, e.g.
const xAOD::UncalibratedMeasurement * getMeasurement(const xAOD::MuonSegment &segment, const std::size_t n)
Returns the n-th uncalibrated measurement.
std::size_t nMeasurements(const xAOD::MuonSegment &segment)
Returns the number of associated Uncalibrated measurements.
std::vector< const xAOD::UncalibratedMeasurement * > collectMeasurements(const xAOD::MuonSegment &segment, bool skipOutlier=true)
Helper function to extract the measurements from the segment.
Acts::GeometryIdentifier volumeId(const Acts::Surface &surface)
Returns the identifier of the volume in which the surface is embedded.
bool isOutlierMeasurement(const xAOD::MuonSegment &segment, const std::size_t n)
Returns whether the n-the uncalibrated measurement is an outlier.
const Segment * detailedSegment(const xAOD::MuonSegment &seg)
Helper function to navigate from the xAOD::MuonSegment to the MuonR4::Segment.
MuonSegment_v1 MuonSegment
Reference the current persistent version:
UncalibratedMeasurement_v1 UncalibratedMeasurement
Define the version of the uncalibrated measurement class.
Auxiliary class to sort the particles by momentum First sorting is by pt, then eta and finally by phi...
bool operator()(const xAOD::IParticle *a, const xAOD::IParticle *b) const