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);
54 if (mode ==
"Grouped"){
58 collector_ = std::make_shared<GroupedDAFHitCollector>(measurementhandle.
product(),
62 propagatorOppositehandle.product(),
debug);
65 collector_ = std::make_shared<SimpleDAFHitCollector>(measurementhandle.
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