36 std::vector<TrajectorySeed>&
result) {
41 unsigned int num_bar = 0;
42 for (MuonRecHitContainer::const_iterator iter = hits.begin(); iter != hits.end(); iter++) {
43 if ((*iter)->isDT()) {
50 unsigned int num_endcap = 0;
51 for (MuonRecHitContainer::const_iterator iter = hits.begin(); iter != hits.end(); iter++) {
52 if ((*iter)->isCSC() || (*iter)->isME0()) {
60 if (num_bar > 1 || (num_bar == 1 && (num_endcap == 0 ||
theBarrel.
firstRecHit()->dimension() == 4))) {
61 LogDebug(metname) <<
"Barrel Seeds " << num_bar << endl;
65 if (num_endcap > 1 || (num_endcap == 1 && num_bar == 0)) {
66 LogDebug(metname) <<
"Endcap Seeds " << num_endcap << endl;
70 if (num_bar > 0 && num_endcap > 0) {
71 LogTrace(metname) <<
"Overlap Seed" << endl;
73 result.insert(result.end(), overlapSeeds.begin(), overlapSeeds.end());
virtual TrajectorySeed seed() const
MuonTransientTrackingRecHit::MuonRecHitPointer MuonRecHitPointer
const std::string metname
MuonTransientTrackingRecHit::ConstMuonRecHitPointer firstRecHit() const
MuonOverlapSeedFromRecHits theOverlap
std::shared_ptr< MuonTransientTrackingRecHit > MuonRecHitPointer
void seeds(const MuonTransientTrackingRecHit::MuonRecHitContainer &hits, std::vector< TrajectorySeed > &result) override
MuonSeedPtExtractor * thePtExtractor
void setBField(const MagneticField *field) override
void setBField(const MagneticField *field)
virtual TrajectorySeed seed() const
void setPtExtractor(const MuonSeedPtExtractor *extractor)
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
void add(MuonTransientTrackingRecHit::MuonRecHitPointer hit)
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
std::vector< TrajectorySeed > seeds() const
const MagneticField * theField
MuonSeedFinder(const edm::ParameterSet &pset)
Constructor.
MuonCSCSeedFromRecHits theEndcap
std::vector< MuonRecHitPointer > MuonRecHitContainer
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
MuonDTSeedFromRecHits theBarrel