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() )
73 if ( num_bar >1 || (num_bar==1 && (num_endcap==0 ||
theBarrel.
firstRecHit()->dimension() == 4))) {
75 <<
"Barrel Seeds " << num_bar << endl;
80 if(num_endcap > 1 || (num_endcap==1 && num_bar==0))
83 <<
"Endcap Seeds " << num_endcap << endl;
87 if(num_bar > 0 && num_endcap > 0)
89 LogTrace(metname) <<
"Overlap Seed" << endl;
91 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
void seeds(const MuonTransientTrackingRecHit::MuonRecHitContainer &hits, std::vector< TrajectorySeed > &result)
std::shared_ptr< MuonTransientTrackingRecHit > MuonRecHitPointer
MuonSeedPtExtractor * thePtExtractor
void setBField(const MagneticField *field)
virtual TrajectorySeed seed() const
void setPtExtractor(const MuonSeedPtExtractor *extractor)
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
virtual void setBField(const MagneticField *field)
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