ATLAS Offline Software
Public Member Functions | List of all members
Muon::DistanceAlongParameters Class Reference

#include <SortMuPatHits.h>

Collaboration diagram for Muon::DistanceAlongParameters:

Public Member Functions

double operator() (const Trk::TrackParameters &pars, const Amg::Vector3D &pos) const
 
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
 

Detailed Description

Definition at line 16 of file SortMuPatHits.h.

Member Function Documentation

◆ operator()() [1/5]

double Muon::DistanceAlongParameters::operator() ( const MuPatHit hit1,
const MuPatHit hit2 
) const
inline

Definition at line 33 of file SortMuPatHits.h.

33  {
34  return operator()(hit1->parameters(), hit2->parameters());
35  }

◆ operator()() [2/5]

double Muon::DistanceAlongParameters::operator() ( const MuPatHitPtr hit1,
const MuPatHitPtr hit2 
) const
inline

Definition at line 30 of file SortMuPatHits.h.

30  {
31  return operator()(hit1->parameters(), hit2->parameters());
32  }

◆ operator()() [3/5]

double Muon::DistanceAlongParameters::operator() ( const Trk::TrackParameters pars,
const Amg::Vector3D pos 
) const
inline

Definition at line 18 of file SortMuPatHits.h.

18  {
19  Amg::Vector3D difPos = pos - pars.position();
20  return difPos.dot(pars.momentum().unit());
21  }

◆ operator()() [4/5]

double Muon::DistanceAlongParameters::operator() ( const Trk::TrackParameters pars,
const Trk::MeasurementBase meas 
) const
inline

Definition at line 27 of file SortMuPatHits.h.

27  {
28  return this->operator()(pars, meas.globalPosition());
29  }

◆ operator()() [5/5]

double Muon::DistanceAlongParameters::operator() ( const Trk::TrackParameters pars1,
const Trk::TrackParameters pars2 
) const
inline

Definition at line 23 of file SortMuPatHits.h.

23  {
24  return this->operator()(pars1, pars2.position());
25  }

The documentation for this class was generated from the following file:
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
Trk::ParametersBase::position
const Amg::Vector3D & position() const
Access method for the position.
Muon::DistanceAlongParameters::operator()
double operator()(const Trk::TrackParameters &pars, const Amg::Vector3D &pos) const
Definition: SortMuPatHits.h:18
Trk::MeasurementBase::globalPosition
virtual const Amg::Vector3D & globalPosition() const =0
Interface method to get the global Position.
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18