#include <MultipleScatteringGeometry.h>
MultipleScatteringGeometry::MultipleScatteringGeometry |
( |
const edm::EventSetup & |
iSetup | ) |
|
Definition at line 22 of file MultipleScatteringGeometry.cc.
References edm::EventSetup::get(), and cuy::ib.
28 vector<BarrelDetLayer const*> barrelLayers=track->barrelLayers();
29 vector<BarrelDetLayer const*>::const_iterator
ib;
30 vector<ForwardDetLayer const*> forwardPosLayers=track->posForwardLayers();
31 vector<ForwardDetLayer const*> forwardNegLayers=track->negForwardLayers();
32 vector<ForwardDetLayer const*>::const_iterator ie;
34 for (ib = barrelLayers.begin(); ib != barrelLayers.end(); ib++)
38 for (ie = forwardPosLayers.begin(); ie != forwardPosLayers.end(); ie++)
40 for (ie = forwardNegLayers.begin(); ie != forwardNegLayers.end(); ie++)
std::vector< const DetLayer * > theLayers
vector< MSLayer > MultipleScatteringGeometry::detLayers |
( |
float |
eta, |
|
|
float |
z, |
|
|
const edm::EventSetup & |
iSetup |
|
) |
| const |
Definition at line 55 of file MultipleScatteringGeometry.cc.
References alongMomentum, GeomDetEnumerators::barrel, edm::contains(), dir, GeomDetEnumerators::endcap, edm::EventSetup::get(), TrajectoryStateOnSurface::globalPosition(), PixelRecoRange< T >::inside(), TrajectoryStateOnSurface::isValid(), PV3DBase< T, PVType, FrameType >::perp(), GeometricSearchDet::position(), alignCSCRings::r, query::result, ForwardDetLayer::specificSurface(), BarrelDetLayer::specificSurface(), StraightLinePropagator_cfi::StraightLinePropagator, PV3DBase< T, PVType, FrameType >::z(), and beampixel_dqm_sourceclient-live_cfg::zRange.
59 float r=1;
float dirZ = r*sinh(
eta);
65 vector<const DetLayer*>::const_iterator il;
71 if ( (*il)->location() ==
barrel ) {
86 else if ((*il)->location() ==
endcap) {
91 tsos = propagator.propagate(fts, disk);
93 float zMin = disk.position().z()-disk.bounds().thickness()/2;
94 float zMax = disk.position().z()+disk.bounds().thickness()/2;
101 if (contains) result.push_back(
MSLayer(*il));
bool contains(EventRange const &lh, EventID const &rh)
GlobalPoint globalPosition() const
virtual const Surface::PositionType & position() const
Returns position of the surface.
virtual const BoundDisk & specificSurface() const GCC11_FINAL
tuple StraightLinePropagator
std::vector< const DetLayer * > theLayers
virtual const BoundCylinder & specificSurface() const GCC11_FINAL
Extension of the interface.
const float MultipleScatteringGeometry::beamPipeR = 2.94 |
|
staticprotected |
const float MultipleScatteringGeometry::endflangesZ = 30 |
|
staticprotected |
const float MultipleScatteringGeometry::supportR = 19. |
|
staticprotected |
std::vector<const DetLayer*> MultipleScatteringGeometry::theLayers |
|
protected |