#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 84 of file CylinderBuilderFromDet.cc.
References Cylinder::computeRadius(), makeMuonMisalignmentScenario::rot, PV3DBase< T, PVType, FrameType >::z(), SiStripMonitorClusterAlca_cfi::zmax, and SiStripMonitorClusterAlca_cfi::zmin.
BoundCylinder * CylinderBuilderFromDet::operator() | ( | std::vector< const Det * >::const_iterator | first, |
std::vector< const Det * >::const_iterator | last | ||
) | const |
Definition at line 9 of file CylinderBuilderFromDet.cc.
References Cylinder::computeRadius(), BoundingBox::corners(), i, prof2calltree::last, max(), bookConverter::min, Basic3DVector< T >::perp(), alignCSCRings::r, makeMuonMisalignmentScenario::rot, detailsBasic3DVector::z, PV3DBase< T, PVType, FrameType >::z(), SiStripMonitorClusterAlca_cfi::zmax, and SiStripMonitorClusterAlca_cfi::zmin.
void CylinderBuilderFromDet::operator() | ( | const Det & | det | ) |
Definition at line 65 of file CylinderBuilderFromDet.cc.
References Surface::bounds(), max(), bookConverter::min, PV3DBase< T, PVType, FrameType >::perp(), GloballyPositioned< T >::position(), alignCSCRings::r, GeomDet::surface(), Bounds::thickness(), detailsBasic3DVector::z, SiStripMonitorClusterAlca_cfi::zmax, and SiStripMonitorClusterAlca_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.