#include <MagBSector.h>
Public Member Functions | |
const MagVolume * | findVolume (const GlobalPoint &gp, double tolerance) const |
Find the volume containing a point, with a given tolerance. More... | |
MagBSector (std::vector< MagBRod * > &rods, Geom::Phi< float > phiMin) | |
Constructor. More... | |
Geom::Phi< float > | minPhi () const |
Phi of sector start. More... | |
virtual | ~MagBSector () |
Destructor. More... | |
Private Attributes | |
Geom::Phi< float > | thePhiMin |
std::vector< MagBRod * > | theRods |
A container of volumes in the barrel. It is part of the hierarchical organisation of barrel volumes:
A barrel layer (MagBLayer) groups volumes at the same distance to the origin. It consists of 12 sectors in phi (MagBSector). Each sector consists of one or more rods (MagBRods) of equal width in phi. Rods consist of one or more slabs (MagBSlab); each one consisting of one or, in few cases, several volumes with the same lenght in Z.
Definition at line 24 of file MagBSector.h.
|
virtual |
const MagVolume * MagBSector::findVolume | ( | const GlobalPoint & | gp, |
double | tolerance | ||
) | const |
Find the volume containing a point, with a given tolerance.
Definition at line 30 of file MagBSector.cc.
References gather_cfg::cout, verbose::debugOut, phi, PV3DBase< T, PVType, FrameType >::phi(), mps_fire::result, and theRods.
|
inline |
|
private |
Definition at line 40 of file MagBSector.h.
Referenced by minPhi().
|
private |
Definition at line 39 of file MagBSector.h.
Referenced by findVolume(), and ~MagBSector().