#include <Basic2DGenericPFlowClusterizer.h>
Public Member Functions | |
Basic2DGenericPFlowClusterizer (const edm::ParameterSet &conf) | |
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) | |
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 9 of file Basic2DGenericPFlowClusterizer.h.
|
private |
Definition at line 10 of file Basic2DGenericPFlowClusterizer.h.
Basic2DGenericPFlowClusterizer::Basic2DGenericPFlowClusterizer | ( | const edm::ParameterSet & | conf | ) |
Definition at line 24 of file Basic2DGenericPFlowClusterizer.cc.
References _allCellsPosCalc, _convergencePosCalc, _layerMap, _recHitEnergyNorms, customizeHLTforCMSSW::depths, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, mps_splice::entry, Exception, timingPdfMaker::get, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, PFLayer::HF_EM, PFLayer::HF_HAD, createfilelist::int, PFLayer::NONE, PFLayer::PS1, PFLayer::PS2, muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, and particleFlowZeroSuppressionECAL_cff::thresholds.
|
overridedefault |
|
delete |
|
overridevirtual |
Implements PFClusterBuilderBase.
Definition at line 83 of file Basic2DGenericPFlowClusterizer.cc.
References _allCellsPosCalc, _convergencePosCalc, PFClusterBuilderBase::_positionCalc, growPFClusters(), SiStripPI::max, eostools::move(), funct::pow(), prunePFClusters(), and seedPFClustersFromTopo().
Referenced by update().
|
private |
Definition at line 132 of file Basic2DGenericPFlowClusterizer.cc.
References _allCellsPosCalc, _convergencePosCalc, _excludeOtherSeeds, _maxIterations, _minFracTot, PFClusterBuilderBase::_positionCalc, _recHitEnergyNorms, _showerSigma2, _stoppingTolerance, funct::abs(), reco::deltaR2(), LEDCalibrationChannels::depth, change_name::diff, myMath::fast_expf(), cropTnPTrees::frac, HLT_2018_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_2018_cff::recHitEnergyNorm, reco::PFCluster::recHitFractions(), and mathSSE::sqrt().
Referenced by buildClusters().
|
private |
Definition at line 254 of file Basic2DGenericPFlowClusterizer.cc.
References PFClusterBuilderBase::_minFractionToKeep, and reco::PFRecHitFraction::fraction().
Referenced by buildClusters().
|
private |
Definition at line 113 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 19 of file Basic2DGenericPFlowClusterizer.h.
References _allCellsPosCalc, _convergencePosCalc, PFClusterBuilderBase::_positionCalc, and buildClusters().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 40 of file Basic2DGenericPFlowClusterizer.h.
Referenced by Basic2DGenericPFlowClusterizer(), buildClusters(), growPFClusters(), and update().
|
private |
Definition at line 41 of file Basic2DGenericPFlowClusterizer.h.
Referenced by Basic2DGenericPFlowClusterizer(), buildClusters(), growPFClusters(), seedPFClustersFromTopo(), and update().
|
private |
Definition at line 35 of file Basic2DGenericPFlowClusterizer.h.
Referenced by growPFClusters().
|
private |
Definition at line 37 of file Basic2DGenericPFlowClusterizer.h.
Referenced by Basic2DGenericPFlowClusterizer().
|
private |
Definition at line 32 of file Basic2DGenericPFlowClusterizer.h.
Referenced by growPFClusters().
|
private |
Definition at line 36 of file Basic2DGenericPFlowClusterizer.h.
Referenced by growPFClusters().
|
private |
Definition at line 39 of file Basic2DGenericPFlowClusterizer.h.
Referenced by Basic2DGenericPFlowClusterizer(), and growPFClusters().
|
private |
Definition at line 34 of file Basic2DGenericPFlowClusterizer.h.
Referenced by growPFClusters().
|
private |
Definition at line 33 of file Basic2DGenericPFlowClusterizer.h.
Referenced by growPFClusters().