CMS 3D CMS Logo

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 #endif
CylinderBuilderFromDet::rmax
float rmax
Definition: CylinderBuilderFromDet.h:40
TkRotation< float >
CylinderBuilderFromDet::rmin
float rmin
Definition: CylinderBuilderFromDet.h:39
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
GeomDet
Definition: GeomDet.h:27
CylinderBuilderFromDet::RotationType
Surface::RotationType RotationType
Definition: CylinderBuilderFromDet.h:22
min
T min(T a, T b)
Definition: MathUtil.h:58
CylinderBuilderFromDet::PositionType
Surface::PositionType PositionType
Definition: CylinderBuilderFromDet.h:21
BoundCylinder.h
dqmdumpme.last
last
Definition: dqmdumpme.py:56
CylinderBuilderFromDet
Definition: CylinderBuilderFromDet.h:18
Point3DBase< float, GlobalTag >
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:112
CylinderBuilderFromDet::Det
GeomDet Det
Definition: CylinderBuilderFromDet.h:20
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
CylinderBuilderFromDet::operator()
BoundCylinder * operator()(std::vector< const Det * >::const_iterator first, std::vector< const Det * >::const_iterator last) const
Definition: CylinderBuilderFromDet.cc:8
CylinderBuilderFromDet::zmin
float zmin
Definition: CylinderBuilderFromDet.h:41
CylinderBuilderFromDet::zmax
float zmax
Definition: CylinderBuilderFromDet.h:42
GeomDet.h
std
Definition: JetResolutionObject.h:76
CylinderBuilderFromDet::CylinderBuilderFromDet
CylinderBuilderFromDet()
Definition: CylinderBuilderFromDet.h:25
BoundCylinder
CylinderBuilderFromDet::Vector
PositionType::BasicVectorType Vector
Definition: CylinderBuilderFromDet.h:23
GeometricSearchDet
Definition: GeometricSearchDet.h:17
CylinderBuilderFromDet::build
BoundCylinder * build() const
Definition: CylinderBuilderFromDet.cc:78
Basic3DVector< float >