#include <HGCalCLUEAlgo.h>
Classes | |
struct | Hexel |
Public Types | |
typedef math::XYZPoint | Point |
point in the space More... | |
Public Types inherited from HGCalClusteringAlgoBase | |
enum | VerbosityLevel { pDEBUG = 0, pWARNING = 1, pINFO = 2, pERROR = 3 } |
Public Member Functions | |
void | computeThreshold () |
std::vector< reco::BasicCluster > | getClusters (bool) override |
Density | getDensity () override |
HGCalCLUEAlgo (const edm::ParameterSet &ps) | |
void | makeClusters () override |
void | populate (const HGCRecHitCollection &hits) override |
void | reset () override |
~HGCalCLUEAlgo () override | |
Public Member Functions inherited from HGCalClusteringAlgoBase | |
void | getEventSetup (const edm::EventSetup &es) |
HGCalClusteringAlgoBase (VerbosityLevel v, reco::CaloCluster::AlgoId algo) | |
void | setAlgoId (reco::CaloCluster::AlgoId algo) |
void | setVerbosity (VerbosityLevel the_verbosity) |
virtual | ~HGCalClusteringAlgoBase () |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &iDesc) |
Private Types | |
typedef KDTreeNodeInfoT< Hexel, 2 > | KDNode |
typedef KDTreeLinkerAlgo< Hexel, 2 > | KDTree |
Private Member Functions | |
double | calculateDistanceToHigher (std::vector< KDNode > &) const |
double | calculateLocalDensity (std::vector< KDNode > &, KDTree &, const unsigned int) const |
math::XYZPoint | calculatePosition (const std::vector< KDNode > &) const |
double | distance (const Hexel &pt1, const Hexel &pt2) const |
double | distance2 (const Hexel &pt1, const Hexel &pt2) const |
int | findAndAssignClusters (std::vector< KDNode > &, KDTree &, double, KDTreeBox &, const unsigned int, std::vector< std::vector< KDNode > > &) const |
void | setDensity (const std::vector< KDNode > &nd) |
std::vector< size_t > | sort_by_delta (const std::vector< KDNode > &v) const |
Private Attributes | |
std::vector< double > | dEdXweights_ |
Density | density_ |
bool | dependSensor_ |
double | ecut_ |
double | fcPerEle_ |
std::vector< double > | fcPerMip_ |
bool | initialized_ |
double | kappa_ |
std::vector< std::vector< std::vector< KDNode > > > | layerClustersPerLayer_ |
std::vector< std::array< float, 2 > > | maxpos_ |
std::vector< std::array< float, 2 > > | minpos_ |
double | noiseMip_ |
std::vector< double > | nonAgedNoises_ |
std::vector< std::vector< KDNode > > | points_ |
std::vector< double > | positionDeltaRho_c_ |
std::vector< double > | thicknessCorrection_ |
std::vector< std::vector< double > > | thresholds_ |
std::vector< double > | thresholdW0_ |
std::vector< std::vector< double > > | v_sigmaNoise_ |
std::vector< double > | vecDeltas_ |
Additional Inherited Members | |
Static Public Attributes inherited from HGCalClusteringAlgoBase | |
static const unsigned int | lastLayerEE = 28 |
static const unsigned int | lastLayerFH = 40 |
static const unsigned int | maxlayer = 52 |
Protected Attributes inherited from HGCalClusteringAlgoBase | |
reco::CaloCluster::AlgoId | algoId_ |
std::vector< reco::BasicCluster > | clusters_v_ |
hgcal::RecHitTools | rhtools_ |
VerbosityLevel | verbosity_ |
Definition at line 31 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 206 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 205 of file HGCalCLUEAlgo.h.
typedef math::XYZPoint HGCalCLUEAlgo::Point |
point in the space
Definition at line 120 of file HGCalCLUEAlgo.h.
|
inline |
Definition at line 34 of file HGCalCLUEAlgo.h.
References HGCalClusteringAlgoBase::maxlayer, and maxpos_.
|
inlineoverride |
Definition at line 55 of file HGCalCLUEAlgo.h.
References getClusters(), hfClusterShapes_cfi::hits, makeClusters(), and populate().
|
private |
Definition at line 240 of file HGCalCLUEAlgo.cc.
References data, mps_fire::i, hgcal_clustering::sorted_indices(), mathSSE::sqrt(), and tmp.
Referenced by distance().
|
private |
Definition at line 210 of file HGCalCLUEAlgo.cc.
References data, SoftLeptonByDistance_cfi::distance, runEdmFileComparison::found, mps_fire::i, SiStripPI::max, and KDTreeLinkerAlgo< DATA >::search().
Referenced by distance().
|
private |
Definition at line 145 of file HGCalCLUEAlgo.cc.
References data, mps_fire::i, training_settings::idx, cmsBatch::log, and SiStripPI::max.
Referenced by distance().
void HGCalCLUEAlgo::computeThreshold | ( | ) |
Definition at line 369 of file HGCalCLUEAlgo.cc.
Referenced by reset().
Definition at line 231 of file HGCalCLUEAlgo.h.
References calculateDistanceToHigher(), calculateLocalDensity(), calculatePosition(), distance2(), findAndAssignClusters(), setDensity(), and mathSSE::sqrt().
Definition at line 226 of file HGCalCLUEAlgo.h.
References PVValHelper::dx, PVValHelper::dy, HGCalCLUEAlgo::Hexel::x, and HGCalCLUEAlgo::Hexel::y.
Referenced by distance().
|
inlinestatic |
Definition at line 87 of file HGCalCLUEAlgo.h.
References edm::ParameterSetDescription::add(), and edm::ParameterSetDescription::addUntracked().
|
private |
Definition at line 287 of file HGCalCLUEAlgo.cc.
References data, mps_fire::i, LogDebug, and hgcal_clustering::sorted_indices().
Referenced by distance().
|
overridevirtual |
Implements HGCalClusteringAlgoBase.
Definition at line 109 of file HGCalCLUEAlgo.cc.
References AlignmentPI::calculatePosition(), GetRecoTauVFromDQM_MC_cff::cl, data, reco::CaloID::DET_HGCAL_ENDCAP, LogDebug, hgcal_clustering::max_index(), and position.
Referenced by ~HGCalCLUEAlgo().
|
overridevirtual |
Implements HGCalClusteringAlgoBase.
Definition at line 408 of file HGCalCLUEAlgo.cc.
Referenced by reset().
|
overridevirtual |
Implements HGCalClusteringAlgoBase.
Definition at line 82 of file HGCalCLUEAlgo.cc.
References KDTreeLinkerAlgo< DATA >::build(), mps_fire::i, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by ~HGCalCLUEAlgo().
|
overridevirtual |
Implements HGCalClusteringAlgoBase.
Definition at line 17 of file HGCalCLUEAlgo.cc.
References CaloRecHit::detid(), CaloRecHit::energy(), mps_fire::i, createfilelist::int, SiStripPI::max, min(), position, and edm::SortedCollection< T, SORT >::size().
Referenced by ~HGCalCLUEAlgo().
|
inlineoverridevirtual |
Implements HGCalClusteringAlgoBase.
Definition at line 68 of file HGCalCLUEAlgo.h.
References HGCalClusteringAlgoBase::clusters_v_, computeThreshold(), getDensity(), mps_fire::i, layerClustersPerLayer_, maxpos_, minpos_, points_, and edm::swap().
|
private |
|
inlineprivate |
Definition at line 210 of file HGCalCLUEAlgo.h.
References begin, end, training_settings::idx, jetUpdater_cfi::sort, and findQualityFiles::v.
|
private |
Definition at line 140 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 135 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 139 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 132 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 143 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 142 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 150 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 129 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 208 of file HGCalCLUEAlgo.h.
Referenced by reset().
|
private |
Definition at line 223 of file HGCalCLUEAlgo.h.
Referenced by HGCalCLUEAlgo(), and reset().
|
private |
Definition at line 222 of file HGCalCLUEAlgo.h.
Referenced by reset().
|
private |
Definition at line 145 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 144 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 218 of file HGCalCLUEAlgo.h.
Referenced by reset().
|
private |
Definition at line 125 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 141 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 146 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 124 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 147 of file HGCalCLUEAlgo.h.
|
private |
Definition at line 128 of file HGCalCLUEAlgo.h.