Public Member Functions | |
void | buildClusters (const reco::PFClusterCollection &, const std::vector< bool > &, reco::PFClusterCollection &outclus) override |
B2DGPF & | operator= (const B2DGPF &)=delete |
PFlow2DClusterizerWithTime (const edm::ParameterSet &conf, edm::ConsumesCollector &cc) | |
PFlow2DClusterizerWithTime (const B2DGPF &)=delete | |
void | update (const edm::EventSetup &es) override |
~PFlow2DClusterizerWithTime () 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 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 16 of file PFlow2DClusterizerWithTime.cc.
|
private |
Definition at line 17 of file PFlow2DClusterizerWithTime.cc.
PFlow2DClusterizerWithTime::PFlow2DClusterizerWithTime | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 90 of file PFlow2DClusterizerWithTime.cc.
References PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, PFLayer::HF_EM, PFLayer::HF_HAD, createfilelist::int, PFLayer::NONE, PFLayer::PS1, and PFLayer::PS2.
|
overridedefault |
|
delete |
|
overridevirtual |
Implements PFClusterBuilderBase.
Definition at line 147 of file PFlow2DClusterizerWithTime.cc.
References _allCellsPosCalc, _convergencePosCalc, PFClusterBuilderBase::_positionCalc, growPFClusters(), input, SiStripPI::max, eostools::move(), convertSQLitetoXML_cfg::output, funct::pow(), prunePFClusters(), and seedPFClustersFromTopo().
|
private |
Definition at line 355 of file PFlow2DClusterizerWithTime.cc.
References _timeResolutionCalcBarrel, _timeResolutionCalcEndcap, PFLayer::ECAL_BARREL, reco::PFRecHit::energy(), PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PixelPluginsPhase0_cfi::isBarrel, reco::PFRecHit::layer(), reco::PFCluster::recHitFractions(), reco::PFCluster::setTime(), reco::PFCluster::setTimeError(), mathSSE::sqrt(), and reco::PFRecHit::time().
Referenced by growPFClusters().
|
private |
Definition at line 338 of file PFlow2DClusterizerWithTime.cc.
References _timeResolutionCalcBarrel, _timeResolutionCalcEndcap, reco::PFRecHit::detId(), PFLayer::ECAL_BARREL, reco::PFRecHit::energy(), PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PixelPluginsPhase0_cfi::isBarrel, reco::PFRecHit::layer(), reco::PFCluster::recHitFractions(), reco::CaloCluster::seed(), reco::PFCluster::setTime(), reco::PFCluster::setTimeError(), mathSSE::sqrt(), and reco::PFRecHit::time().
Referenced by growPFClusters().
|
private |
Definition at line 386 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, RandomServiceHelper::t2, and reco::PFCluster::time().
Referenced by growPFClusters().
|
private |
Definition at line 196 of file PFlow2DClusterizerWithTime.cc.
References _allCellsPosCalc, _clusterTimeResFromSeed, _convergencePosCalc, _excludeOtherSeeds, _maxIterations, _minChi2Prob, _minFracTot, PFClusterBuilderBase::_positionCalc, _recHitEnergyNorms, _showerSigma2, _stoppingTolerance, funct::abs(), bsc_activity_cfg::clusters, clusterTimeResolution(), clusterTimeResolutionFromSeed(), reco::deltaR2(), change_name::diff, dist2Time(), reco::PFCluster::energy(), myMath::fast_expf(), DivergingColor::frac, HLT_2022v11_cff::fraction, PFLayer::HCAL_BARREL2, mps_fire::i, createfilelist::int, edm::Ref< C, T, F >::key(), LOGDRESSED, passChi2Prob(), reco::CaloCluster::position(), HLT_2022v11_cff::recHitEnergyNorm, reco::PFCluster::recHitFractions(), reco::CaloCluster::seed(), and mathSSE::sqrt().
Referenced by buildClusters().
|
private |
Definition at line 419 of file PFlow2DClusterizerWithTime.cc.
References _minChi2Prob, and hltPixelTracks_cff::chi2.
Referenced by growPFClusters().
|
private |
Definition at line 332 of file PFlow2DClusterizerWithTime.cc.
References PFClusterBuilderBase::_minFractionToKeep, bsc_activity_cfg::clusters, and reco::PFRecHitFraction::fraction().
Referenced by buildClusters().
|
private |
Definition at line 177 of file PFlow2DClusterizerWithTime.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 26 of file PFlow2DClusterizerWithTime.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 52 of file PFlow2DClusterizerWithTime.cc.
Referenced by buildClusters(), growPFClusters(), and update().
|
private |
Definition at line 48 of file PFlow2DClusterizerWithTime.cc.
Referenced by growPFClusters().
|
private |
Definition at line 53 of file PFlow2DClusterizerWithTime.cc.
Referenced by buildClusters(), growPFClusters(), seedPFClustersFromTopo(), and update().
|
private |
Definition at line 44 of file PFlow2DClusterizerWithTime.cc.
Referenced by growPFClusters().
|
private |
Definition at line 50 of file PFlow2DClusterizerWithTime.cc.
|
private |
Definition at line 39 of file PFlow2DClusterizerWithTime.cc.
Referenced by growPFClusters().
|
private |
Definition at line 46 of file PFlow2DClusterizerWithTime.cc.
Referenced by dist2Time().
|
private |
Definition at line 47 of file PFlow2DClusterizerWithTime.cc.
Referenced by growPFClusters(), and passChi2Prob().
|
private |
Definition at line 45 of file PFlow2DClusterizerWithTime.cc.
Referenced by growPFClusters().
|
private |
Definition at line 51 of file PFlow2DClusterizerWithTime.cc.
Referenced by growPFClusters().
|
private |
Definition at line 41 of file PFlow2DClusterizerWithTime.cc.
Referenced by growPFClusters().
|
private |
Definition at line 40 of file PFlow2DClusterizerWithTime.cc.
Referenced by growPFClusters().
|
private |
Definition at line 55 of file PFlow2DClusterizerWithTime.cc.
Referenced by clusterTimeResolution(), clusterTimeResolutionFromSeed(), and dist2Time().
|
private |
Definition at line 56 of file PFlow2DClusterizerWithTime.cc.
Referenced by clusterTimeResolution(), clusterTimeResolutionFromSeed(), and dist2Time().
|
private |
Definition at line 42 of file PFlow2DClusterizerWithTime.cc.
Referenced by dist2Time().
|
private |
Definition at line 43 of file PFlow2DClusterizerWithTime.cc.
Referenced by dist2Time().