28 setWhatProduced(
this,myname);
33 std::unique_ptr<MultiRecHitCollector>
36 if (conf_.getParameter<
std::string>(
"Mode")==
"Simple") mode =
"Simple";
42 bool debug = conf_.getParameter<
bool>(
"Debug");
46 iRecord.
get(mrhupdator, mrhuhandle);
56 if (mode ==
"Grouped"){
60 return std::make_unique<GroupedDAFHitCollector>(measurementhandle.
product(),
64 propagatorOppositehandle.product(),
debug);
67 return std::make_unique<SimpleDAFHitCollector>(trackerTopologyHandle.
product(),
T getParameter(std::string const &) const
const DepRecordT & getRecord() const
std::unique_ptr< MultiRecHitCollector > produce(const MultiRecHitRecord &)
void get(HolderT &iHolder) const
MultiRecHitCollectorESProducer(const edm::ParameterSet &iConfig)
measurementTrackerName
possibility to inhibit extended forward coverage
~MultiRecHitCollectorESProducer() override
T const * product() const