Go to the documentation of this file. 1 #ifndef RecoLocalCalo_HGCalRecAlgos_HGCal3DClustering
2 #define RecoLocalCalo_HGCalRecAlgos_HGCal3DClustering
23 const std::vector<double>& radii_in,
24 uint32_t min_clusters)
33 conf.getParameter<
std::vector<double>>(
"multiclusterRadii"),
34 conf.getParameter<unsigned>(
"minClusters")) {}
60 std::vector<KDNode>().swap(it);
63 for (
unsigned int i = 0;
i <
minpos.size();
i++) {
86 std::vector<std::vector<KDNode>>
points;
87 std::vector<std::array<float, 2>>
minpos;
88 std::vector<std::array<float, 2>>
maxpos;
89 std::vector<size_t>
es;
void getEventSetup(const edm::EventSetup &es)
std::vector< std::vector< KDNode > > points
KDTreeNodeInfo< ClusterRef > KDNode
KDTreeLinkerAlgo< ClusterRef > KDTree
void organizeByLayer(const reco::HGCalMultiCluster::ClusterCollection &)
HGCal3DClustering(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
std::vector< float > zees
std::vector< reco::BasicCluster > ClusterCollection
std::vector< double > radii
std::vector< std::array< float, 2 > > minpos
std::vector< std::array< float, 2 > > maxpos
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
std::vector< reco::HGCalMultiCluster > makeClusters(const reco::HGCalMultiCluster::ClusterCollection &)
ClusterRef(int ind_i, float z_i)
hgcal::RecHitTools rhtools_