16 std::vector<TrajectorySeed>
result;
20 for (MuonRecHitContainer::const_iterator iter =
theRhits.begin(),
end =
theRhits.end(); iter !=
end; ++iter) {
21 if ((*iter)->isDT()) {
22 DTChamberId dtId((**iter).geographicalId().rawId());
24 if (dtId.station() == 1 || (dtId.station() == 2 && (*iter)->dimension() == 2)) {
25 barrelHits.push_back(*iter);
28 endcapHits.push_back(*iter);
33 for (MuonRecHitContainer::const_iterator barrelHitItr = barrelHits.begin(), lastBarrelHit = barrelHits.end();
34 barrelHitItr != lastBarrelHit;
36 for (MuonRecHitContainer::const_iterator endcapHitItr = endcapHits.begin(), lastEndcapHit = endcapHits.end();
37 endcapHitItr != lastEndcapHit;
40 bool good =
makeSeed(*barrelHitItr, *endcapHitItr, bestSegment, seed);
42 result.push_back(seed);
61 double sigmapt = pts[1];
64 if (fabs(pt) > minpt) {
90 if (barrelHits.size() > endcapHits.size()) {
92 if (result->dimension() == 2)
ConstMuonRecHitPointer bestBarrelHit(const MuonRecHitContainer &barrelHits) const
MuonTransientTrackingRecHit::MuonRecHitContainer theRhits
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
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
auto const good
min quality of good
TrajectorySeed createSeed(float ptmean, float sptmean, MuonTransientTrackingRecHit::ConstMuonRecHitPointer last) const
MuonOverlapSeedFromRecHits()
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
std::vector< TrajectorySeed > seeds() const
ConstMuonRecHitPointer bestHit(const MuonRecHitContainer &barrelHits, const MuonRecHitContainer &endcapHits) const
std::vector< MuonRecHitPointer > MuonRecHitContainer