#include <MagBRod.h>
Public Member Functions | |
const MagVolume * | findVolume (const GlobalPoint &gp, double tolerance) const |
Find the volume containing a point, with a given tolerance. More... | |
MagBRod (std::vector< MagBSlab * > &slabs, Geom::Phi< float > phiMin) | |
Constructor. More... | |
Geom::Phi< float > | minPhi () const |
Phi of rod start. More... | |
virtual | ~MagBRod () |
Destructor. More... | |
Private Attributes | |
MagBinFinders::GeneralBinFinderInZ < double > * | theBinFinder |
Geom::Phi< float > | thePhiMin |
std::vector< MagBSlab * > | theSlabs |
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.
Constructor.
Definition at line 18 of file MagBRod.cc.
References gather_cfg::cout, verbose::debugOut, theBinFinder, and theSlabs.
|
virtual |
Destructor.
Definition at line 40 of file MagBRod.cc.
References theBinFinder, and theSlabs.
const MagVolume * MagBRod::findVolume | ( | const GlobalPoint & | gp, |
double | tolerance | ||
) | const |
Find the volume containing a point, with a given tolerance.
Definition at line 49 of file MagBRod.cc.
References newFWLiteAna::bin, MagBinFinders::GeneralBinFinderInZ< T >::binIndex(), gather_cfg::cout, verbose::debugOut, mps_fire::result, theBinFinder, theSlabs, Gflash::Z, and PV3DBase< T, PVType, FrameType >::z().
|
inline |
|
private |
Definition at line 42 of file MagBRod.h.
Referenced by findVolume(), MagBRod(), and ~MagBRod().
|
private |
|
private |
Definition at line 40 of file MagBRod.h.
Referenced by findVolume(), MagBRod(), and ~MagBRod().