\ 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 51 of file PFECALSuperClusterAlgo.h.
typedef std::shared_ptr<CalibratedPFCluster> PFECALSuperClusterAlgo::CalibratedClusterPtr |
Definition at line 71 of file PFECALSuperClusterAlgo.h.
typedef std::vector<CalibratedClusterPtr> PFECALSuperClusterAlgo::CalibratedClusterPtrVector |
Definition at line 72 of file PFECALSuperClusterAlgo.h.
Enumerator | |
---|---|
kBOX | |
kMustache |
Definition at line 53 of file PFECALSuperClusterAlgo.h.
Enumerator | |
---|---|
kRaw | |
kCalibratedNoPS | |
kCalibratedTotal |
Definition at line 54 of file PFECALSuperClusterAlgo.h.
PFECALSuperClusterAlgo::PFECALSuperClusterAlgo | ( | ) |
|
private |
Definition at line 254 of file PFECALSuperClusterAlgo.cc.
References buildSuperCluster(), bsc_activity_cfg::clusters, and threshIsET_.
Referenced by run().
|
private |
Definition at line 267 of file PFECALSuperClusterAlgo.cc.
References _clustype, _eweight, _pfEnergyCalibration, reco::SuperCluster::addCluster(), reco::CaloCluster::addHitAndFraction(), reco::SuperCluster::addPreshowerCluster(), applyCrackCorrections_, barrelRecHits_, beamSpot_, channelStatus_, bsc_activity_cfg::clusters, TauDecayModes::dec, doSatelliteClusterMerge_, dropUnseedable_, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, EEtoPS_, endcapRecHits_, reco::CaloCluster::energy(), etawidthSuperClusterBarrel_, etawidthSuperClusterEndcap_, Exception, edm::SortedCollection< T, SORT >::find(), fractionForMajority_, edm::Ptr< T >::get(), PFLayer::HGCAL, mps_fire::i, isOOTCollection_, kCalibratedNoPS, kCalibratedTotal, EcalRecHit::kOutOfTime, kRaw, mustacheSCParams_, PFClusterWidthAlgo::pflowEtaWidth(), PFClusterWidthAlgo::pflowPhiWidth(), phiwidthSuperClusterBarrel_, phiwidthSuperClusterEndcap_, reco::BeamSpot::position(), reco::CaloCluster::position(), RecoTauValidation_cfi::posX, RecoTauValidation_cfi::posY, reco::SuperCluster::preshowerClustersBegin(), reco::SuperCluster::preshowerClustersEnd(), ptFast(), reco::SuperCluster::rawEnergy(), regr_, satelliteThreshold_, scDynamicDPhiParams_, reco::SuperCluster::seed(), fileCollector::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_, useDynamicDPhi_, useRegression_, and verbose_.
Referenced by buildAllSuperClusters().
|
inline |
|
inline |
void PFECALSuperClusterAlgo::loadAndSortPFClusters | ( | const edm::Event & | evt | ) |
Definition at line 167 of file PFECALSuperClusterAlgo.cc.
References _clustersEB, _clustersEE, barrelRecHits_, beamSpot_, bsc_activity_cfg::clusters, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, EEtoPS_, endcapRecHits_, Exception, PFLayer::HGCAL, mps_fire::i, iEvent, inputTagBarrelRecHits_, inputTagBeamSpot_, inputTagEndcapRecHits_, inputTagPFClusters_, inputTagPFClustersES_, isOOTCollection_, edm::HandleBase::isValid(), LogDebug, edm::Handle< T >::product(), regr_, superClustersEB_, superClustersEE_, threshPFClusterBarrel_, threshPFClusterEndcap_, and useRegression_.
void PFECALSuperClusterAlgo::run | ( | ) |
Definition at line 247 of file PFECALSuperClusterAlgo.cc.
References _clustersEB, _clustersEE, buildAllSuperClusters(), threshPFClusterSeedBarrel_, and threshPFClusterSeedEndcap_.
|
inline |
|
inline |
Definition at line 110 of file PFECALSuperClusterAlgo.h.
References HLT_FULL_cff::applyCrackCorrections, and applyCrackCorrections_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 108 of file PFECALSuperClusterAlgo.h.
References HLT_FULL_cff::isOOTCollection, and isOOTCollection_.
|
inline |
void PFECALSuperClusterAlgo::setPFClusterCalibration | ( | const std::shared_ptr< PFEnergyCalibration > & | calib | ) |
Definition at line 112 of file PFECALSuperClusterAlgo.cc.
References _pfEnergyCalibration, and L1EGammaCrystalsEmulatorProducer_cfi::calib.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 104 of file PFECALSuperClusterAlgo.h.
References satelliteThreshold_, and submitPVValidationJobs::t.
|
inline |
Definition at line 92 of file PFECALSuperClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPFClusterBarrel_.
|
inline |
Definition at line 94 of file PFECALSuperClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPFClusterEndcap_.
|
inline |
Definition at line 91 of file PFECALSuperClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPFClusterSeedBarrel_.
|
inline |
Definition at line 93 of file PFECALSuperClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshPFClusterSeedEndcap_.
|
inline |
Definition at line 89 of file PFECALSuperClusterAlgo.h.
References GOODCOLL_filter_cfg::thresh, and threshSuperClusterEt_.
void PFECALSuperClusterAlgo::setTokens | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | cc | ||
) |
Definition at line 116 of file PFECALSuperClusterAlgo.cc.
References _clustype, edm::BeginLuminosityBlock, ecalMustacheSCParametersToken_, ecalSCDynamicDPhiParametersToken_, esChannelStatusToken_, esEEInterCalibToken_, edm::ParameterSet::getParameter(), inputTagBarrelRecHits_, inputTagBeamSpot_, inputTagEndcapRecHits_, inputTagPFClusters_, inputTagPFClustersES_, isOOTCollection_, kMustache, regr_, useDynamicDPhi_, and useRegression_.
|
inline |
|
inline |
|
inline |
Definition at line 87 of file PFECALSuperClusterAlgo.h.
References HLT_FULL_cff::useRegression, and useRegression_.
|
inline |
void PFECALSuperClusterAlgo::update | ( | const edm::EventSetup & | setup | ) |
Definition at line 146 of file PFECALSuperClusterAlgo.cc.
References _pfEnergyCalibration, channelStatus_, esChannelStatusToken_, esEEInterCalibToken_, edm::ESHandle< T >::product(), regr_, singleTopDQM_cfi::setup, and useRegression_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
void PFECALSuperClusterAlgo::updateSCParams | ( | const edm::EventSetup & | setup | ) |
Definition at line 158 of file PFECALSuperClusterAlgo.cc.
References _clustype, ecalMustacheSCParametersToken_, ecalSCDynamicDPhiParametersToken_, kMustache, mustacheSCParams_, scDynamicDPhiParams_, singleTopDQM_cfi::setup, and useDynamicDPhi_.
|
private |
Definition at line 138 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and run().
|
private |
Definition at line 139 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and run().
|
private |
Definition at line 144 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), setClusteringType(), setTokens(), and updateSCParams().
|
private |
Definition at line 145 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setEnergyWeighting().
|
private |
Definition at line 143 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), setPFClusterCalibration(), and update().
|
private |
Definition at line 173 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setCrackCorrections().
|
private |
Definition at line 180 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and loadAndSortPFClusters().
|
private |
Definition at line 133 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and loadAndSortPFClusters().
|
private |
Definition at line 134 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and update().
|
private |
Definition at line 167 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setSatelliteMerging().
|
private |
Definition at line 169 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setDropUnseedable().
|
private |
Definition at line 130 of file PFECALSuperClusterAlgo.h.
Referenced by setTokens(), and updateSCParams().
|
private |
Definition at line 131 of file PFECALSuperClusterAlgo.h.
Referenced by setTokens(), and updateSCParams().
|
private |
Definition at line 142 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and loadAndSortPFClusters().
|
private |
Definition at line 181 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and loadAndSortPFClusters().
|
private |
Definition at line 129 of file PFECALSuperClusterAlgo.h.
Referenced by setTokens(), and update().
|
private |
Definition at line 128 of file PFECALSuperClusterAlgo.h.
Referenced by setTokens(), and update().
|
private |
Definition at line 163 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setEtawidthSuperClusterBarrel().
|
private |
Definition at line 165 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setEtawidthSuperClusterEndcap().
|
private |
Definition at line 168 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setMajorityFraction().
|
private |
Definition at line 178 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and setTokens().
|
private |
Definition at line 126 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and setTokens().
|
private |
Definition at line 179 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and setTokens().
|
private |
Definition at line 124 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and setTokens().
|
private |
Definition at line 125 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and setTokens().
|
private |
Definition at line 177 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), loadAndSortPFClusters(), setIsOOTCollection(), and setTokens().
|
private |
Definition at line 135 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and updateSCParams().
|
private |
Definition at line 162 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setPhiwidthSuperClusterBarrel().
|
private |
Definition at line 164 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setPhiwidthSuperClusterEndcap().
|
private |
Definition at line 153 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), loadAndSortPFClusters(), setTokens(), and update().
|
private |
Definition at line 168 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setSatelliteThreshold().
|
private |
Definition at line 136 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and updateSCParams().
|
private |
Definition at line 140 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), getEBOutputSCCollection(), and loadAndSortPFClusters().
|
private |
Definition at line 141 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), getEEOutputSCCollection(), and loadAndSortPFClusters().
|
private |
Definition at line 174 of file PFECALSuperClusterAlgo.h.
Referenced by buildAllSuperClusters(), and setUseETForSeeding().
|
private |
Definition at line 158 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and setThreshPFClusterBarrel().
|
private |
Definition at line 160 of file PFECALSuperClusterAlgo.h.
Referenced by loadAndSortPFClusters(), and setThreshPFClusterEndcap().
|
private |
Definition at line 157 of file PFECALSuperClusterAlgo.h.
Referenced by run(), and setThreshPFClusterSeedBarrel().
|
private |
Definition at line 159 of file PFECALSuperClusterAlgo.h.
Referenced by run(), and setThreshPFClusterSeedEndcap().
|
private |
Definition at line 155 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setThreshSuperClusterEt().
|
private |
Definition at line 171 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), setTokens(), setUseDynamicDPhi(), and updateSCParams().
|
private |
Definition at line 152 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), loadAndSortPFClusters(), setTokens(), setUseRegression(), and update().
|
private |
Definition at line 149 of file PFECALSuperClusterAlgo.h.
Referenced by buildSuperCluster(), and setVerbosityLevel().