24 std::vector<TrajectorySeed>
result;
33 DTChamberId dtId((**iter).geographicalId().rawId());
35 if(dtId.station() == 1 || (dtId.station()==2 && (*iter)->dimension() == 2))
37 barrelHits.push_back(*iter);
42 endcapHits.push_back(*iter);
47 for ( MuonRecHitContainer::const_iterator barrelHitItr = barrelHits.begin(),
48 lastBarrelHit = barrelHits.end();
49 barrelHitItr != lastBarrelHit; ++barrelHitItr)
51 for ( MuonRecHitContainer::const_iterator endcapHitItr = endcapHits.begin(),
52 lastEndcapHit = endcapHits.end();
53 endcapHitItr != lastEndcapHit; ++endcapHitItr)
56 bool good =
makeSeed(*barrelHitItr, *endcapHitItr, bestSegment, seed);
57 if(good) result.push_back(seed);
80 double sigmapt = pts[1];
112 if(barrelHits.size() > endcapHits.size())
115 if (result->dimension() == 2) result = cscSeeder.
bestEndcapHit(endcapHits);
ConstMuonRecHitPointer bestBarrelHit(const MuonRecHitContainer &barrelHits) const
MuonTransientTrackingRecHit::MuonRecHitContainer theRhits
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
const MuonSeedPtExtractor * thePtExtractor
static const double pts[33]
ConstMuonRecHitPointer bestEndcapHit(const MuonRecHitContainer &endcapHits) const
bool makeSeed(MuonTransientTrackingRecHit::ConstMuonRecHitPointer barrelHit, MuonTransientTrackingRecHit::ConstMuonRecHitPointer endcapHit, MuonTransientTrackingRecHit::ConstMuonRecHitPointer bestSegment, TrajectorySeed &result) const
TrajectorySeed createSeed(float ptmean, float sptmean, MuonTransientTrackingRecHit::ConstMuonRecHitPointer last) const
MuonOverlapSeedFromRecHits()
std::vector< TrajectorySeed > seeds() const
ConstMuonRecHitPointer bestHit(const MuonRecHitContainer &barrelHits, const MuonRecHitContainer &endcapHits) const
std::vector< MuonRecHitPointer > MuonRecHitContainer