#include <HGCal3DClustering.h>
Classes | |
struct | ClusterRef |
Public Types | |
typedef std::vector< reco::BasicCluster > | ClusterCollection |
Public Member Functions | |
void | getEvent (const edm::Event &ev) |
void | getEventSetup (const edm::EventSetup &es) |
HGCal3DClustering () | |
HGCal3DClustering (const edm::ParameterSet &conf, edm::ConsumesCollector &sumes, const std::vector< double > &radii_in, uint32_t min_clusters) | |
HGCal3DClustering (const edm::ParameterSet &conf, edm::ConsumesCollector &sumes) | |
std::vector< reco::HGCalMultiCluster > | makeClusters (const reco::HGCalMultiCluster::ClusterCollection &) |
Private Types | |
typedef KDTreeNodeInfo< ClusterRef > | KDNode |
typedef KDTreeLinkerAlgo< ClusterRef > | KDTree |
Private Member Functions | |
void | layerIntersection (std::array< double, 3 > &to, const std::array< double, 3 > &from) const |
void | organizeByLayer (const reco::HGCalMultiCluster::ClusterCollection &) |
void | reset () |
Private Attributes | |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | caloGeomToken_ |
std::unique_ptr< hgcal::ClusterTools > | clusterTools |
std::vector< size_t > | es |
unsigned int | maxlayer |
std::vector< std::array< float, 2 > > | maxpos |
uint32_t | minClusters |
std::vector< std::array< float, 2 > > | minpos |
std::vector< std::vector< KDNode > > | points |
std::vector< double > | radii |
hgcal::RecHitTools | rhtools_ |
std::vector< float > | zees |
Definition at line 16 of file HGCal3DClustering.h.
typedef std::vector<reco::BasicCluster> HGCal3DClustering::ClusterCollection |
Definition at line 52 of file HGCal3DClustering.h.
|
private |
Definition at line 86 of file HGCal3DClustering.h.
|
private |
Definition at line 85 of file HGCal3DClustering.h.
|
inline |
Definition at line 18 of file HGCal3DClustering.h.
|
inline |
Definition at line 20 of file HGCal3DClustering.h.
|
inline |
Definition at line 30 of file HGCal3DClustering.h.
|
inline |
Definition at line 36 of file HGCal3DClustering.h.
References clusterTools, and makeMEIFBenchmarkPlots::ev.
|
inline |
Definition at line 37 of file HGCal3DClustering.h.
References caloGeomToken_, clusterTools, es, relativeConstraints::geom, hgcal::RecHitTools::lastLayerBH(), maxlayer, maxpos, minpos, points, rhtools_, hgcal::RecHitTools::setGeometry(), and zees.
|
private |
Definition at line 119 of file HGCal3DClustering.cc.
Referenced by makeClusters().
std::vector< reco::HGCalMultiCluster > HGCal3DClustering::makeClusters | ( | const reco::HGCalMultiCluster::ClusterCollection & | thecls | ) |
Definition at line 48 of file HGCal3DClustering.cc.
References funct::abs(), clusterTools, es, hgcal::RecHitTools::firstLayerBH(), newFWLiteAna::found, mps_fire::i, createfilelist::int, dqmiolumiharvest::j, dqmdumpme::k, hgcal::RecHitTools::lastLayerEE(), pixelTopology::layer, layerIntersection(), maxlayer, maxpos, minClusters, minpos, organizeByLayer(), points, position, radii, CosmicsPD_Skims::radius, reset(), rhtools_, groupFilesInBlocks::temp, z, and zees.
|
private |
Definition at line 21 of file HGCal3DClustering.cc.
References relativeConstraints::empty, es, dqmdumpme::first, hgcal::RecHitTools::getLayerWithOffset(), mps_fire::i, createfilelist::int, pixelTopology::layer, SiStripPI::max, maxlayer, maxpos, SiStripPI::min, minpos, points, rhtools_, hgcal_clustering::sorted_indices(), x, y, z, and zees.
Referenced by makeClusters().
|
inlineprivate |
Definition at line 58 of file HGCal3DClustering.h.
References ntuplemaker::fill, mps_fire::i, maxpos, minpos, points, edm::swap(), and zees.
Referenced by makeClusters().
|
private |
Definition at line 94 of file HGCal3DClustering.h.
Referenced by getEventSetup().
|
private |
instance of tools to simplify cluster access.
Definition at line 92 of file HGCal3DClustering.h.
Referenced by getEvent(), getEventSetup(), and makeClusters().
|
private |
vector to contain sorted indices of all clusters.
Definition at line 90 of file HGCal3DClustering.h.
Referenced by getEventSetup(), makeClusters(), and organizeByLayer().
|
private |
Definition at line 74 of file HGCal3DClustering.h.
Referenced by getEventSetup(), makeClusters(), and organizeByLayer().
|
private |
Definition at line 89 of file HGCal3DClustering.h.
Referenced by getEventSetup(), makeClusters(), organizeByLayer(), and reset().
|
private |
Definition at line 77 of file HGCal3DClustering.h.
Referenced by makeClusters().
|
private |
Definition at line 88 of file HGCal3DClustering.h.
Referenced by getEventSetup(), makeClusters(), organizeByLayer(), and reset().
|
private |
Definition at line 87 of file HGCal3DClustering.h.
Referenced by getEventSetup(), makeClusters(), organizeByLayer(), and reset().
|
private |
Definition at line 76 of file HGCal3DClustering.h.
Referenced by makeClusters().
|
private |
instance of tools to access RecHit information.
Definition at line 93 of file HGCal3DClustering.h.
Referenced by getEventSetup(), makeClusters(), and organizeByLayer().
|
private |
vector to contain z position of each layer.
Definition at line 91 of file HGCal3DClustering.h.
Referenced by getEventSetup(), makeClusters(), organizeByLayer(), and reset().