ATLAS Offline Software
Public Member Functions | List of all members
Beamspot::TrackPhiSort Class Reference
Collaboration diagram for Beamspot::TrackPhiSort:

Public Member Functions

bool operator() (const Trk::Track *trk1, const Trk::Track *trk2)
 

Detailed Description

Definition at line 56 of file T2VertexBeamSpotTool.cxx.

Member Function Documentation

◆ operator()()

bool Beamspot::TrackPhiSort::operator() ( const Trk::Track trk1,
const Trk::Track trk2 
)
inline

Definition at line 58 of file T2VertexBeamSpotTool.cxx.

59  {
60  float phi1 = trk1->perigeeParameters()->parameters()[Trk::phi];
61  float phi2 = trk2->perigeeParameters()->parameters()[Trk::phi];
62  return std::abs(phi1) > std::abs(phi2);
63  }

The documentation for this class was generated from the following file:
Trk::Track::perigeeParameters
const Perigee * perigeeParameters() const
return Perigee.
Definition: Tracking/TrkEvent/TrkTrack/src/Track.cxx:163
Trk::phi
@ phi
Definition: ParamDefs.h:75