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

#include <DiscLayer.h>

Collaboration diagram for Trk::DiscLayerSorterZ:

Public Member Functions

bool operator() (const DiscLayer *one, const DiscLayer *two) const
 

Detailed Description

simple helper function to allow sorting of DiscLayers in z

Definition at line 152 of file DiscLayer.h.

Member Function Documentation

◆ operator()()

bool Trk::DiscLayerSorterZ::operator() ( const DiscLayer one,
const DiscLayer two 
) const
inline

Definition at line 154 of file DiscLayer.h.

154  {
155  return (one->center().z() < two->center().z());
156  }

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