26 vector<BarrelDetLayer const *> barrelLayers =
track->barrelLayers();
27 vector<BarrelDetLayer const *>::const_iterator
ib;
28 vector<ForwardDetLayer const *> forwardPosLayers =
track->posForwardLayers();
29 vector<ForwardDetLayer const *> forwardNegLayers =
track->negForwardLayers();
30 vector<ForwardDetLayer const *>::const_iterator ie;
32 for (
ib = barrelLayers.begin();
ib != barrelLayers.end();
ib++)
33 theLayers.push_back(*
ib);
36 for (ie = forwardPosLayers.begin(); ie != forwardPosLayers.end(); ie++)
37 theLayers.push_back(*ie);
38 for (ie = forwardNegLayers.begin(); ie != forwardNegLayers.end(); ie++)
39 theLayers.push_back(*ie);
45 vector<const DetLayer *>::const_iterator il;
46 for (il = theLayers.begin(); il != theLayers.end(); il++)
56 float dirZ =
r * sinh(
eta);
62 vector<const DetLayer *>::const_iterator il;
64 for (il = theLayers.begin(); il != theLayers.end(); il++) {
68 if ((*il)->location() ==
barrel) {
69 const BarrelDetLayer *bl = dynamic_cast<const BarrelDetLayer *>(*il);
83 }
else if ((*il)->location() ==
endcap) {
93 float zMin = disk.position().z() - disk.bounds().thickness() / 2;
94 float zMax = disk.position().z() + disk.bounds().thickness() / 2;
115 result.push_back(beampipe);
120 if (0 < endfPoint.
r() && endfPoint.
r() < supportR) {
122 result.push_back(endflanges);
127 result.push_back(support);