#include <RecoMuon/Navigation/interface/MuonDetLayerMap.h>
Public Member Functions | |
bool | operator() (ForwardDetLayer *l1, ForwardDetLayer *l2) const |
bool | operator() (BarrelDetLayer *l1, BarrelDetLayer *l2) const |
Definition at line 23 of file MuonDetLayerMap.h.
bool MuonDetLayerComp::operator() | ( | ForwardDetLayer * | l1, | |
ForwardDetLayer * | l2 | |||
) | const [inline] |
Definition at line 29 of file MuonDetLayerMap.h.
References GloballyPositioned< T >::position(), and ForwardDetLayer::surface().
00029 { 00030 if ( fabs(l1->surface().position().z()) < fabs(l2->surface().position().z()) ) return true; 00031 return false; 00032 }
bool MuonDetLayerComp::operator() | ( | BarrelDetLayer * | l1, | |
BarrelDetLayer * | l2 | |||
) | const [inline] |
Definition at line 24 of file MuonDetLayerMap.h.
References Cylinder::radius(), and BarrelDetLayer::specificSurface().
00024 { 00025 if ( l1->specificSurface().radius() < l2->specificSurface().radius() ) return true; 00026 return false; 00027 }