#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) |
B2DGPF & | operator= (const B2DGPF &)=delete |
void | update (const edm::EventSetup &es) |
virtual | ~Basic2DGenericPFlowClusterizer () |
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 () |
~PFClusterBuilderBase () | |
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, 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 25 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, and PFLayer::PS2.
|
inlinevirtual |
Definition at line 14 of file Basic2DGenericPFlowClusterizer.h.
|
delete |
|
virtual |
Implements PFClusterBuilderBase.
Definition at line 81 of file Basic2DGenericPFlowClusterizer.cc.
References _allCellsPosCalc, _convergencePosCalc, PFClusterBuilderBase::_positionCalc, growPFClusters(), bookConverter::max, funct::pow(), prunePFClusters(), and seedPFClustersFromTopo().
|
private |
Definition at line 132 of file Basic2DGenericPFlowClusterizer.cc.
References _allCellsPosCalc, _convergencePosCalc, _excludeOtherSeeds, _maxIterations, _minFracTot, PFClusterBuilderBase::_positionCalc, _recHitEnergyNorms, _showerSigma2, _stoppingTolerance, funct::abs(), reco::deltaR2(), diffTreeTool::diff, myMath::fast_expf(), cropTnPTrees::frac, PFLayer::HCAL_BARREL2, i, edm::Ref< C, T, F >::key(), LOGDRESSED, reco::PFCluster::recHitFractions(), and mathSSE::sqrt().
Referenced by buildClusters().
|
private |
Definition at line 241 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(), cond::rpcobimon::current, reco::PFCluster::recHitFractions(), and reco::CaloCluster::setSeed().
Referenced by buildClusters().
|
inlinevirtual |
Reimplemented from PFClusterBuilderBase.
Definition at line 18 of file Basic2DGenericPFlowClusterizer.h.
References _allCellsPosCalc, _convergencePosCalc, and PFClusterBuilderBase::_positionCalc.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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 36 of file Basic2DGenericPFlowClusterizer.h.
Referenced by buildClusters(), growPFClusters(), if(), and update().
|
private |
Definition at line 37 of file Basic2DGenericPFlowClusterizer.h.
Referenced by buildClusters(), growPFClusters(), if(), seedPFClustersFromTopo(), and update().
|
private |
Definition at line 32 of file Basic2DGenericPFlowClusterizer.h.
Referenced by growPFClusters().
|
private |
Definition at line 34 of file Basic2DGenericPFlowClusterizer.h.
Referenced by for().
|
private |
Definition at line 29 of file Basic2DGenericPFlowClusterizer.h.
Referenced by growPFClusters().
|
private |
Definition at line 33 of file Basic2DGenericPFlowClusterizer.h.
Referenced by growPFClusters().
|
private |
Definition at line 35 of file Basic2DGenericPFlowClusterizer.h.
Referenced by for(), and growPFClusters().
|
private |
Definition at line 31 of file Basic2DGenericPFlowClusterizer.h.
Referenced by growPFClusters().
|
private |
Definition at line 30 of file Basic2DGenericPFlowClusterizer.h.
Referenced by growPFClusters().