#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.
References build(), plotBeamSpotDB::first, plotBeamSpotDB::last, and operator()().
BoundCylinder * CylinderBuilderFromDet::build | ( | ) | const |
Definition at line 84 of file CylinderBuilderFromDet.cc.
References Cylinder::computeRadius(), makeMuonMisalignmentScenario::rot, and PV3DBase< T, PVType, FrameType >::z().
Referenced by CylinderBuilderFromDet().
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, plotBeamSpotDB::last, hpstanc_transforms::max, min(), Basic3DVector< T >::perp(), alignCSCRings::r, makeMuonMisalignmentScenario::rot, and PV3DBase< T, PVType, FrameType >::z().
Referenced by CylinderBuilderFromDet().
void CylinderBuilderFromDet::operator() | ( | const Det & | det | ) |
Definition at line 65 of file CylinderBuilderFromDet.cc.
References Surface::bounds(), hpstanc_transforms::max, min(), PV3DBase< T, PVType, FrameType >::perp(), GloballyPositioned< T >::position(), alignCSCRings::r, GeomDet::surface(), and Bounds::thickness().
|
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.