Go to the documentation of this file.
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))) {
65 if (num_endcap > 1 || (num_endcap == 1 && num_bar == 0)) {
70 if (num_bar > 0 && num_endcap > 0) {
73 result.insert(
result.end(), overlapSeeds.begin(), overlapSeeds.end());
void setBField(const MagneticField *field) override
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
std::vector< TrajectorySeed > seeds() const
void setPtExtractor(const MuonSeedPtExtractor *extractor)
MuonTransientTrackingRecHit::ConstMuonRecHitPointer firstRecHit() const
std::vector< MuonRecHitPointer > MuonRecHitContainer
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
void setBField(const MagneticField *field)
MuonCSCSeedFromRecHits theEndcap
std::shared_ptr< MuonTransientTrackingRecHit > MuonRecHitPointer
MuonTransientTrackingRecHit::MuonRecHitPointer MuonRecHitPointer
virtual TrajectorySeed seed() const
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
MuonSeedFinder(const edm::ParameterSet &pset)
Constructor.
const MagneticField * theField
MuonDTSeedFromRecHits theBarrel
MuonSeedPtExtractor * thePtExtractor
void seeds(const MuonTransientTrackingRecHit::MuonRecHitContainer &hits, std::vector< TrajectorySeed > &result) override
MuonOverlapSeedFromRecHits theOverlap
virtual TrajectorySeed seed() const
const std::string metname
void add(MuonTransientTrackingRecHit::MuonRecHitPointer hit)