68 #ifndef RPCLayerNumber 69 #define RPCLayerNumber 12 72 #ifndef BarrelLayerNumber 73 #define BarrelLayerNumber 6 76 #ifndef EachEndcapLayerNumber 77 #define EachEndcapLayerNumber 3 95 void endStream()
override;
146 produces<TrajectorySeedCollection>(
"goodSeeds");
147 produces<TrajectorySeedCollection>(
"candidateSeeds");
166 cout << endl <<
"[RPCSeedGenerator] --> Constructor called" << endl;
172 cout <<
"[RPCSeedGenerator] --> Destructor called" << endl;
186 auto goodCollection = std::make_unique<TrajectorySeedCollection>();
187 auto candidateCollection = std::make_unique<TrajectorySeedCollection>();
193 vector<const DetLayer*> RPCBarrelLayers = muonLayers.barrelRPCLayers();
194 const DetLayer* RB4L = RPCBarrelLayers[5];
195 const DetLayer* RB3L = RPCBarrelLayers[4];
196 const DetLayer* RB22L = RPCBarrelLayers[3];
197 const DetLayer* RB21L = RPCBarrelLayers[2];
198 const DetLayer* RB12L = RPCBarrelLayers[1];
199 const DetLayer* RB11L = RPCBarrelLayers[0];
200 vector<const DetLayer*> RPCEndcapLayers = muonLayers.endcapRPCLayers();
201 const DetLayer* REM3L = RPCEndcapLayers[0];
202 const DetLayer* REM2L = RPCEndcapLayers[1];
203 const DetLayer* REM1L = RPCEndcapLayers[2];
204 const DetLayer* REP1L = RPCEndcapLayers[3];
205 const DetLayer* REP2L = RPCEndcapLayers[4];
206 const DetLayer* REP3L = RPCEndcapLayers[5];
224 cout <<
"RB1in " << recHitsRPC[0].size() <<
" recHits" << endl;
225 cout <<
"RB1out " << recHitsRPC[1].size() <<
" recHits" << endl;
226 cout <<
"RB2in " << recHitsRPC[2].size() <<
" recHits" << endl;
227 cout <<
"RB2out " << recHitsRPC[3].size() <<
" recHits" << endl;
228 cout <<
"RB3 " << recHitsRPC[4].size() <<
" recHits" << endl;
229 cout <<
"RB4 " << recHitsRPC[5].size() <<
" recHits" << endl;
230 cout <<
"REM1 " << recHitsRPC[6].size() <<
" recHits" << endl;
231 cout <<
"REM2 " << recHitsRPC[7].size() <<
" recHits" << endl;
232 cout <<
"REM3 " << recHitsRPC[8].size() <<
" recHits" << endl;
233 cout <<
"REP1 " << recHitsRPC[9].size() <<
" recHits" << endl;
234 cout <<
"REP2 " << recHitsRPC[10].size() <<
" recHits" << endl;
235 cout <<
"REP3 " << recHitsRPC[11].size() <<
" recHits" << endl;
253 for (vector<weightedTrajectorySeed>::iterator weightedseed =
goodweightedSeeds.begin();
256 goodCollection->push_back((*weightedseed).first);
260 candidateCollection->push_back((*weightedseed).first);
274 cout <<
"set link and Geometry EventSetup of RPCSeedFinder, RPCSeedrecHitFinder, RPCCosmicSeedrecHitFinder, " 275 "RPCSeedLayerFinder and RPCSeedOverlapper"
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > fieldToken
void setEdge(const RPCGeometry &)
void setGeometry(const RPCGeometry &iGeom)
edm::InputTag theRPCRecHits
T getParameter(std::string const &) const
void configure(const edm::ParameterSet &iConfig)
void setInput(MuonRecHitContainer(&recHits)[12])
void beginStream(edm::StreamID) override
RPCCosmicSeedrecHitFinder CosmicrecHitFinder
void setOutput(std::vector< weightedTrajectorySeed > *goodweightedRef, std::vector< weightedTrajectorySeed > *candidateweightedRef)
RPCSeedrecHitFinder recHitFinder
const edm::ESGetToken< RPCGeometry, MuonGeometryRecord > brRPCGeometryToken
~RPCSeedGenerator() override
void setInput(MuonRecHitContainer(&recHits)[12])
void endStream() override
MuonTransientTrackingRecHit::ConstMuonRecHitContainer ConstMuonRecHitContainer
std::unique_ptr< MuonDetLayerMeasurements > muonMeasurements
MuonTransientTrackingRecHit::MuonRecHitPointer MuonRecHitPointer
void beginRun(const edm::Run &, const edm::EventSetup &iSetup) override
void configure(const edm::ParameterSet &iConfig)
std::shared_ptr< MuonTransientTrackingRecHit > MuonRecHitPointer
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
void setInput(MuonRecHitContainer(&recHitsRPC)[12])
#define DEFINE_FWK_MODULE(type)
bool getData(T &iHolder) const
void setEventSetup(const MagneticField &field, const RPCGeometry &rpcGeom)
void setOutput(RPCSeedrecHitFinder *Ref, RPCCosmicSeedrecHitFinder *CosmicRef)
std::pair< TrajectorySeed, double > weightedTrajectorySeed
std::vector< ConstMuonRecHitPointer > ConstMuonRecHitContainer
void setOutput(RPCSeedFinder *Seed)
RPCSeedPattern::weightedTrajectorySeed weightedTrajectorySeed
void configure(const edm::ParameterSet &iConfig)
const edm::ESGetToken< RPCGeometry, MuonGeometryRecord > rpcGeometryToken
void configure(const edm::ParameterSet &iConfig)
RPCSeedOverlapper Overlapper
RPCSeedGenerator(const edm::ParameterSet &iConfig)
void setOutput(RPCSeedFinder *Seed)
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
std::vector< weightedTrajectorySeed > goodweightedSeeds
std::vector< weightedTrajectorySeed > candidateweightedSeeds
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
std::vector< MuonRecHitPointer > MuonRecHitContainer
void setIO(std::vector< weightedTrajectorySeed > *goodweightedRef, std::vector< weightedTrajectorySeed > *candidateweightedRef)
const edm::ESGetToken< MuonDetLayerGeometry, MuonRecoGeometryRecord > muonLayersToken
RPCSeedLayerFinder LayerFinder
void configure(const edm::ParameterSet &iConfig)