1 #ifndef RecoLocalCalo_HGCalRecAlgos_HGCal3DClustering 2 #define RecoLocalCalo_HGCalRecAlgos_HGCal3DClustering 34 clusterTools(std::make_unique<hgcal::ClusterTools>(conf,sumes))
56 std::vector<KDNode>().
swap(it);
59 for(
unsigned int i = 0;
i <
minpos.size();
i++)
81 std::vector< std::vector<KDNode> >
points;
82 std::vector<std::array<float,2> >
minpos;
83 std::vector<std::array<float,2> >
maxpos;
84 std::vector<size_t>
es;
ClusterRef(int ind_i, float z_i)
void getEventSetup(const edm::EventSetup &es)
KDTreeLinkerAlgo< ClusterRef, 2 > KDTree
std::vector< std::array< float, 2 > > maxpos
std::vector< reco::BasicCluster > ClusterCollection
std::vector< double > radii
void swap(Association< C > &lhs, Association< C > &rhs)
void organizeByLayer(const reco::HGCalMultiCluster::ClusterCollection &)
std::vector< float > zees
void layerIntersection(std::array< double, 3 > &to, const std::array< double, 3 > &from) const
void getEvent(const edm::Event &ev)
KDTreeNodeInfoT< ClusterRef, 2 > KDNode
static const unsigned int maxlayer
static const unsigned int lastLayerFH
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< std::vector< KDNode > > points
hgcal::RecHitTools rhtools_
std::vector< reco::HGCalMultiCluster > makeClusters(const reco::HGCalMultiCluster::ClusterCollection &)
static const unsigned int lastLayerEE
std::vector< std::array< float, 2 > > minpos
static const unsigned int maxlayer
static const unsigned int lastLayerBH