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) {
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;
101 result.push_back(
MSLayer(*il));
115 result.push_back(beampipe);
120 if (0 < endfPoint.
r() && endfPoint.
r() < supportR) {
122 result.push_back(endflanges);
127 result.push_back(support);
static const float endflangesZ
bool contains(EventRange const &lh, EventID const &rh)
std::vector< ForwardDetLayer const * > const & posForwardLayers() const
std::vector< MSLayer > otherLayers(float eta, const edm::EventSetup &iSetup) const
GlobalPoint globalPosition() const
virtual const BoundCylinder & specificSurface() const final
Extension of the interface.
static const float supportR
std::vector< ForwardDetLayer const * > const & negForwardLayers() const
static const float beamPipeR
std::vector< MSLayer > detLayers(float eta, float z, const edm::EventSetup &iSetup) const
virtual const BoundDisk & specificSurface() const final
virtual const Surface::PositionType & position() const
Returns position of the surface.
bool inside(const T &value) const
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
PixelRecoRange< float > Range
MultipleScatteringGeometry(const edm::EventSetup &iSetup)
std::vector< BarrelDetLayer const * > const & barrelLayers() const