18 template <
unsigned int N>
36 template <
unsigned int N>
38 : maxComp_(p.getParameter<int>(
"MaxComponents")),
39 distToken_(setWhatProduced(this, p.getParameter<std::
string>(
"ComponentName"))
40 .consumes(edm::
ESInputTag(
"", p.getParameter<std::
string>(
"DistanceMeasure")))) {}
42 template <
unsigned int N>
59 template <
unsigned int N>
62 return std::unique_ptr<MultiGaussianStateMerger<N> >(
66 template <
unsigned int N>
70 desc.
add<
int>(
"MaxComponents");
CloseComponentsMergerESProducer(const edm::ParameterSet &p)
std::unique_ptr< MultiGaussianStateMerger< N > > produce(const TrackingComponentsRecord &)
~CloseComponentsMergerESProducer() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addDefault(ParameterSetDescription const &psetDescription)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
const edm::ESGetToken< DistanceBetweenComponents< N >, TrackingComponentsRecord > distToken_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
CloseComponentsMergerESProducer< 5 > CloseComponentsMergerESProducer5D