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++)
45 isEventSetupset =
true;
49 cout <<
"[RPCSeedFinder] --> seeds called" << endl;
51 if (isrecHitsset ==
false || isOutputset ==
false || isConfigured ==
false || isEventSetupset ==
false) {
52 cout <<
"Configuration or IO is not set yet" << endl;
59 theweightedSeed = oneSeed.seed(*pField, *pRPCGeom, isGoodSeed);
61 if (isGoodSeed == 1) {
62 cout <<
"[RPCSeedFinder] --> Seeds from " << oneSeed.nrhit() <<
" recHits." << endl;
63 goodweightedSeedsRef->push_back(theweightedSeed);
66 if (isGoodSeed >= 0) {
67 candidateweightedSeedsRef->push_back(theweightedSeed);
void setOutput(std::vector< weightedTrajectorySeed > *goodweightedRef, std::vector< weightedTrajectorySeed > *candidateweightedRef)
void setrecHits(ConstMuonRecHitContainer &recHits)
void setEventSetup(const MagneticField &field, const RPCGeometry &rpcGeom)
RPCSeedPattern::weightedTrajectorySeed weightedTrajectorySeed
MuonTransientTrackingRecHit::ConstMuonRecHitContainer ConstMuonRecHitContainer
void configure(const edm::ParameterSet &iConfig)