41 : energyCut_(ps.getParameter<double>(
"energyCut")), timeCut_(ps.getParameter<double>(
"timeCut")) {
42 geomToken_ = esConsumes<MTDGeometry, MTDDigiGeometryRecord>();
43 topoToken_ = esConsumes<MTDTopology, MTDTopologyRcd>();
46 produces<reco::MtdRecoClusterToSimLayerClusterAssociator>();
64 auto impl = std::make_unique<MtdRecoClusterToSimLayerClusterAssociatorByHitsImpl>(
66 auto toPut = std::make_unique<reco::MtdRecoClusterToSimLayerClusterAssociator>(
std::move(
impl));
72 desc.add<
double>(
"energyCut", 5.);
73 desc.add<
double>(
"timeCut", 10.);
75 cfg.add(
"mtdRecoClusterToSimLayerClusterAssociatorByHits",
desc);
void setTopology(MTDTopology const *topo)
edm::ESGetToken< MTDTopology, MTDTopologyRcd > topoToken_
#define DEFINE_FWK_MODULE(type)
MtdRecoClusterToSimLayerClusterAssociatorByHitsProducer(const edm::ParameterSet &)
void setGeometry(MTDGeometry const *geom)
edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > geomToken_
~MtdRecoClusterToSimLayerClusterAssociatorByHitsProducer() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ESTransientHandle< T > getTransientHandle(const ESGetToken< T, R > &iToken) const
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override