#include <MagBRod.h>
Public Member Functions | |
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 20 of file MagBRod.cc.
References gather_cfg::cout, verbose::debugOut, theBinFinder, and theSlabs.
|
virtual |
Destructor.
Definition at line 42 of file MagBRod.cc.
References theBinFinder, and theSlabs.
MagVolume * MagBRod::findVolume | ( | const GlobalPoint & | gp, |
double | tolerance | ||
) | const |
Find the volume containing a point, with a given tolerance.
Definition at line 51 of file MagBRod.cc.
References newFWLiteAna::bin, MagBinFinders::GeneralBinFinderInZ< T >::binIndex(), gather_cfg::cout, verbose::debugOut, query::result, theBinFinder, theSlabs, Gflash::Z, and PV3DBase< T, PVType, FrameType >::z().
|
inline |
|
private |
Definition at line 44 of file MagBRod.h.
Referenced by findVolume(), MagBRod(), and ~MagBRod().
|
private |
|
private |
Definition at line 42 of file MagBRod.h.
Referenced by findVolume(), MagBRod(), and ~MagBRod().