#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 () |
~PFClusterBuilderBase () | |
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 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 16 of file PFlow2DClusterizerWithTime.h.
|
delete |
|
virtual |
Implements PFClusterBuilderBase.
Definition at line 105 of file PFlow2DClusterizerWithTime.cc.
References _allCellsPosCalc, _convergencePosCalc, PFClusterBuilderBase::_positionCalc, growPFClusters(), bookConverter::max, eostools::move(), funct::pow(), prunePFClusters(), and seedPFClustersFromTopo().
|
private |
Definition at line 322 of file PFlow2DClusterizerWithTime.cc.
References _timeResolutionCalcBarrel, _timeResolutionCalcEndcap, PFLayer::ECAL_BARREL, reco::PFRecHit::energy(), PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, GeomDetEnumerators::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, GeomDetEnumerators::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, HLT_FULL_cff::fraction, PFLayer::HCAL_BARREL2, i, edm::Ref< C, T, F >::key(), LOGDRESSED, passChi2Prob(), reco::CaloCluster::position(), reco::PFCluster::recHitFractions(), reco::CaloCluster::seed(), and mathSSE::sqrt().
Referenced by buildClusters().
|
private |
Definition at line 396 of file PFlow2DClusterizerWithTime.cc.
References _minChi2Prob, and beam_dqm_sourceclient-live_cfg::chi2.
Referenced by growPFClusters().
|
private |
Definition at line 293 of file PFlow2DClusterizerWithTime.cc.
References PFClusterBuilderBase::_minFractionToKeep, and reco::PFRecHitFraction::fraction().
Referenced by buildClusters().
|
private |
Definition at line 137 of file PFlow2DClusterizerWithTime.cc.
References _convergencePosCalc, PFClusterBuilderBase::_positionCalc, reco::PFCluster::addRecHitFraction(), 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, and PFClusterBuilderBase::_positionCalc.
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(), if(), 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(), if(), 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 for().
|
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 for(), and growPFClusters().
|
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 if().
|
private |
Definition at line 48 of file PFlow2DClusterizerWithTime.h.
Referenced by clusterTimeResolution(), clusterTimeResolutionFromSeed(), dist2Time(), and if().
|
private |
Definition at line 34 of file PFlow2DClusterizerWithTime.h.
Referenced by dist2Time().
|
private |
Definition at line 35 of file PFlow2DClusterizerWithTime.h.
Referenced by dist2Time().