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();
65 mVols.push_back((*vol)->magVolume);
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.