31 produces<TrajectorySeedCollection>();
34 debug =
pset.getParameter<
bool>(
"DebugMuonSeed");
41 muonLayersToken_ = esConsumes<MuonDetLayerGeometry, MuonRecoGeometryRecord>();
42 magFieldToken_ = esConsumes<MagneticField, IdealMagneticFieldRecord>();
66 auto output = std::make_unique<TrajectorySeedCollection>();
MuonSeedProducer(const edm::ParameterSet &)
Constructor.
int build(edm::Event &event, const edm::EventSetup &eventSetup, TrajectorySeedCollection &seeds)
Build seed collection.
MuonSeedBuilder * muonSeedBuilder_
Builder where seeds are formed.
void setBField(const MagneticField *theField)
Cache pointer to Magnetic field.
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
void produce(edm::Event &, const edm::EventSetup &) override
Get event properties to send to builder to fill seed collection.
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken_
void setGeometry(const MuonDetLayerGeometry *lgeom)
Cache pointer to geometry.
~MuonSeedProducer() override
Destructor.
edm::ESGetToken< MuonDetLayerGeometry, MuonRecoGeometryRecord > muonLayersToken_