8 vector<const DetLayer*> myLayers;
12 vector<const DetLayer*> nextLayers = theStartingLayerFinder(myFts,
deltaR(),
deltaZ());
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);
35 Range fwdRRange((*fwd).specificSurface().innerRadius(), (*fwd).specificSurface().outerRadius());
39 myLayers.push_back(*ilay);
44 nextLayers = theSchool->nextLayers(**ilay, *pTsos.
freeState(),
propagator()->propagationDirection());
55 vector<const DetLayer*>
all = allLayers(aFts);
56 vector<const BarrelDetLayer*> barrelLayers;
58 for (vector<const DetLayer*>::iterator ilay =
all.begin(); ilay !=
all.end(); ilay++) {
59 if (
const BarrelDetLayer* myBarrel = dynamic_cast<const BarrelDetLayer*>(*ilay))
60 barrelLayers.push_back(myBarrel);
67 vector<const DetLayer*>
all = allLayers(aFts);
68 vector<const ForwardDetLayer*> fwdLayers;
70 for (vector<const DetLayer*>::iterator ilay =
all.begin(); ilay !=
all.end(); ilay++) {
71 if (
const ForwardDetLayer* myFwd = dynamic_cast<const ForwardDetLayer*>(*ilay))
72 fwdLayers.push_back(myFwd);
std::vector< const ForwardDetLayer * > forwardLayers(const FTS &aFts) const
const GlobalTrajectoryParameters & globalParameters() const
std::vector< const DetLayer * > allLayers(const FTS &aFts) const
const GlobalTrajectoryParameters & parameters() const
GlobalPoint globalPosition() const
std::pair< float, float > Range
bool rangesIntersect(const Range &a, const Range &b)
FreeTrajectoryState const * freeState(bool withErrors=true) const
std::vector< const BarrelDetLayer * > barrelLayers(const FTS &aFts) const