28 setWhatProduced(
this,myname);
33 std::shared_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 collector_ = std::make_shared<GroupedDAFHitCollector>(measurementhandle.
product(),
64 propagatorOppositehandle.product(),
debug);
67 collector_ = std::make_shared<SimpleDAFHitCollector>(trackerTopologyHandle.
product(),
T getParameter(std::string const &) const
const DepRecordT & getRecord() const
void get(HolderT &iHolder) const
MultiRecHitCollectorESProducer(const edm::ParameterSet &iConfig)
std::shared_ptr< MultiRecHitCollector > produce(const MultiRecHitRecord &)
measurementTrackerName
possibility to inhibit extended forward coverage
virtual ~MultiRecHitCollectorESProducer()
T const * product() const