16 using namespace SurfaceOrientation;
31 <<
" volumes" << endl;
34 handles::const_iterator
i =
volumes.begin();
35 float Zmax = (*i)->surface(
zplus).position().z();
36 float Zmin= (*i)->surface(
zminus).position().z();
39 if (fabs(Zmax - (*i)->surface(
zplus).position().z()) > epsilon ||
40 fabs(Zmin - (*i)->surface(
zminus).position().z()) > epsilon) {
42 << fabs(Zmax - (*i)->surface(
zplus).position().z())
44 << fabs(Zmin - (*i)->surface(
zminus).position().z())
52 return volumes.front()->minPhi();
56 return volumes.back()->maxPhi();
62 vector<MagVolume*> mVols;
63 for (handles::const_iterator vol = volumes.begin();
64 vol!=volumes.end(); ++vol) {
65 mVols.push_back((*vol)->magVolume);
67 mslab =
new MagBSlab(mVols, volumes.front()->surface(
zminus).position().z());
const double Zmax[kNumberCalorimeter]
bSlab(handles::const_iterator begin, handles::const_iterator end)
Constructor from list of volumes.
MagBSlab * buildMagBSlab() const
Construct the MagBSlab upon request.
const double Zmin[kNumberCalorimeter]
void precomputed_value_sort(RandomAccessIterator begin, RandomAccessIterator end, const Extractor &extr)
Geom::Phi< float > maxPhi() const
Boundary in phi.
Geom::Phi< float > minPhi() const
Boundary in phi.