Public Member Functions | |
Basic2DGenericPFlowClusterizer (const edm::ParameterSet &conf, edm::ConsumesCollector &cc) | |
Basic2DGenericPFlowClusterizer (const B2DGPF &)=delete | |
void | buildClusters (const reco::PFClusterCollection &, const std::vector< bool > &, reco::PFClusterCollection &outclus, const HcalPFCuts *) override |
B2DGPF & | operator= (const B2DGPF &)=delete |
void | update (const edm::EventSetup &es) override |
~Basic2DGenericPFlowClusterizer () override=default | |
Public Member Functions inherited from PFClusterBuilderBase | |
std::ostream & | operator<< (std::ostream &o) const |
PFCBB & | operator= (const PFCBB &)=delete |
PFClusterBuilderBase (const edm::ParameterSet &conf, edm::ConsumesCollector &cc) | |
PFClusterBuilderBase (const PFCBB &)=delete | |
void | reset () |
virtual | ~PFClusterBuilderBase ()=default |
Private Types | |
typedef Basic2DGenericPFlowClusterizer | B2DGPF |
Private Member Functions | |
void | growPFClusters (const reco::PFCluster &, const std::vector< bool > &, const unsigned toleranceScaling, const unsigned iter, double dist, reco::PFClusterCollection &, const HcalPFCuts *) const |
void | prunePFClusters (reco::PFClusterCollection &) const |
void | seedPFClustersFromTopo (const reco::PFCluster &, const std::vector< bool > &, reco::PFClusterCollection &, const HcalPFCuts *) const |
Private Attributes | |
std::unique_ptr< PFCPositionCalculatorBase > | _allCellsPosCalc |
std::unique_ptr< PFCPositionCalculatorBase > | _convergencePosCalc |
const bool | _excludeOtherSeeds |
const std::unordered_map< std::string, int > | _layerMap |
const unsigned | _maxIterations |
const double | _minFracTot |
std::unordered_map< int, std::pair< std::vector< int >, std::vector< double > > > | _recHitEnergyNorms |
const double | _showerSigma2 |
const double | _stoppingTolerance |
Additional Inherited Members | |
Public Types inherited from PFClusterBuilderBase | |
typedef PFCPositionCalculatorBase | PosCalc |
Protected Attributes inherited from PFClusterBuilderBase | |
const float | _minFractionToKeep |
unsigned | _nClustersFound |
unsigned | _nSeeds |
std::unique_ptr< PosCalc > | _positionCalc |
Definition at line 16 of file Basic2DGenericPFlowClusterizer.cc.
|
private |
Definition at line 17 of file Basic2DGenericPFlowClusterizer.cc.
Basic2DGenericPFlowClusterizer::Basic2DGenericPFlowClusterizer | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 81 of file Basic2DGenericPFlowClusterizer.cc.
References PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, PFLayer::HF_EM, PFLayer::HF_HAD, createfilelist::int, PFLayer::NONE, PFLayer::PS1, and PFLayer::PS2.
|
overridedefault |
|
delete |
|
overridevirtual |
Implements PFClusterBuilderBase.
Definition at line 141 of file Basic2DGenericPFlowClusterizer.cc.
References _allCellsPosCalc, _convergencePosCalc, PFClusterBuilderBase::_positionCalc, growPFClusters(), input, SiStripPI::max, eostools::move(), funct::pow(), prunePFClusters(), and seedPFClustersFromTopo().
|
private |
Definition at line 192 of file Basic2DGenericPFlowClusterizer.cc.
References _allCellsPosCalc, _convergencePosCalc, _excludeOtherSeeds, _maxIterations, _minFracTot, PFClusterBuilderBase::_positionCalc, _recHitEnergyNorms, _showerSigma2, _stoppingTolerance, funct::abs(), bsc_activity_cfg::clusters, reco::deltaR2(), hcalRecHitTable_cff::depth, change_name::diff, myMath::fast_expf(), DivergingColor::frac, HLT_2024v10_cff::fraction, HcalCondObjectContainer< Item >::getValues(), PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, mps_fire::i, createfilelist::int, B2GTnPMonitor_cfi::item, dqmiolumiharvest::j, edm::Ref< C, T, F >::key(), LOGDRESSED, DetId::rawId(), HLT_2024v10_cff::recHitEnergyNorm, reco::PFCluster::recHitFractions(), and mathSSE::sqrt().
Referenced by buildClusters().
|
private |
Definition at line 321 of file Basic2DGenericPFlowClusterizer.cc.
References PFClusterBuilderBase::_minFractionToKeep, bsc_activity_cfg::clusters, and reco::PFRecHitFraction::fraction().
Referenced by buildClusters().
|
private |
Definition at line 172 of file Basic2DGenericPFlowClusterizer.cc.
References _convergencePosCalc, PFClusterBuilderBase::_positionCalc, reco::PFCluster::addRecHitFraction(), reco::PFCluster::recHitFractions(), and reco::CaloCluster::setSeed().
Referenced by buildClusters().
|
inlineoverridevirtual |
Reimplemented from PFClusterBuilderBase.
Definition at line 26 of file Basic2DGenericPFlowClusterizer.cc.
References _allCellsPosCalc, _convergencePosCalc, and PFClusterBuilderBase::_positionCalc.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 48 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by buildClusters(), growPFClusters(), and update().
|
private |
Definition at line 49 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by buildClusters(), growPFClusters(), seedPFClustersFromTopo(), and update().
|
private |
Definition at line 43 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by growPFClusters().
|
private |
Definition at line 45 of file Basic2DGenericPFlowClusterizer.cc.
|
private |
Definition at line 40 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by growPFClusters().
|
private |
Definition at line 44 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by growPFClusters().
|
private |
Definition at line 47 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by growPFClusters().
|
private |
Definition at line 42 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by growPFClusters().
|
private |
Definition at line 41 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by growPFClusters().