00001 #ifndef TkNavigation_DiskLessInnerRadius_H 00002 #define TkNavigation_DiskLessInnerRadius_H 00003 00004 #include "TrackingTools/DetLayers/interface/ForwardDetLayer.h" 00005 #include "DataFormats/GeometrySurface/interface/BoundDisk.h" 00006 #include <functional> 00007 00011 class DiskLessInnerRadius : 00012 public std::binary_function<const ForwardDetLayer*,const ForwardDetLayer*,bool> 00013 { 00014 public: 00015 bool operator()( const ForwardDetLayer* a, const ForwardDetLayer* b) { 00016 return a->specificSurface().innerRadius() < 00017 b->specificSurface().innerRadius(); 00018 } 00019 }; 00020 00021 #endif // DiskLessInnerRadius_H