20 return difPos.dot(pars.momentum().unit());
31 return operator()(hit1->parameters(), hit2->parameters());
60 const double absZ1 = std::abs(surf1.
center().z());
61 const double absZ2 = std::abs(surf2.
center().z());
62 if (std::abs(absZ1 - absZ2) > std::numeric_limits<float>::epsilon()) {
return absZ1 < absZ2; }
64 const double perp1 = surf1.
center().perp2();
66 if (std::abs(perp1 -
perp2) > std::numeric_limits<float>::epsilon()) {
return perp1 <
perp2; }
72 if (st1 != st2)
return st1 < st2;
79 if (type1 != type2)
return type1 > type2;
107 return parsSorter(
m_ref, meas1) < parsSorter(
m_ref, meas2);
111 return operator()(hit1->parameters(),hit2->parameters());
121 return parsSorter(
m_ref, pars1) < parsSorter(
m_ref, pars2);
Scalar perp2() const
perp2 method - perpendicular length squared
double operator()(const Trk::TrackParameters &pars1, const Trk::TrackParameters &pars2) const
double operator()(const Trk::TrackParameters &pars, const Trk::MeasurementBase &meas) const
double operator()(const MuPatHitPtr &hit1, const MuPatHitPtr &hit2) const
double operator()(const MuPatHit *hit1, const MuPatHit *hit2) const
double operator()(const Trk::TrackParameters &pars, const Amg::Vector3D &pos) const
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
double pull() const
returns the pull of the measurement
const Trk::TrackParameters & parameters() const
returns a reference to the TrackParameters
const Trk::MeasurementBase & measurement() const
returns a reference to the selected measurement
const Info & info() const
returns a reference to the hit info
bool operator()(const Trk::MeasurementBase *meas1, const Trk::MeasurementBase *meas2) const
SortByDirectionMuPatHits(const Trk::TrackParameters &refPars)
bool operator()(const MuPatHit *hit1, const MuPatHit *hit2) const
const Trk::TrackParameters & m_ref
bool operator()(const Trk::TrackParameters *pars1, const Trk::TrackParameters *pars2) const
bool operator()(const MuPatHitPtr &hit1, const MuPatHitPtr &hit2) const
bool operator()(const Trk::TrackParameters &pars1, const Trk::TrackParameters &pars2) const
SortByIPMuPatHits(const IMuonIdHelperSvc *idh)
const IMuonIdHelperSvc * m_idh
DistanceAlongParameters distanceCalculator;.
bool operator()(const MuPatHit *hit1, const MuPatHit *hit2) const
bool operator()(const MuPatHitPtr &hit1, const MuPatHitPtr &hit2) const
Sort the mu pat hits using their associated surfaces.
This class is the pure abstract base class for all fittable tracking measurements.
virtual const Surface & associatedSurface() const =0
Interface method to get the associated Surface.
virtual const Amg::Vector3D & globalPosition() const =0
Interface method to get the global Position.
const Amg::Vector3D & position() const
Access method for the position.
Abstract Base Class for tracking surfaces.
const Amg::Vector3D & center() const
Returns the center position of the Surface.
int channelType(const Identifier &id) const
Eigen::Matrix< double, 3, 1 > Vector3D
StIndex
enum to classify the different station layers in the muon spectrometer
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
std::shared_ptr< MuPatHit > MuPatHitPtr
ParametersBase< TrackParametersDim, Charged > TrackParameters
Identifier id
Identifier of the measurement. Is invalid in cases of pseudo measurements.
bool isEndcap
Hit in the endcap?
MuonStationIndex::StIndex stIdx
Station index of the Identifier BI.
bool measuresPhi
Does the hit constrain phi?
Type type
Measurement type as defined above.
Status status
Flag whether the hit is on Tack or not.