20 isEventSetupset =
false;
30 oneSeed.configure(iConfig);
34 void RPCSeedFinder::setOutput(std::vector<weightedTrajectorySeed> *goodweightedRef, std::vector<weightedTrajectorySeed> *candidateweightedRef) {
36 goodweightedSeedsRef = goodweightedRef;
37 candidateweightedSeedsRef = candidateweightedRef;
44 for (ConstMuonRecHitContainer::const_iterator iter = recHits.begin(); iter!= recHits.end(); iter++)
52 isEventSetupset =
true;
57 cout <<
"[RPCSeedFinder] --> seeds called" << endl;
59 if(isrecHitsset ==
false || isOutputset ==
false || isConfigured ==
false || isEventSetupset ==
false)
61 cout <<
"Configuration or IO is not set yet" << endl;
68 theweightedSeed = oneSeed.seed(iSetup, isGoodSeed);
72 cout <<
"[RPCSeedFinder] --> Seeds from " << oneSeed.nrhit() <<
" recHits." << endl;
73 goodweightedSeedsRef->push_back(theweightedSeed);
78 candidateweightedSeedsRef->push_back(theweightedSeed);
void setEventSetup(const edm::EventSetup &iSetup)
void setOutput(std::vector< weightedTrajectorySeed > *goodweightedRef, std::vector< weightedTrajectorySeed > *candidateweightedRef)
void setrecHits(ConstMuonRecHitContainer &recHits)
RPCSeedPattern::weightedTrajectorySeed weightedTrajectorySeed
MuonTransientTrackingRecHit::ConstMuonRecHitContainer ConstMuonRecHitContainer
void configure(const edm::ParameterSet &iConfig)