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) 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 |
void | prunePFClusters (reco::PFClusterCollection &) const |
void | seedPFClustersFromTopo (const reco::PFCluster &, const std::vector< bool > &, reco::PFClusterCollection &) 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 14 of file Basic2DGenericPFlowClusterizer.cc.
|
private |
Definition at line 15 of file Basic2DGenericPFlowClusterizer.cc.
Basic2DGenericPFlowClusterizer::Basic2DGenericPFlowClusterizer | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 74 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 134 of file Basic2DGenericPFlowClusterizer.cc.
References _allCellsPosCalc, _convergencePosCalc, PFClusterBuilderBase::_positionCalc, growPFClusters(), input, SiStripPI::max, eostools::move(), convertSQLitetoXML_cfg::output, funct::pow(), prunePFClusters(), and seedPFClustersFromTopo().
|
private |
Definition at line 183 of file Basic2DGenericPFlowClusterizer.cc.
References _allCellsPosCalc, _convergencePosCalc, _excludeOtherSeeds, _maxIterations, _minFracTot, PFClusterBuilderBase::_positionCalc, _recHitEnergyNorms, _showerSigma2, _stoppingTolerance, funct::abs(), bsc_activity_cfg::clusters, reco::deltaR2(), LEDCalibrationChannels::depth, change_name::diff, myMath::fast_expf(), DivergingColor::frac, HLT_2022v15_cff::fraction, PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, mps_fire::i, createfilelist::int, dqmiolumiharvest::j, edm::Ref< C, T, F >::key(), LOGDRESSED, HLT_2022v15_cff::recHitEnergyNorm, reco::PFCluster::recHitFractions(), and mathSSE::sqrt().
Referenced by buildClusters().
|
private |
Definition at line 305 of file Basic2DGenericPFlowClusterizer.cc.
References PFClusterBuilderBase::_minFractionToKeep, bsc_activity_cfg::clusters, and reco::PFRecHitFraction::fraction().
Referenced by buildClusters().
|
private |
Definition at line 164 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 24 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 45 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by buildClusters(), growPFClusters(), and update().
|
private |
Definition at line 46 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by buildClusters(), growPFClusters(), seedPFClustersFromTopo(), and update().
|
private |
Definition at line 40 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by growPFClusters().
|
private |
Definition at line 42 of file Basic2DGenericPFlowClusterizer.cc.
|
private |
Definition at line 37 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by growPFClusters().
|
private |
Definition at line 41 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by growPFClusters().
|
private |
Definition at line 44 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by growPFClusters().
|
private |
Definition at line 39 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by growPFClusters().
|
private |
Definition at line 38 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by growPFClusters().