#include <PFlow2DClusterizerWithTime.h>
Public Member Functions | |
void | buildClusters (const reco::PFClusterCollection &, const std::vector< bool > &, reco::PFClusterCollection &outclus) |
B2DGPF & | operator= (const B2DGPF &)=delete |
PFlow2DClusterizerWithTime (const edm::ParameterSet &conf) | |
PFlow2DClusterizerWithTime (const B2DGPF &)=delete | |
void | update (const edm::EventSetup &es) |
virtual | ~PFlow2DClusterizerWithTime () |
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 PFlow2DClusterizerWithTime | B2DGPF |
Private Member Functions | |
void | clusterTimeResolution (reco::PFCluster &cluster, double &res) const |
void | clusterTimeResolutionFromSeed (reco::PFCluster &cluster, double &res) const |
double | dist2Time (const reco::PFCluster &, const reco::PFRecHitRef &, int cell_layer, double prev_timeres2) const |
void | growPFClusters (const reco::PFCluster &, const std::vector< bool > &, const unsigned toleranceScaling, const unsigned iter, double dist, reco::PFClusterCollection &) const |
bool | passChi2Prob (size_t iCluster, double dist2, std::vector< double > &clus_chi2, std::vector< size_t > &clus_chi2_nhits) 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 |
const bool | _clusterTimeResFromSeed |
std::unique_ptr< PFCPositionCalculatorBase > | _convergencePosCalc |
const bool | _excludeOtherSeeds |
const std::unordered_map< std::string, int > | _layerMap |
const unsigned | _maxIterations |
const double | _maxNSigmaTime |
const double | _minChi2Prob |
const double | _minFracTot |
std::unordered_map< int, double > | _recHitEnergyNorms |
const double | _showerSigma2 |
const double | _stoppingTolerance |
std::unique_ptr< CaloRecHitResolutionProvider > | _timeResolutionCalcBarrel |
std::unique_ptr< CaloRecHitResolutionProvider > | _timeResolutionCalcEndcap |
const double | _timeSigma_eb |
const double | _timeSigma_ee |
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 11 of file PFlow2DClusterizerWithTime.h.
|
private |
Definition at line 12 of file PFlow2DClusterizerWithTime.h.
PFlow2DClusterizerWithTime::PFlow2DClusterizerWithTime | ( | const edm::ParameterSet & | conf | ) |
Definition at line 27 of file PFlow2DClusterizerWithTime.cc.
References _allCellsPosCalc, _convergencePosCalc, _layerMap, _recHitEnergyNorms, _timeResolutionCalcBarrel, _timeResolutionCalcEndcap, buildClusters(), PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, mps_splice::entry, Exception, reco::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, NULL, PFLayer::PS1, PFLayer::PS2, muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, and particleFlowRecHitECAL_cfi::thresholds.
Referenced by ~PFlow2DClusterizerWithTime().
|
inlinevirtual |
Definition at line 16 of file PFlow2DClusterizerWithTime.h.
References operator=(), and PFlow2DClusterizerWithTime().
|
delete |
|
virtual |
Implements PFClusterBuilderBase.
Definition at line 105 of file PFlow2DClusterizerWithTime.cc.
References _allCellsPosCalc, _convergencePosCalc, PFClusterBuilderBase::_positionCalc, growPFClusters(), hpstanc_transforms::max, eostools::move(), funct::pow(), prunePFClusters(), and seedPFClustersFromTopo().
Referenced by PFlow2DClusterizerWithTime(), and update().
|
private |
Definition at line 322 of file PFlow2DClusterizerWithTime.cc.
References _timeResolutionCalcBarrel, _timeResolutionCalcEndcap, PFLayer::ECAL_BARREL, reco::PFRecHit::energy(), PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, gedGsfElectrons_cfi::isBarrel, reco::PFRecHit::layer(), reco::PFCluster::recHitFractions(), reco::PFCluster::setTime(), and reco::PFRecHit::time().
Referenced by growPFClusters().
|
private |
Definition at line 301 of file PFlow2DClusterizerWithTime.cc.
References _timeResolutionCalcBarrel, _timeResolutionCalcEndcap, reco::PFRecHit::detId(), PFLayer::ECAL_BARREL, reco::PFRecHit::energy(), PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, gedGsfElectrons_cfi::isBarrel, reco::PFRecHit::layer(), reco::PFCluster::recHitFractions(), reco::CaloCluster::seed(), reco::PFCluster::setTime(), and reco::PFRecHit::time().
Referenced by growPFClusters().
|
private |
Definition at line 356 of file PFlow2DClusterizerWithTime.cc.
References _maxNSigmaTime, _timeResolutionCalcBarrel, _timeResolutionCalcEndcap, _timeSigma_eb, _timeSigma_ee, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, PFLayer::HF_EM, PFLayer::HF_HAD, reco::t2, and reco::PFCluster::time().
Referenced by growPFClusters().
|
private |
Definition at line 156 of file PFlow2DClusterizerWithTime.cc.
References _allCellsPosCalc, _clusterTimeResFromSeed, _convergencePosCalc, _excludeOtherSeeds, _maxIterations, _minChi2Prob, _minFracTot, PFClusterBuilderBase::_positionCalc, _recHitEnergyNorms, _showerSigma2, _stoppingTolerance, funct::abs(), clusterTimeResolution(), clusterTimeResolutionFromSeed(), reco::deltaR2(), mps_update::diff, dist2Time(), reco::PFCluster::energy(), myMath::fast_expf(), cropTnPTrees::frac, dedxEstimators_cff::fraction, PFLayer::HCAL_BARREL2, mps_fire::i, createfilelist::int, edm::Ref< C, T, F >::key(), LOGDRESSED, passChi2Prob(), reco::CaloCluster::position(), prunePFClusters(), particleFlowClusterECALUncorrected_cfi::recHitEnergyNorm, reco::PFCluster::recHitFractions(), reco::CaloCluster::seed(), and mathSSE::sqrt().
Referenced by buildClusters(), and seedPFClustersFromTopo().
Referenced by ~PFlow2DClusterizerWithTime().
|
private |
Definition at line 396 of file PFlow2DClusterizerWithTime.cc.
References _minChi2Prob, and HiEvtPlane_cfi::chi2.
Referenced by growPFClusters().
|
private |
Definition at line 293 of file PFlow2DClusterizerWithTime.cc.
References PFClusterBuilderBase::_minFractionToKeep, and reco::PFRecHitFraction::fraction().
Referenced by buildClusters(), and growPFClusters().
|
private |
Definition at line 137 of file PFlow2DClusterizerWithTime.cc.
References _convergencePosCalc, PFClusterBuilderBase::_positionCalc, reco::PFCluster::addRecHitFraction(), growPFClusters(), reco::PFCluster::recHitFractions(), and reco::CaloCluster::setSeed().
Referenced by buildClusters().
|
inlinevirtual |
Reimplemented from PFClusterBuilderBase.
Definition at line 20 of file PFlow2DClusterizerWithTime.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 44 of file PFlow2DClusterizerWithTime.h.
Referenced by buildClusters(), growPFClusters(), PFlow2DClusterizerWithTime(), and update().
|
private |
Definition at line 40 of file PFlow2DClusterizerWithTime.h.
Referenced by growPFClusters().
|
private |
Definition at line 45 of file PFlow2DClusterizerWithTime.h.
Referenced by buildClusters(), growPFClusters(), PFlow2DClusterizerWithTime(), seedPFClustersFromTopo(), and update().
|
private |
Definition at line 36 of file PFlow2DClusterizerWithTime.h.
Referenced by growPFClusters().
|
private |
Definition at line 42 of file PFlow2DClusterizerWithTime.h.
Referenced by PFlow2DClusterizerWithTime().
|
private |
Definition at line 31 of file PFlow2DClusterizerWithTime.h.
Referenced by growPFClusters().
|
private |
Definition at line 38 of file PFlow2DClusterizerWithTime.h.
Referenced by dist2Time().
|
private |
Definition at line 39 of file PFlow2DClusterizerWithTime.h.
Referenced by growPFClusters(), and passChi2Prob().
|
private |
Definition at line 37 of file PFlow2DClusterizerWithTime.h.
Referenced by growPFClusters().
|
private |
Definition at line 43 of file PFlow2DClusterizerWithTime.h.
Referenced by growPFClusters(), and PFlow2DClusterizerWithTime().
|
private |
Definition at line 33 of file PFlow2DClusterizerWithTime.h.
Referenced by growPFClusters().
|
private |
Definition at line 32 of file PFlow2DClusterizerWithTime.h.
Referenced by growPFClusters().
|
private |
Definition at line 47 of file PFlow2DClusterizerWithTime.h.
Referenced by clusterTimeResolution(), clusterTimeResolutionFromSeed(), dist2Time(), and PFlow2DClusterizerWithTime().
|
private |
Definition at line 48 of file PFlow2DClusterizerWithTime.h.
Referenced by clusterTimeResolution(), clusterTimeResolutionFromSeed(), dist2Time(), and PFlow2DClusterizerWithTime().
|
private |
Definition at line 34 of file PFlow2DClusterizerWithTime.h.
Referenced by dist2Time().
|
private |
Definition at line 35 of file PFlow2DClusterizerWithTime.h.
Referenced by dist2Time().