#include <EcalClusterPUCleaningTools.h>
Public Member Functions | |
reco::SuperCluster | CleanedSuperCluster (float xi, const reco::SuperCluster &cluster, const edm::Event &ev, const edm::EventSetup &es) |
EcalClusterPUCleaningTools (edm::ConsumesCollector &cc, const edm::InputTag &redEBRecHits, const edm::InputTag &redEERecHits) | |
~EcalClusterPUCleaningTools () | |
Private Member Functions | |
void | getEBRecHits (const edm::Event &ev) |
void | getEERecHits (const edm::Event &ev) |
Private Attributes | |
const EcalRecHitCollection * | ebRecHits_ |
const EcalRecHitCollection * | eeRecHits_ |
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | geometryToken_ |
const edm::EDGetTokenT< EcalRecHitCollection > | pEBRecHitsToken_ |
const edm::EDGetTokenT< EcalRecHitCollection > | pEERecHitsToken_ |
tool to clean reco::Supercluster from effects of multiple interactions ( PU )
Definition at line 24 of file EcalClusterPUCleaningTools.h.
EcalClusterPUCleaningTools::EcalClusterPUCleaningTools | ( | edm::ConsumesCollector & | cc, |
const edm::InputTag & | redEBRecHits, | ||
const edm::InputTag & | redEERecHits | ||
) |
Definition at line 13 of file EcalClusterPUCleaningTools.cc.
EcalClusterPUCleaningTools::~EcalClusterPUCleaningTools | ( | ) |
Definition at line 20 of file EcalClusterPUCleaningTools.cc.
reco::SuperCluster EcalClusterPUCleaningTools::CleanedSuperCluster | ( | float | xi, |
const reco::SuperCluster & | cluster, | ||
const edm::Event & | ev, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 34 of file EcalClusterPUCleaningTools.cc.
References cms::cuda::assert(), SuperClusterShapeAlgo::Calculate_Covariances(), reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), ebRecHits_, DetId::Ecal, EcalBarrel, EcalEndcap, eeRecHits_, hcalRecHitTable_cff::energy, SuperClusterShapeAlgo::etaWidth(), photons_cff::etaWidth, makeMEIFBenchmarkPlots::ev, geometryToken_, edm::EventSetup::getData(), getEBRecHits(), getEERecHits(), SuperClusterShapeAlgo::phiWidth(), photons_cff::phiWidth, RecoTauValidation_cfi::posX, RecoTauValidation_cfi::posY, reco::SuperCluster::preshowerEnergy(), edm::PtrVector< T >::push_back(), reco::SuperCluster::seed(), fileCollector::seed, mathSSE::sqrt(), and protons_cff::xi.
|
private |
Definition at line 22 of file EcalClusterPUCleaningTools.cc.
References ebRecHits_, makeMEIFBenchmarkPlots::ev, pEBRecHitsToken_, and edm::Handle< T >::product().
Referenced by CleanedSuperCluster().
|
private |
Definition at line 28 of file EcalClusterPUCleaningTools.cc.
References eeRecHits_, makeMEIFBenchmarkPlots::ev, pEERecHitsToken_, and edm::Handle< T >::product().
Referenced by CleanedSuperCluster().
|
private |
Definition at line 43 of file EcalClusterPUCleaningTools.h.
Referenced by CleanedSuperCluster(), and getEBRecHits().
|
private |
Definition at line 44 of file EcalClusterPUCleaningTools.h.
Referenced by CleanedSuperCluster(), and getEERecHits().
|
private |
Definition at line 41 of file EcalClusterPUCleaningTools.h.
Referenced by CleanedSuperCluster().
|
private |
Definition at line 39 of file EcalClusterPUCleaningTools.h.
Referenced by getEBRecHits().
|
private |
Definition at line 40 of file EcalClusterPUCleaningTools.h.
Referenced by getEERecHits().