179 auto goodCollection = std::make_unique<TrajectorySeedCollection>();
180 auto candidateCollection = std::make_unique<TrajectorySeedCollection>();
187 vector<const DetLayer*> RPCBarrelLayers = muonLayers->barrelRPCLayers();
188 const DetLayer* RB4L = RPCBarrelLayers[5];
189 const DetLayer* RB3L = RPCBarrelLayers[4];
190 const DetLayer* RB22L = RPCBarrelLayers[3];
191 const DetLayer* RB21L = RPCBarrelLayers[2];
192 const DetLayer* RB12L = RPCBarrelLayers[1];
193 const DetLayer* RB11L = RPCBarrelLayers[0];
194 vector<const DetLayer*> RPCEndcapLayers = muonLayers->endcapRPCLayers();
195 const DetLayer* REM3L = RPCEndcapLayers[0];
196 const DetLayer* REM2L = RPCEndcapLayers[1];
197 const DetLayer* REM1L = RPCEndcapLayers[2];
198 const DetLayer* REP1L = RPCEndcapLayers[3];
199 const DetLayer* REP2L = RPCEndcapLayers[4];
200 const DetLayer* REP3L = RPCEndcapLayers[5];
218 cout <<
"RB1in " << recHitsRPC[0].size() <<
" recHits" << endl;
219 cout <<
"RB1out " << recHitsRPC[1].size() <<
" recHits" << endl;
220 cout <<
"RB2in " << recHitsRPC[2].size() <<
" recHits" << endl;
221 cout <<
"RB2out " << recHitsRPC[3].size() <<
" recHits" << endl;
222 cout <<
"RB3 " << recHitsRPC[4].size() <<
" recHits" << endl;
223 cout <<
"RB4 " << recHitsRPC[5].size() <<
" recHits" << endl;
224 cout <<
"REM1 " << recHitsRPC[6].size() <<
" recHits" << endl;
225 cout <<
"REM2 " << recHitsRPC[7].size() <<
" recHits" << endl;
226 cout <<
"REM3 " << recHitsRPC[8].size() <<
" recHits" << endl;
227 cout <<
"REP1 " << recHitsRPC[9].size() <<
" recHits" << endl;
228 cout <<
"REP2 " << recHitsRPC[10].size() <<
" recHits" << endl;
229 cout <<
"REP3 " << recHitsRPC[11].size() <<
" recHits" << endl;
244 for (vector<weightedTrajectorySeed>::iterator weightedseed =
goodweightedSeeds.begin();
247 goodCollection->push_back((*weightedseed).first);
251 candidateCollection->push_back((*weightedseed).first);
255 iEvent.
put(
std::move(candidateCollection),
"candidateSeeds");
void setEventSetup(const edm::EventSetup &iSetup)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
void setInput(MuonRecHitContainer(&recHits)[12])
RPCCosmicSeedrecHitFinder CosmicrecHitFinder
RPCSeedrecHitFinder recHitFinder
void setInput(MuonRecHitContainer(&recHits)[12])
MuonRecHitContainer recHits(const DetLayer *layer, const edm::Event &iEvent)
returns the rechits which are on the layer
void setInput(MuonRecHitContainer(&recHitsRPC)[12])
MuonDetLayerMeasurements * muonMeasurements
RPCSeedOverlapper Overlapper
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
std::vector< weightedTrajectorySeed > goodweightedSeeds
std::vector< weightedTrajectorySeed > candidateweightedSeeds
RPCSeedLayerFinder LayerFinder