#include <HGCalImagingAlgo.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 |
void | getEventSetupPerAlgorithm (const edm::EventSetup &es) override |
HGCalImagingAlgo (const edm::ParameterSet &ps, edm::ConsumesCollector iC) | |
void | makeClusters () override |
void | populate (const HGCRecHitCollection &hits) override |
void | reset () override |
~HGCalImagingAlgo () override | |
Public Member Functions inherited from HGCalClusteringAlgoBase | |
void | getEventSetup (const edm::EventSetup &es) |
HGCalClusteringAlgoBase (VerbosityLevel v, reco::CaloCluster::AlgoId algo, edm::ConsumesCollector iC) | |
void | setAlgoId (reco::CaloCluster::AlgoId algo, bool isNose=false) |
void | setVerbosity (VerbosityLevel the_verbosity) |
virtual | ~HGCalClusteringAlgoBase () |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &iDesc) |
Private Types | |
typedef KDTreeNodeInfo< Hexel > | KDNode |
typedef KDTreeLinkerAlgo< Hexel > | KDTree |
Private Member Functions | |
double | calculateDistanceToHigher (std::vector< KDNode > &) const |
double | calculateEnergyWithFraction (const std::vector< KDNode > &, const std::vector< double > &) |
double | calculateLocalDensity (std::vector< KDNode > &, KDTree &, const unsigned int) const |
math::XYZPoint | calculatePosition (std::vector< KDNode > &) const |
math::XYZPoint | calculatePositionWithFraction (const std::vector< KDNode > &, const std::vector< double > &) |
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< 2 > &, const unsigned int, std::vector< std::vector< KDNode >> &) const |
std::vector< unsigned > | findLocalMaximaInCluster (const std::vector< KDNode > &) |
void | setDensity (const std::vector< KDNode > &nd) |
void | shareEnergy (const std::vector< KDNode > &, const std::vector< unsigned > &, std::vector< std::vector< double >> &) |
std::vector< size_t > | sort_by_delta (const std::vector< KDNode > &v) const |
Private Attributes | |
std::vector< reco::BasicCluster > | clusters_v_ |
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_ |
double | sigma2_ |
std::vector< std::vector< double > > | sigmaNoise_ |
std::vector< double > | thicknessCorrection_ |
std::vector< std::vector< double > > | thresholds_ |
std::vector< double > | thresholdW0_ |
std::vector< double > | vecDeltas_ |
Additional Inherited Members | |
Public Attributes inherited from HGCalClusteringAlgoBase | |
unsigned int | firstLayerBH_ |
bool | isNose_ |
unsigned int | lastLayerEE_ |
unsigned int | lastLayerFH_ |
unsigned int | maxlayer_ |
int | scintMaxIphi_ |
Protected Attributes inherited from HGCalClusteringAlgoBase | |
reco::CaloCluster::AlgoId | algoId_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | caloGeomToken_ |
std::vector< reco::BasicCluster > | clusters_v_ |
hgcal::RecHitTools | rhtools_ |
VerbosityLevel | verbosity_ |
Definition at line 31 of file HGCalImagingAlgo.h.
|
private |
Definition at line 221 of file HGCalImagingAlgo.h.
|
private |
Definition at line 220 of file HGCalImagingAlgo.h.
point in the space
Definition at line 120 of file HGCalImagingAlgo.h.
|
inline |
Definition at line 33 of file HGCalImagingAlgo.h.
|
inlineoverride |
Definition at line 53 of file HGCalImagingAlgo.h.
|
private |
Definition at line 291 of file HGCalImagingAlgo.cc.
References data, cms::cuda::for(), mps_fire::i, dqmiolumiharvest::j, hgcal_clustering::sorted_indices(), mathSSE::sqrt(), and createJobs::tmp.
|
private |
Definition at line 522 of file HGCalImagingAlgo.cc.
References hfClusterShapes_cfi::hits, mps_fire::i, and mps_fire::result.
|
private |
Definition at line 262 of file HGCalImagingAlgo.cc.
References data, HLT_2022v15_cff::distance, newFWLiteAna::found, mps_fire::i, dqmiolumiharvest::j, SiStripPI::max, and KDTreeLinkerAlgo< DATA, DIM >::search().
|
private |
Definition at line 196 of file HGCalImagingAlgo.cc.
References data, mps_fire::i, heavyIonCSV_trainingSettings::idx, dqm-mbProfile::log, SiStripPI::max, findQualityFiles::v, and x.
|
private |
Definition at line 507 of file HGCalImagingAlgo.cc.
References hfClusterShapes_cfi::hits, mps_fire::i, mps_fire::result, mps_merge::weight, and x.
void HGCalImagingAlgo::computeThreshold | ( | ) |
Definition at line 628 of file HGCalImagingAlgo.cc.
References hgcalLayerClusters_cfi::maxNumberOfThickIndices.
Definition at line 244 of file HGCalImagingAlgo.h.
References distance2(), HLT_2022v15_cff::pt1, HLT_2022v15_cff::pt2, and mathSSE::sqrt().
Definition at line 239 of file HGCalImagingAlgo.h.
References PVValHelper::dx, PVValHelper::dy, HLT_2022v15_cff::pt1, and HLT_2022v15_cff::pt2.
Referenced by distance().
|
inlinestatic |
Definition at line 89 of file HGCalImagingAlgo.h.
References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 344 of file HGCalImagingAlgo.cc.
References KDTreeLinkerAlgo< DATA, DIM >::build(), KDTreeLinkerAlgo< DATA, DIM >::clear(), gather_cfg::cout, data, HLT_2022v15_cff::distance, newFWLiteAna::found, mps_fire::i, dqmiolumiharvest::j, KDTreeLinkerAlgo< DATA, DIM >::search(), and hgcal_clustering::sorted_indices().
|
private |
Definition at line 479 of file HGCalImagingAlgo.cc.
References data, HLT_2022v15_cff::distance, MillePedeFileConverter_cfg::e, mps_fire::i, dqmiolumiharvest::j, mps_fire::result, and fileCollector::seed.
|
overridevirtual |
Implements HGCalClusteringAlgoBase.
Definition at line 119 of file HGCalImagingAlgo.cc.
References AlignmentPI::calculatePosition(), gather_cfg::cout, data, reco::CaloID::DET_HGCAL_ENDCAP, hgcalLayerClusters_cfi::doSharing, MillePedeFileConverter_cfg::e, HCALHighEnergyHPDFilter_cfi::energy, HLT_2022v15_cff::fraction, mps_fire::i, hgcal_clustering::max_index(), position, and DetachedQuadStep_cff::seeds.
|
overridevirtual |
|
overridevirtual |
Reimplemented from HGCalClusteringAlgoBase.
Definition at line 17 of file HGCalImagingAlgo.cc.
|
overridevirtual |
Implements HGCalClusteringAlgoBase.
Definition at line 93 of file HGCalImagingAlgo.cc.
References KDTreeLinkerAlgo< DATA, DIM >::build(), mps_fire::i, and AlCaHLTBitMon_ParallelJobs::p.
|
overridevirtual |
Implements HGCalClusteringAlgoBase.
Definition at line 26 of file HGCalImagingAlgo.cc.
References CaloRecHit::detid(), CaloRecHit::energy(), hfClusterShapes_cfi::hits, mps_fire::i, createfilelist::int, SiStripPI::max, SiStripPI::min, position, and Calorimetry_cff::thickness.
|
inlineoverridevirtual |
Implements HGCalClusteringAlgoBase.
Definition at line 67 of file HGCalImagingAlgo.h.
References clusters_v_, mps_fire::i, layerClustersPerLayer_, maxpos_, minpos_, points_, and edm::swap().
|
private |
|
private |
Definition at line 531 of file HGCalImagingAlgo.cc.
References data, change_name::diff, MillePedeFileConverter_cfg::e, JetChargeProducer_cfi::exp, DivergingColor::frac, HLT_2022v15_cff::fraction, mps_fire::i, dqmiolumiharvest::j, SiStripPI::max, HLT_2022v15_cff::minFracTot, eostools::move(), perp2(), funct::pow(), DetachedQuadStep_cff::seeds, mathSSE::sqrt(), HLT_2022v15_cff::stoppingTolerance, HGCalImagingAlgo::Hexel::x, HGCalImagingAlgo::Hexel::y, and HGCalImagingAlgo::Hexel::z.
|
inlineprivate |
Definition at line 225 of file HGCalImagingAlgo.h.
References testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, heavyIonCSV_trainingSettings::idx, jetUpdater_cfi::sort, and findQualityFiles::v.
|
private |
Definition at line 138 of file HGCalImagingAlgo.h.
Referenced by reset().
|
private |
Definition at line 145 of file HGCalImagingAlgo.h.
|
private |
Definition at line 141 of file HGCalImagingAlgo.h.
|
private |
Definition at line 144 of file HGCalImagingAlgo.h.
|
private |
Definition at line 132 of file HGCalImagingAlgo.h.
|
private |
Definition at line 148 of file HGCalImagingAlgo.h.
|
private |
Definition at line 147 of file HGCalImagingAlgo.h.
|
private |
Definition at line 155 of file HGCalImagingAlgo.h.
|
private |
Definition at line 129 of file HGCalImagingAlgo.h.
|
private |
Definition at line 223 of file HGCalImagingAlgo.h.
Referenced by reset().
|
private |
Definition at line 236 of file HGCalImagingAlgo.h.
Referenced by reset().
|
private |
Definition at line 235 of file HGCalImagingAlgo.h.
Referenced by reset().
|
private |
Definition at line 150 of file HGCalImagingAlgo.h.
|
private |
Definition at line 149 of file HGCalImagingAlgo.h.
|
private |
Definition at line 232 of file HGCalImagingAlgo.h.
Referenced by reset().
|
private |
Definition at line 125 of file HGCalImagingAlgo.h.
|
private |
Definition at line 135 of file HGCalImagingAlgo.h.
|
private |
Definition at line 152 of file HGCalImagingAlgo.h.
|
private |
Definition at line 146 of file HGCalImagingAlgo.h.
|
private |
Definition at line 151 of file HGCalImagingAlgo.h.
|
private |
Definition at line 124 of file HGCalImagingAlgo.h.
|
private |
Definition at line 128 of file HGCalImagingAlgo.h.