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, edm::ParameterSet::getParameterSetVector(), PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, PFLayer::HF_EM, PFLayer::HF_HAD, PFLayer::NONE, PFLayer::PS1, PFLayer::PS2, and lowPtGsfElectronSeeds_cfi::thresholds().
|
overridedefault |
|
delete |
|
overridevirtual |
Implements PFClusterBuilderBase.
Definition at line 134 of file Basic2DGenericPFlowClusterizer.cc.
References _allCellsPosCalc, _convergencePosCalc, PFClusterBuilderBase::_positionCalc, growPFClusters(), SiStripPI::max, eostools::move(), 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(), reco::deltaR2(), HLT_FULL_cff::depth, change_name::diff, myMath::fast_expf(), DivergingColor::frac, HLT_FULL_cff::fraction, PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, mps_fire::i, dqmiolumiharvest::j, edm::Ref< C, T, F >::key(), LOGDRESSED, reco::PFCluster::recHitFractions(), and mathSSE::sqrt().
Referenced by buildClusters().
|
private |
Definition at line 305 of file Basic2DGenericPFlowClusterizer.cc.
References PFClusterBuilderBase::_minFractionToKeep, 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(), if(), and update().
|
private |
Definition at line 46 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by buildClusters(), growPFClusters(), if(), seedPFClustersFromTopo(), and update().
|
private |
Definition at line 40 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by growPFClusters().
|
private |
Definition at line 42 of file Basic2DGenericPFlowClusterizer.cc.
Referenced by for().
|
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 for(), and 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().