17 isEventSetupset =
false;
24 oneSeed.configure(iConfig);
29 std::vector<weightedTrajectorySeed> *candidateweightedRef) {
30 goodweightedSeedsRef = goodweightedRef;
31 candidateweightedSeedsRef = candidateweightedRef;
37 for (ConstMuonRecHitContainer::const_iterator iter = recHits.begin(); iter != recHits.end(); iter++)
44 isEventSetupset =
true;
48 cout <<
"[RPCSeedFinder] --> seeds called" << endl;
50 if (isrecHitsset ==
false || isOutputset ==
false || isConfigured ==
false || isEventSetupset ==
false) {
51 cout <<
"Configuration or IO is not set yet" << endl;
58 theweightedSeed = oneSeed.seed(iSetup, isGoodSeed);
60 if (isGoodSeed == 1) {
61 cout <<
"[RPCSeedFinder] --> Seeds from " << oneSeed.nrhit() <<
" recHits." << endl;
62 goodweightedSeedsRef->push_back(theweightedSeed);
65 if (isGoodSeed >= 0) {
66 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)