#include <MagBLayer.h>
Public Member Functions | |
const MagVolume * | findVolume (const GlobalPoint &gp, double tolerance) const |
Find the volume containing a point, with a given tolerance. More... | |
MagBLayer (std::vector< MagBSector *> §ors, double rMin) | |
Constructor. More... | |
MagBLayer (MagVolume *aVolume, double rMin) | |
Constructor for a trivial layer consisting of one single volume. More... | |
double | minR () const |
Lowest radius of the layer. More... | |
virtual | ~MagBLayer () |
Destructor. More... | |
Private Attributes | |
PeriodicBinFinderInPhi< float > * | theBinFinder |
double | theRMin |
std::vector< MagBSector * > | theSectors |
MagVolume * | theSingleVolume |
A barrel layer (MagBLayer) groups volumes at the same distance to the origin. It consists of either 1 single volume (a cylinder) or 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 MagBLayer.h.
MagBLayer::MagBLayer | ( | std::vector< MagBSector *> & | sectors, |
double | rMin | ||
) |
Constructor.
Definition at line 21 of file MagBLayer.cc.
References Geom::pi(), theBinFinder, and theSectors.
MagBLayer::MagBLayer | ( | MagVolume * | aVolume, |
double | rMin | ||
) |
Constructor for a trivial layer consisting of one single volume.
Definition at line 30 of file MagBLayer.cc.
|
virtual |
Destructor.
Definition at line 35 of file MagBLayer.cc.
References l1ctLayer1_patternWriters_cff::isec, theBinFinder, theSectors, and theSingleVolume.
const MagVolume * MagBLayer::findVolume | ( | const GlobalPoint & | gp, |
double | tolerance | ||
) | const |
Find the volume containing a point, with a given tolerance.
Definition at line 45 of file MagBLayer.cc.
References newFWLiteAna::bin, PeriodicBinFinderInPhi< T >::binIndex(), runTauDisplay::gp, MagVolume::inside(), LogTrace, phi, mps_fire::result, theBinFinder, theSectors, theSingleVolume, and tolerance.
|
inline |
|
private |
Definition at line 49 of file MagBLayer.h.
Referenced by findVolume(), MagBLayer(), and ~MagBLayer().
|
private |
Definition at line 47 of file MagBLayer.h.
Referenced by minR().
|
private |
Definition at line 45 of file MagBLayer.h.
Referenced by findVolume(), MagBLayer(), and ~MagBLayer().
|
private |
Definition at line 46 of file MagBLayer.h.
Referenced by findVolume(), and ~MagBLayer().