31 produces<TrajectorySeedCollection>();
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.
void produce(edm::Event &, const edm::EventSetup &) override
Get event properties to send to builder to fill seed collection.
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken_
T getParameter(std::string const &) const
void setGeometry(const MuonDetLayerGeometry *lgeom)
Cache pointer to geometry.
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
~MuonSeedProducer() override
Destructor.
edm::ESGetToken< MuonDetLayerGeometry, MuonRecoGeometryRecord > muonLayersToken_