#include <MuonDetLayerMap.h>
Public Member Functions | |
bool | operator() (BarrelDetLayer *l1, BarrelDetLayer *l2) const |
bool | operator() (ForwardDetLayer *l1, ForwardDetLayer *l2) const |
Sort the of BarrelDetLayers by radius, ForwardDetLayer by |Z|.
Definition at line 23 of file MuonDetLayerMap.h.
bool MuonDetLayerComp::operator() | ( | BarrelDetLayer * | l1, |
BarrelDetLayer * | l2 | ||
) | const [inline] |
Definition at line 24 of file MuonDetLayerMap.h.
References Cylinder::radius(), and BarrelDetLayer::specificSurface().
{ if ( l1->specificSurface().radius() < l2->specificSurface().radius() ) return true; return false; }
bool MuonDetLayerComp::operator() | ( | ForwardDetLayer * | l1, |
ForwardDetLayer * | l2 | ||
) | const [inline] |
Definition at line 29 of file MuonDetLayerMap.h.
References GloballyPositioned< T >::position(), and ForwardDetLayer::surface().