48 std::vector<TrajectorySeed> &
result)
50 const std::string
metname =
"Muon|RecoMuon|MuonSeedFinder";
55 for ( MuonRecHitContainer::const_iterator iter = hits.begin(); iter!= hits.end(); iter++ ){
56 if ( (*iter)->isDT() ) {
64 for ( MuonRecHitContainer::const_iterator iter = hits.begin(); iter!= hits.end(); iter++ ){
65 if ( (*iter)->isCSC() )
75 if ( num_bar >1 || (num_bar==1 && (num_endcap==0 ||
theBarrel.
firstRecHit()->dimension() == 4))) {
77 <<
"Barrel Seeds " << num_bar << endl;
82 if(num_endcap > 1 || (num_endcap==1 && num_bar==0))
85 <<
"Endcap Seeds " << num_endcap << endl;
89 if(num_bar > 0 && num_endcap > 0)
91 LogTrace(metname) <<
"Overlap Seed" << endl;
93 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
void seeds(const MuonTransientTrackingRecHit::MuonRecHitContainer &hits, std::vector< TrajectorySeed > &result)
MuonSeedPtExtractor * thePtExtractor
void setBField(const MagneticField *field)
virtual TrajectorySeed seed() const
void setPtExtractor(const MuonSeedPtExtractor *extractor)
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
virtual void setBField(const MagneticField *field)
void add(MuonTransientTrackingRecHit::MuonRecHitPointer hit)
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