Class collecting all layers of the tracker.
Definition at line 19 of file LayerCollector.h.
vector< const DetLayer * > LayerCollector::allLayers |
( |
const FTS & |
aFts | ) |
const |
Definition at line 7 of file LayerCollector.cc.
8 vector<const DetLayer*> myLayers;
14 vector<const DetLayer*>
dummy;
19 for (vector<const DetLayer*>::iterator ilay = nextLayers.begin(); ilay != nextLayers.end(); ilay++) {
26 Range barrZRange((**ilay).position().z() - 0.5 * ((**ilay).surface().bounds().length()),
27 (**ilay).position().z() + 0.5 * ((**ilay).surface().bounds().length()));
31 myLayers.push_back(*ilay);
34 const ForwardDetLayer* fwd = dynamic_cast<const ForwardDetLayer*>(*ilay);
35 Range fwdRRange((*fwd).specificSurface().innerRadius(), (*fwd).specificSurface().outerRadius());
39 myLayers.push_back(*ilay);
References GeomDetEnumerators::barrel, PbPb_ZMuSkimMuonDPG_cff::deltaR, GeomDetEnumerators::endcap, TrajectoryStateOnSurface::freeState(), TrajectoryStateOnSurface::globalParameters(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), FreeTrajectoryState::parameters(), PV3DBase< T, PVType, FrameType >::perp(), TrackCandidateProducer_cfi::propagator, rangesIntersect(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by ConversionSeedFinder::findLayers().