1 #ifndef __RecoLocalCalo_HGCRecProducers_HGCalMultiClusterProducer_H__
2 #define __RecoLocalCalo_HGCRecProducers_HGCalMultiClusterProducer_H__
54 std::vector<double> multicluster_radii = ps.
getParameter<std::vector<double>>(
"multiclusterRadii");
62 auto sumes = consumesCollector();
66 produces<std::vector<reco::HGCalMultiCluster>>();
67 produces<std::vector<reco::HGCalMultiCluster>>(
"sharing");
75 desc.
add<
bool>(
"doSharing",
false);
78 desc.
add<std::vector<double>>(
"multiclusterRadii",
86 desc.
add<
unsigned int>(
"minClusters", 3);
87 descriptions.
add(
"hgcalMultiClusters", desc);
99 for (
unsigned i = 0;
i < clusterHandle->size(); ++
i) {
105 for (
unsigned i = 0;
i < clusterSharingHandle->size(); ++
i) {
111 auto multiclusters = std::make_unique<std::vector<reco::HGCalMultiCluster>>();
112 auto multiclusters_sharing = std::make_unique<std::vector<reco::HGCalMultiCluster>>();