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 
14 
15 #include <vector>
16 #include <limits>
17 
19 public:
20  typedef GeomDet Det;
24 
26  rmin(std::numeric_limits<float>::max()),
27  rmax(0.0),
28  zmin(std::numeric_limits<float>::max()),
29  zmax(std::numeric_limits<float>::min()){}
30 
31  BoundCylinder* operator()( std::vector<const Det*>::const_iterator first,
32  std::vector<const Det*>::const_iterator last) const;
33 
34  void operator()(const Det& det);
35 
36  BoundCylinder* build() const;
37 
38 private:
39  float rmin;
40  float rmax;
41  float zmin;
42  float zmax;
43 
44 };
45 
46 #endif
BoundCylinder * operator()(std::vector< const Det * >::const_iterator first, std::vector< const Det * >::const_iterator last) const
PositionType::BasicVectorType Vector
const T & max(const T &a, const T &b)
Surface::RotationType RotationType
BoundCylinder * build() const
bool first
Definition: L1TdeRCT.cc:79
Surface::PositionType PositionType