42 : doSharing(ps.getParameter<
bool>(
"doSharing")),
44 std::vector<double> multicluster_radii = ps.
getParameter<std::vector<double>>(
"multiclusterRadii");
52 auto sumes = consumesCollector();
56 produces<std::vector<reco::HGCalMultiCluster>>();
57 produces<std::vector<reco::HGCalMultiCluster>>(
"sharing");
64 desc.addUntracked<
unsigned int>(
"verbosity", 3);
65 desc.add<
bool>(
"doSharing",
false);
68 desc.add<std::vector<double>>(
"multiclusterRadii",
77 desc.add<
unsigned int>(
"minClusters", 3);
78 descriptions.
add(
"hgcalMultiClusters",
desc);
90 for (
unsigned i = 0;
i < clusterHandle->size(); ++
i) {
96 for (
unsigned i = 0;
i < clusterSharingHandle->size(); ++
i) {
102 auto multiclusters = std::make_unique<std::vector<reco::HGCalMultiCluster>>();
103 auto multiclusters_sharing = std::make_unique<std::vector<reco::HGCalMultiCluster>>();
edm::EDGetTokenT< std::vector< reco::BasicCluster > > clusters_token
edm::EDGetTokenT< HGCRecHitCollection > hits_fh_token
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
edm::EDGetTokenT< std::vector< reco::BasicCluster > > clusters_sharing_token
edm::EDGetTokenT< HGCRecHitCollection > hits_bh_token
void push_back(Ptr< T > const &iPtr)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
HGCalClusteringAlgoBase::VerbosityLevel verbosity
edm::EDGetTokenT< HGCRecHitCollection > hits_ee_token
void produce(edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
std::unique_ptr< HGCal3DClustering > multicluster_algo
~HGCalMultiClusterProducer() override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
HGCalMultiClusterProducer(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)