\ Algorithm for box particle flow super clustering in the ECAL More...
#include <PFECALSuperClusterAlgo.h>
Classes | |
class | CalibratedPFCluster |
Public Types | |
typedef std::shared_ptr< CalibratedPFCluster > | CalibratedClusterPtr |
typedef std::vector< CalibratedClusterPtr > | CalibratedClusterPtrVector |
enum | clustering_type { kBOX =1, kMustache =2 } |
enum | energy_weight { kRaw, kCalibratedNoPS, kCalibratedTotal } |
Private Member Functions | |
void | buildAllSuperClusters (CalibratedClusterPtrVector &, double seedthresh) |
void | buildSuperCluster (CalibratedClusterPtr &, CalibratedClusterPtrVector &) |
\ Algorithm for box particle flow super clustering in the ECAL
Original Author: Nicolas Chanon Additional Authors (Mustache): Y. Gershtein, R. Patel, L. Gray
Definition at line 52 of file PFECALSuperClusterAlgo.h.
typedef std::shared_ptr<CalibratedPFCluster> PFECALSuperClusterAlgo::CalibratedClusterPtr |
Definition at line 72 of file PFECALSuperClusterAlgo.h.
typedef std::vector<CalibratedClusterPtr> PFECALSuperClusterAlgo::CalibratedClusterPtrVector |
Definition at line 73 of file PFECALSuperClusterAlgo.h.
Enumerator | |
---|---|
kRaw | |
kCalibratedNoPS | |
kCalibratedTotal |
Definition at line 55 of file PFECALSuperClusterAlgo.h.
PFECALSuperClusterAlgo::PFECALSuperClusterAlgo | ( | ) |
constructor
Definition at line 175 of file PFECALSuperClusterAlgo.cc.
References setPFClusterCalibration().
|
private |
Definition at line 318 of file PFECALSuperClusterAlgo.cc.
References buildSuperCluster(), fastPrimaryVertexProducer_cfi::clusters, and threshIsET_.
Referenced by run().
|
private |
Definition at line 333 of file PFECALSuperClusterAlgo.cc.
References _clustype, _eweight, _pfEnergyCalibration, _useDynamicDPhi, reco::SuperCluster::addCluster(), reco::CaloCluster::addHitAndFraction(), reco::SuperCluster::addPreshowerCluster(), applyCrackCorrections_, barrelRecHits_, beamSpot_, channelStatus_, TauDecayModes::dec, doSatelliteClusterMerge_, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, EEtoPS_, endcapRecHits_, reco::PFCluster::energy(), reco::CaloCluster::energy(), etawidthSuperClusterBarrel_, etawidthSuperClusterEndcap_, Exception, ESCondObjectContainer< T >::find(), spr::find(), edm::SortedCollection< T, SORT >::find(), fractionForMajority_, edm::Ptr< T >::get(), ESCondObjectContainer< T >::getMap(), PFLayer::HGCAL, isOOTCollection_, kCalibratedNoPS, kCalibratedTotal, EcalRecHit::kOutOfTime, kRaw, reco::PFCluster::layer(), PFClusterWidthAlgo::pflowEtaWidth(), PFClusterWidthAlgo::pflowPhiWidth(), phiwidthSuperClusterBarrel_, phiwidthSuperClusterEndcap_, reco::BeamSpot::position(), reco::CaloCluster::position(), RecoTauValidation_cfi::posX, RecoTauValidation_cfi::posY, reco::SuperCluster::preshowerClustersBegin(), reco::SuperCluster::preshowerClustersEnd(), PFLayer::PS1, PFLayer::PS2, ptFast(), reco::SuperCluster::rawEnergy(), reco::PFCluster::recHitFractions(), regr_, satelliteThreshold_, reco::SuperCluster::seed(), reco::CaloCluster::setCorrectedEnergy(), reco::SuperCluster::setEtaWidth(), reco::SuperCluster::setPhiWidth(), reco::SuperCluster::setPreshowerEnergy(), reco::SuperCluster::setPreshowerEnergyPlane1(), reco::SuperCluster::setPreshowerEnergyPlane2(), reco::SuperCluster::setSeed(), sortByKey(), superClustersEB_, superClustersEE_, threshSuperClusterEt_, useRegression_, and verbose_.
Referenced by buildAllSuperClusters().
|
inline |
Definition at line 123 of file PFECALSuperClusterAlgo.h.
References superClustersEB_.
|
inline |
Definition at line 125 of file PFECALSuperClusterAlgo.h.
References loadAndSortPFClusters(), run(), and superClustersEE_.
void PFECALSuperClusterAlgo::loadAndSortPFClusters | ( | const edm::Event & | evt | ) |
Definition at line 225 of file PFECALSuperClusterAlgo.cc.
References _clustersEB, _clustersEE, barrelRecHits_, beamSpot_, fastPrimaryVertexProducer_cfi::clusters, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, EEtoPS_, endcapRecHits_, Exception, edm::Event::getByToken(), PFLayer::HGCAL, mps_fire::i, inputTagBarrelRecHits_, inputTagBeamSpot_, inputTagEndcapRecHits_, inputTagPFClusters_, inputTagPFClustersES_, isOOTCollection_, edm::HandleBase::isValid(), LogDebug, edm::Handle< T >::product(), regr_, superClustersEB_, superClustersEE_, threshPFClusterBarrel_, threshPFClusterEndcap_, and useRegression_.
Referenced by getEEOutputSCCollection(), and update().
void PFECALSuperClusterAlgo::run | ( | void | ) |
Definition at line 310 of file PFECALSuperClusterAlgo.cc.
References _clustersEB, _clustersEE, buildAllSuperClusters(), threshPFClusterSeedBarrel_, and threshPFClusterSeedEndcap_.
Referenced by getEEOutputSCCollection().
|
inline |
|
inline |
Definition at line 116 of file PFECALSuperClusterAlgo.h.
References particleFlowSuperClusterECAL_cfi::applyCrackCorrections, applyCrackCorrections_, setTokens(), and update().
|
inline |
|
inline |
Definition at line 99 of file PFECALSuperClusterAlgo.h.
References etawidthSuperClusterBarrel_.
|
inline |
Definition at line 101 of file PFECALSuperClusterAlgo.h.
References etawidthSuperClusterEndcap_.
|
inline |
Definition at line 114 of file PFECALSuperClusterAlgo.h.
References particleFlowSuperClusterOOTECAL_cff::isOOTCollection, and isOOTCollection_.
|
inline |
Definition at line 110 of file PFECALSuperClusterAlgo.h.
References f, and fractionForMajority_.
void PFECALSuperClusterAlgo::setPFClusterCalibration | ( | const std::shared_ptr< PFEnergyCalibration > & | calib | ) |
Definition at line 178 of file PFECALSuperClusterAlgo.cc.
References _pfEnergyCalibration, and calib.
Referenced by PFECALSuperClusterAlgo(), and setUsePS().
|
inline |
Definition at line 98 of file PFECALSuperClusterAlgo.h.
References phiwidthSuperClusterBarrel_.
|
inline |
Definition at line 100 of file PFECALSuperClusterAlgo.h.
References phiwidthSuperClusterEndcap_.
|
inline |
Definition at line 108 of file PFECALSuperClusterAlgo.h.
References doSatelliteClusterMerge_.
|
inline |
Definition at line 109 of file PFECALSuperClusterAlgo.h.
References satelliteThreshold_, and lumiQTWidget::t.
|
inline |
Definition at line 94 of file PFECALSuperClusterAlgo.h.
References scrapingFilter_cfi::thresh, and threshPFClusterBarrel_.
|
inline |
Definition at line 96 of file PFECALSuperClusterAlgo.h.
References scrapingFilter_cfi::thresh, and threshPFClusterEndcap_.
|
inline |
Definition at line 106 of file PFECALSuperClusterAlgo.h.
References scrapingFilter_cfi::thresh, and threshPFClusterES_.
|
inline |
Definition at line 93 of file PFECALSuperClusterAlgo.h.
References scrapingFilter_cfi::thresh, and threshPFClusterSeedBarrel_.
|
inline |
Definition at line 95 of file PFECALSuperClusterAlgo.h.
References scrapingFilter_cfi::thresh, and threshPFClusterSeedEndcap_.
|
inline |
Definition at line 91 of file PFECALSuperClusterAlgo.h.
References scrapingFilter_cfi::thresh, and threshSuperClusterEt_.
void PFECALSuperClusterAlgo::setTokens | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | cc | ||
) |
Definition at line 182 of file PFECALSuperClusterAlgo.cc.
References edm::ParameterSet::getParameter(), inputTagBarrelRecHits_, inputTagBeamSpot_, inputTagEndcapRecHits_, inputTagPFClusters_, inputTagPFClustersES_, isOOTCollection_, regr_, and useRegression_.
Referenced by setCrackCorrections().
|
inline |
|
inline |
|
inline |
Definition at line 102 of file PFECALSuperClusterAlgo.h.
References setPFClusterCalibration(), and usePS.
|
inline |
Definition at line 89 of file PFECALSuperClusterAlgo.h.
References particleFlowSuperClusterECAL_cfi::useRegression, and useRegression_.
|
inline |
void PFECALSuperClusterAlgo::update | ( | const edm::EventSetup & | setup | ) |
Definition at line 206 of file PFECALSuperClusterAlgo.cc.
References _pfEnergyCalibration, channelStatus_, edm::EventSetup::get(), loadAndSortPFClusters(), edm::ESHandle< T >::product(), regr_, and useRegression_.
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(), setCrackCorrections(), 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 140 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and run().
|
private |
Definition at line 141 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and run().
|
private |
Definition at line 146 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setClusteringType().
|
private |
Definition at line 147 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setEnergyWeighting().
|
private |
Definition at line 145 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), setPFClusterCalibration(), and update().
|
private |
Definition at line 180 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setUseDynamicDPhi().
|
private |
Definition at line 182 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setCrackCorrections().
|
private |
Definition at line 191 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and loadAndSortPFClusters().
|
private |
Definition at line 137 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and loadAndSortPFClusters().
|
private |
Definition at line 138 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and update().
|
private |
Definition at line 177 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setSatelliteMerging().
|
private |
Definition at line 144 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and loadAndSortPFClusters().
|
private |
Definition at line 192 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and loadAndSortPFClusters().
|
private |
Definition at line 163 of file PFECALSuperClusterAlgo.h.
|
private |
Definition at line 173 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setEtawidthSuperClusterBarrel().
|
private |
Definition at line 175 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setEtawidthSuperClusterEndcap().
|
private |
Definition at line 178 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setMajorityFraction().
|
private |
Definition at line 189 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and setTokens().
|
private |
Definition at line 135 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and setTokens().
|
private |
Definition at line 190 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and setTokens().
|
private |
Definition at line 133 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and setTokens().
|
private |
Definition at line 134 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and setTokens().
|
private |
Definition at line 188 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), loadAndSortPFClusters(), setIsOOTCollection(), and setTokens().
|
private |
Definition at line 164 of file PFECALSuperClusterAlgo.h.
|
private |
Definition at line 172 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setPhiwidthSuperClusterBarrel().
|
private |
Definition at line 174 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setPhiwidthSuperClusterEndcap().
|
private |
Definition at line 157 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), loadAndSortPFClusters(), setTokens(), and update().
|
private |
Definition at line 178 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setSatelliteThreshold().
|
private |
Definition at line 142 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), getEBOutputSCCollection(), and loadAndSortPFClusters().
|
private |
Definition at line 143 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), getEEOutputSCCollection(), and loadAndSortPFClusters().
|
private |
Definition at line 183 of file PFECALSuperClusterAlgo.h.
Referenced by buildAllSuperClusters(), and setUseETForSeeding().
|
private |
Definition at line 162 of file PFECALSuperClusterAlgo.h.
|
private |
Definition at line 167 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and setThreshPFClusterBarrel().
|
private |
Definition at line 169 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and setThreshPFClusterEndcap().
|
private |
Definition at line 170 of file PFECALSuperClusterAlgo.h.
Referenced by setThreshPFClusterES().
|
private |
Definition at line 161 of file PFECALSuperClusterAlgo.h.
|
private |
Definition at line 166 of file PFECALSuperClusterAlgo.h.
Referenced by run(), and setThreshPFClusterSeedBarrel().
|
private |
Definition at line 168 of file PFECALSuperClusterAlgo.h.
Referenced by run(), and setThreshPFClusterSeedEndcap().
|
private |
Definition at line 159 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setThreshSuperClusterEt().
|
private |
Definition at line 185 of file PFECALSuperClusterAlgo.h.
Referenced by setUsePS().
|
private |
Definition at line 156 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), loadAndSortPFClusters(), setTokens(), setUseRegression(), and update().
|
private |
Definition at line 153 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setVerbosityLevel().