#include <MagBSlab.h>
Public Member Functions | |
const MagVolume * | findVolume (const GlobalPoint &gp, double tolerance) const |
Find the volume containing a point, with a given tolerance. More... | |
MagBSlab (const std::vector< MagVolume * > &volumes, double zMin) | |
Constructor. More... | |
double | minZ () const |
Lower Z bound. More... | |
virtual | ~MagBSlab () |
Destructor. More... | |
Private Attributes | |
std::vector< MagVolume * > | theVolumes |
double | theZMin |
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 23 of file MagBSlab.h.
MagBSlab::MagBSlab | ( | const std::vector< MagVolume * > & | volumes, |
double | zMin | ||
) |
|
virtual |
Destructor.
Definition at line 20 of file MagBSlab.cc.
References theVolumes.
const MagVolume * MagBSlab::findVolume | ( | const GlobalPoint & | gp, |
double | tolerance | ||
) | const |
Find the volume containing a point, with a given tolerance.
Definition at line 26 of file MagBSlab.cc.
References runTauDisplay::gp, LogTrace, theVolumes, and tolerance.
|
inline |
|
private |
Definition at line 38 of file MagBSlab.h.
Referenced by findVolume(), and ~MagBSlab().
|
private |
Definition at line 39 of file MagBSlab.h.
Referenced by minZ().