#include <CylinderBuilderFromDet.h>
Public Types | |
typedef GeomDet | Det |
typedef Surface::PositionType | PositionType |
typedef Surface::RotationType | RotationType |
typedef PositionType::BasicVectorType | Vector |
Public Member Functions | |
BoundCylinder * | build () const |
CylinderBuilderFromDet () | |
BoundCylinder * | operator() (std::vector< const Det *>::const_iterator first, std::vector< const Det *>::const_iterator last) const |
void | operator() (const Det &det) |
Private Attributes | |
float | rmax |
float | rmin |
float | zmax |
float | zmin |
Given a container of GeomDets, constructs a cylinder of minimal dimensions that contains all of the Dets completely (all corners etc.) Useful for defining a BarrelDetLayer from a group of DetUnits.
Definition at line 18 of file CylinderBuilderFromDet.h.
typedef GeomDet CylinderBuilderFromDet::Det |
Definition at line 20 of file CylinderBuilderFromDet.h.
Definition at line 21 of file CylinderBuilderFromDet.h.
Definition at line 22 of file CylinderBuilderFromDet.h.
Definition at line 23 of file CylinderBuilderFromDet.h.
|
inline |
Definition at line 25 of file CylinderBuilderFromDet.h.
BoundCylinder * CylinderBuilderFromDet::build | ( | ) | const |
Definition at line 78 of file CylinderBuilderFromDet.cc.
References Cylinder::computeRadius(), makeMuonMisalignmentScenario::rot, SiStripMonitorCluster_cfi::zmax, and SiStripMonitorCluster_cfi::zmin.
BoundCylinder * CylinderBuilderFromDet::operator() | ( | std::vector< const Det *>::const_iterator | first, |
std::vector< const Det *>::const_iterator | last | ||
) | const |
Definition at line 8 of file CylinderBuilderFromDet.cc.
References Cylinder::computeRadius(), BoundingBox::corners(), first, mps_fire::i, dqmdumpme::last, SiStripPI::max, SiStripPI::min, Basic3DVector< T >::perp(), alignCSCRings::r, makeMuonMisalignmentScenario::rot, PV3DBase< T, PVType, FrameType >::z(), SiStripMonitorCluster_cfi::zmax, and SiStripMonitorCluster_cfi::zmin.
void CylinderBuilderFromDet::operator() | ( | const Det & | det | ) |
Definition at line 59 of file CylinderBuilderFromDet.cc.
References Surface::bounds(), SiStripPI::max, SiStripPI::min, PV3DBase< T, PVType, FrameType >::perp(), GloballyPositioned< T >::position(), alignCSCRings::r, GeomDet::surface(), Bounds::thickness(), SiStripMonitorCluster_cfi::zmax, and SiStripMonitorCluster_cfi::zmin.
|
private |
Definition at line 40 of file CylinderBuilderFromDet.h.
|
private |
Definition at line 39 of file CylinderBuilderFromDet.h.
|
private |
Definition at line 42 of file CylinderBuilderFromDet.h.
|
private |
Definition at line 41 of file CylinderBuilderFromDet.h.