CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CylinderBuilderFromDet.h
Go to the documentation of this file.
1 #ifndef DetLayers_CylinderBuilderFromDet_h
2 #define DetLayers_CylinderBuilderFromDet_h
3 
16 
17 #include <vector>
18 #include <limits>
19 
21 public:
22  typedef GeomDet Det;
26 
28  rmin(std::numeric_limits<float>::max()),
29  rmax(0.0),
30  zmin(std::numeric_limits<float>::max()),
31  zmax(std::numeric_limits<float>::min()){}
32 
33  BoundCylinder* operator()( std::vector<const Det*>::const_iterator first,
34  std::vector<const Det*>::const_iterator last) const;
35 
36  void operator()(const Det& det);
37 
38  BoundCylinder* build() const;
39 
40 private:
41  float rmin;
42  float rmax;
43  float zmin;
44  float zmax;
45 
46 };
47 
48 #endif
BoundCylinder * operator()(std::vector< const Det * >::const_iterator first, std::vector< const Det * >::const_iterator last) const
#define min(a, b)
Definition: mlp_lapack.h:161
PositionType::BasicVectorType Vector
const T & max(const T &a, const T &b)
Surface::RotationType RotationType
BoundCylinder * build() const
bool first
Definition: L1TdeRCT.cc:94
Surface::PositionType PositionType