37 |
|
else if (rpcEta < 1.04) rpc = ReferenceCountingPointer<Surface>(new BoundCylinder( GlobalPoint(0.,0.,0.), TkRotation<float>(), SimpleCylinderBounds( 500, 520, -700, 700 ) ) ); |
38 |
|
else rpc = ReferenceCountingPointer<Surface>(new BoundDisk( GlobalPoint(0.,0.,800.), TkRotation<float>(), SimpleDiskBounds( 300., 710., -10., 10. ) ) ); |
39 |
|
edm::ESHandle<Propagator> propagator; |
40 |
< |
es.get<TrackingComponentsRecord>().get("SteppingHelixPropagatorAny", propagator); |
40 |
> |
es.get<TrackingComponentsRecord>().get("SteppingHelixPropagatorAlong", propagator); |
41 |
|
TrajectoryStateOnSurface trackAtRPC = propagator->propagate(tsos, *rpc); |
42 |
|
if (!trackAtRPC.isValid()) return false; |
43 |
|
float phi = trackAtRPC.globalPosition().phi(); |