ATLAS Offline Software
Public Member Functions | List of all members
Trk::PlaneLayerSorterX Class Reference

#include <PlaneLayer.h>

Collaboration diagram for Trk::PlaneLayerSorterX:

Public Member Functions

 PlaneLayerSorterX ()
 Default Constructor. More...
 
bool operator() (const PlaneLayer *one, const PlaneLayer *two) const
 

Detailed Description

Functor for PlaneLayer X-Sorting

Definition at line 116 of file PlaneLayer.h.

Constructor & Destructor Documentation

◆ PlaneLayerSorterX()

Trk::PlaneLayerSorterX::PlaneLayerSorterX ( )
inline

Default Constructor.

Definition at line 119 of file PlaneLayer.h.

119 {}

Member Function Documentation

◆ operator()()

bool Trk::PlaneLayerSorterX::operator() ( const PlaneLayer one,
const PlaneLayer two 
) const
inline

Definition at line 121 of file PlaneLayer.h.

121  {
122  return (one->center().x() < two->center().x());
123  }

The documentation for this class was generated from the following file:
Trk::one
@ one
Definition: TrkDetDescr/TrkSurfaces/TrkSurfaces/RealQuadraticEquation.h:22
Trk::two
@ two
Definition: TrkDetDescr/TrkSurfaces/TrkSurfaces/RealQuadraticEquation.h:23