46 std::vector<TrajectorySeed> &
result)
52 unsigned int num_bar = 0;
53 for ( MuonRecHitContainer::const_iterator iter = hits.begin(); iter!= hits.end(); iter++ ){
54 if ( (*iter)->isDT() ) {
61 unsigned int num_endcap = 0;
62 for ( MuonRecHitContainer::const_iterator iter = hits.begin(); iter!= hits.end(); iter++ ){
63 if ( (*iter)->isCSC() || (*iter)->isME0() )
72 if ( num_bar >1 || (num_bar==1 && (num_endcap==0 ||
theBarrel.
firstRecHit()->dimension() == 4))) {
74 <<
"Barrel Seeds " << num_bar << endl;
79 if(num_endcap > 1 || (num_endcap==1 && num_bar==0))
82 <<
"Endcap Seeds " << num_endcap << endl;
86 if(num_bar > 0 && num_endcap > 0)
88 LogTrace(metname) <<
"Overlap Seed" << endl;
90 result.insert(result.end(), overlapSeeds.begin(), overlapSeeds.end());
virtual TrajectorySeed seed() const
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
const std::string metname
MuonTransientTrackingRecHit::ConstMuonRecHitPointer firstRecHit() const
MuonTransientTrackingRecHit::MuonRecHitPointer MuonRecHitPointer
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::ConstMuonRecHitPointer ConstMuonRecHitPointer
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
MuonDTSeedFromRecHits theBarrel