CMS 3D CMS Logo

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
DetBelowR(double v)
Definition: DetBelowR.h:12
GeometricSearchDet Det
Definition: DetBelowR.h:8
bool operator()(const Det *a) const
Definition: DetBelowR.h:13
double a
Definition: hdecay.h:119
double val
Definition: DetBelowR.h:15