CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DetBelowR.h
Go to the documentation of this file.
1 #ifndef DetLayers_DetBelowR_H
2 #define DetLayers_DetBelowR_H
3 
5 
9 
10 class DetBelowR {
11 public:
12  DetBelowR( double v) : val(v) {}
13  bool operator()( const Det* a) const { return a->position().perp() < val;}
14 private:
15  double val;
16 };
17 
18 #endif
T perp() const
Definition: PV3DBase.h:69
DetBelowR(double v)
Definition: DetBelowR.h:12
GeometricSearchDet Det
Definition: DetBelowR.h:8
virtual const Surface::PositionType & position() const
Returns position of the surface.
double a
Definition: hdecay.h:119
bool operator()(const Det *a) const
Definition: DetBelowR.h:13
double val
Definition: DetBelowR.h:15