Go to the documentation of this file. 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;
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
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeomToken_
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_