181 auto goodCollection = std::make_unique<TrajectorySeedCollection>();
182 auto candidateCollection = std::make_unique<TrajectorySeedCollection>();
189 vector<const DetLayer*> RPCBarrelLayers = muonLayers->barrelRPCLayers();
190 const DetLayer* RB4L = RPCBarrelLayers[5];
191 const DetLayer* RB3L = RPCBarrelLayers[4];
192 const DetLayer* RB22L = RPCBarrelLayers[3];
193 const DetLayer* RB21L = RPCBarrelLayers[2];
194 const DetLayer* RB12L = RPCBarrelLayers[1];
195 const DetLayer* RB11L = RPCBarrelLayers[0];
196 vector<const DetLayer*> RPCEndcapLayers = muonLayers->endcapRPCLayers();
197 const DetLayer* REM3L = RPCEndcapLayers[0];
198 const DetLayer* REM2L = RPCEndcapLayers[1];
199 const DetLayer* REM1L = RPCEndcapLayers[2];
200 const DetLayer* REP1L = RPCEndcapLayers[3];
201 const DetLayer* REP2L = RPCEndcapLayers[4];
202 const DetLayer* REP3L = RPCEndcapLayers[5];
221 cout <<
"RB1in " << recHitsRPC[0].size() <<
" recHits" << endl;
222 cout <<
"RB1out " << recHitsRPC[1].size() <<
" recHits" << endl;
223 cout <<
"RB2in " << recHitsRPC[2].size() <<
" recHits" << endl;
224 cout <<
"RB2out " << recHitsRPC[3].size() <<
" recHits" << endl;
225 cout <<
"RB3 " << recHitsRPC[4].size() <<
" recHits" << endl;
226 cout <<
"RB4 " << recHitsRPC[5].size() <<
" recHits" << endl;
227 cout <<
"REM1 " << recHitsRPC[6].size() <<
" recHits" << endl;
228 cout <<
"REM2 " << recHitsRPC[7].size() <<
" recHits" << endl;
229 cout <<
"REM3 " << recHitsRPC[8].size() <<
" recHits" << endl;
230 cout <<
"REP1 " << recHitsRPC[9].size() <<
" recHits" << endl;
231 cout <<
"REP2 " << recHitsRPC[10].size() <<
" recHits" << endl;
232 cout <<
"REP3 " << recHitsRPC[11].size() <<
" recHits" << endl;
248 goodCollection->push_back((*weightedseed).first);
250 candidateCollection->push_back((*weightedseed).first);
254 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