26 setWhatProduced(
this, myname);
33 if (conf_.getParameter<
std::string>(
"Mode") ==
"Simple")
40 bool debug = conf_.getParameter<
bool>(
"Debug");
43 iRecord.
get(mrhupdator, mrhuhandle);
54 if (mode ==
"Grouped") {
58 propagatorOppositehandle);
59 return std::make_unique<GroupedDAFHitCollector>(measurementhandle.
product(),
63 propagatorOppositehandle.product(),
66 return std::make_unique<SimpleDAFHitCollector>(trackerTopologyHandle.
product(),
T getParameter(std::string const &) const
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
const DepRecordT getRecord() const
std::unique_ptr< MultiRecHitCollector > produce(const MultiRecHitRecord &)
MultiRecHitCollectorESProducer(const edm::ParameterSet &iConfig)
~MultiRecHitCollectorESProducer() override
T const * product() const