#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) | |
std::vector< reco::HGCalMultiCluster > | makeClusters (const reco::HGCalMultiCluster::ClusterCollection &) |
Private Types | |
typedef KDTreeNodeInfoT< ClusterRef, 2 > | KDNode |
typedef KDTreeLinkerAlgo< ClusterRef, 2 > | 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 | |
std::unique_ptr< hgcal::ClusterTools > | clusterTools |
std::vector< size_t > | es |
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 |
Static Private Attributes | |
static const unsigned int | lastLayerBH = 52 |
static const unsigned int | lastLayerEE = 28 |
static const unsigned int | lastLayerFH = 40 |
static const unsigned int | maxlayer = HGCalImagingAlgo::maxlayer |
Definition at line 18 of file HGCal3DClustering.h.
typedef std::vector<reco::BasicCluster> HGCal3DClustering::ClusterCollection |
Definition at line 45 of file HGCal3DClustering.h.
|
private |
Definition at line 80 of file HGCal3DClustering.h.
|
private |
Definition at line 79 of file HGCal3DClustering.h.
|
inline |
Definition at line 22 of file HGCal3DClustering.h.
|
inline |
Definition at line 26 of file HGCal3DClustering.h.
References clusterTools, es, maxlayer, maxpos, and zees.
|
inline |
Definition at line 38 of file HGCal3DClustering.h.
References clusterTools.
|
inline |
Definition at line 39 of file HGCal3DClustering.h.
References clusterTools, hgcal::RecHitTools::getEventSetup(), and rhtools_.
|
private |
Definition at line 119 of file HGCal3DClustering.cc.
Referenced by makeClusters(), and reset().
std::vector< reco::HGCalMultiCluster > HGCal3DClustering::makeClusters | ( | const reco::HGCalMultiCluster::ClusterCollection & | thecls | ) |
Definition at line 50 of file HGCal3DClustering.cc.
References clusterTools, data, es, runEdmFileComparison::found, mps_fire::i, createfilelist::int, gen::k, lastLayerBH, lastLayerEE, lastLayerFH, layerIntersection(), maxlayer, maxpos, minClusters, minpos, organizeByLayer(), points, reco::HGCalMultiCluster::push_back(), radii, TCMET_cfi::radius, reset(), reco::HGCalMultiCluster::size(), groupFilesInBlocks::temp, z, and zees.
|
private |
Definition at line 25 of file HGCal3DClustering.cc.
References relativeConstraints::empty, es, plotBeamSpotDB::first, hgcal::RecHitTools::getLayerWithOffset(), mps_fire::i, createfilelist::int, hpstanc_transforms::max, maxlayer, maxpos, min(), minpos, points, rhtools_, sorted_indices(), x, y, z, and zees.
Referenced by makeClusters().
|
inlineprivate |
Definition at line 52 of file HGCal3DClustering.h.
References lumiContext::fill, mps_fire::i, layerIntersection(), maxpos, minpos, points, edm::swap(), and zees.
Referenced by makeClusters().
|
private |
instance of tools to simplify cluster access.
Definition at line 86 of file HGCal3DClustering.h.
Referenced by getEvent(), getEventSetup(), HGCal3DClustering(), and makeClusters().
|
private |
vector to contain sorted indices of all clusters.
Definition at line 84 of file HGCal3DClustering.h.
Referenced by HGCal3DClustering(), makeClusters(), and organizeByLayer().
|
staticprivate |
Definition at line 90 of file HGCal3DClustering.h.
Referenced by makeClusters().
|
staticprivate |
Definition at line 88 of file HGCal3DClustering.h.
Referenced by makeClusters().
|
staticprivate |
Definition at line 89 of file HGCal3DClustering.h.
Referenced by makeClusters().
|
staticprivate |
Definition at line 68 of file HGCal3DClustering.h.
Referenced by HGCal3DClustering(), makeClusters(), and organizeByLayer().
|
private |
Definition at line 83 of file HGCal3DClustering.h.
Referenced by HGCal3DClustering(), makeClusters(), organizeByLayer(), and reset().
|
private |
Definition at line 71 of file HGCal3DClustering.h.
Referenced by makeClusters().
|
private |
Definition at line 82 of file HGCal3DClustering.h.
Referenced by makeClusters(), organizeByLayer(), and reset().
|
private |
Definition at line 81 of file HGCal3DClustering.h.
Referenced by makeClusters(), organizeByLayer(), and reset().
|
private |
Definition at line 70 of file HGCal3DClustering.h.
Referenced by makeClusters().
|
private |
instance of tools to access RecHit information.
Definition at line 87 of file HGCal3DClustering.h.
Referenced by getEventSetup(), and organizeByLayer().
|
private |
vector to contain z position of each layer.
Definition at line 85 of file HGCal3DClustering.h.
Referenced by HGCal3DClustering(), makeClusters(), organizeByLayer(), and reset().