1 #ifndef RecoLocalCalo_HGCalRecAlgos_HGCal3DClustering 2 #define RecoLocalCalo_HGCalRecAlgos_HGCal3DClustering 22 const std::vector<double>& radii_in,
23 uint32_t min_clusters)
33 conf.getParameter<
std::
vector<double>>(
"multiclusterRadii"),
34 conf.getParameter<unsigned>(
"minClusters")) {}
61 std::vector<KDNode>().
swap(
it);
64 for (
unsigned int i = 0;
i <
minpos.size();
i++) {
87 std::vector<std::vector<KDNode>>
points;
88 std::vector<std::array<float, 2>>
minpos;
89 std::vector<std::array<float, 2>>
maxpos;
90 std::vector<size_t>
es;
std::vector< std::vector< KDNode > > points
ClusterRef(int ind_i, float z_i)
KDTreeNodeInfo< ClusterRef > KDNode
void getEventSetup(const edm::EventSetup &es)
HGCal3DClustering(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
std::vector< reco::BasicCluster > ClusterCollection
std::vector< double > radii
void swap(Association< C > &lhs, Association< C > &rhs)
void organizeByLayer(const reco::HGCalMultiCluster::ClusterCollection &)
KDTreeLinkerAlgo< ClusterRef > KDTree
std::vector< float > zees
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeomToken_
std::vector< std::array< float, 2 > > maxpos
std::vector< std::array< float, 2 > > minpos
void layerIntersection(std::array< double, 3 > &to, const std::array< double, 3 > &from) const
void getEvent(const edm::Event &ev)
HGCal3DClustering(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes, const std::vector< double > &radii_in, uint32_t min_clusters)
std::unique_ptr< hgcal::ClusterTools > clusterTools
hgcal::RecHitTools rhtools_
std::vector< reco::HGCalMultiCluster > makeClusters(const reco::HGCalMultiCluster::ClusterCollection &)