#include <EcalClusterPUCleaningTools.h>
Public Member Functions | |
reco::SuperCluster | CleanedSuperCluster (float xi, const reco::SuperCluster &cluster, const edm::Event &ev) |
EcalClusterPUCleaningTools (const edm::Event &ev, const edm::EventSetup &es, const edm::InputTag &redEBRecHits, const edm::InputTag &redEERecHits) | |
~EcalClusterPUCleaningTools () | |
Private Member Functions | |
void | getEBRecHits (const edm::Event &ev, const edm::InputTag &redEBRecHits) |
void | getEERecHits (const edm::Event &ev, const edm::InputTag &redEERecHits) |
void | getGeometry (const edm::EventSetup &es) |
Private Attributes | |
const EcalRecHitCollection * | ebRecHits_ |
const EcalRecHitCollection * | eeRecHits_ |
const CaloGeometry * | geometry_ |
tool to clean reco::Supercluster from effects of multiple interactions ( PU )
Definition at line 22 of file EcalClusterPUCleaningTools.h.
EcalClusterPUCleaningTools::EcalClusterPUCleaningTools | ( | const edm::Event & | ev, |
const edm::EventSetup & | es, | ||
const edm::InputTag & | redEBRecHits, | ||
const edm::InputTag & | redEERecHits | ||
) |
Definition at line 14 of file EcalClusterPUCleaningTools.cc.
References getEBRecHits(), getEERecHits(), and getGeometry().
EcalClusterPUCleaningTools::~EcalClusterPUCleaningTools | ( | ) |
Definition at line 23 of file EcalClusterPUCleaningTools.cc.
reco::SuperCluster EcalClusterPUCleaningTools::CleanedSuperCluster | ( | float | xi, |
const reco::SuperCluster & | cluster, | ||
const edm::Event & | ev | ||
) |
Definition at line 43 of file EcalClusterPUCleaningTools.cc.
References SuperClusterShapeAlgo::Calculate_Covariances(), reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), gather_cfg::cout, ebRecHits_, DetId::Ecal, EcalBarrel, EcalEndcap, eeRecHits_, HCALHighEnergyHPDFilter_cfi::energy, SuperClusterShapeAlgo::etaWidth(), geometry_, CaloGeometry::getSubdetectorGeometry(), SuperClusterShapeAlgo::phiWidth(), RecoTauValidation_cfi::posX, RecoTauValidation_cfi::posY, reco::SuperCluster::preshowerEnergy(), edm::PtrVector< T >::push_back(), reco::SuperCluster::seed(), SurveyInfoScenario_cff::seed, and mathSSE::sqrt().
|
private |
Definition at line 31 of file EcalClusterPUCleaningTools.cc.
References ebRecHits_, edm::Event::getByLabel(), and edm::Handle< T >::product().
Referenced by EcalClusterPUCleaningTools().
|
private |
Definition at line 37 of file EcalClusterPUCleaningTools.cc.
References eeRecHits_, edm::Event::getByLabel(), and edm::Handle< T >::product().
Referenced by EcalClusterPUCleaningTools().
|
private |
Definition at line 25 of file EcalClusterPUCleaningTools.cc.
References geometry_, edm::EventSetup::get(), and edm::ESHandle< T >::product().
Referenced by EcalClusterPUCleaningTools().
|
private |
Definition at line 37 of file EcalClusterPUCleaningTools.h.
Referenced by CleanedSuperCluster(), and getEBRecHits().
|
private |
Definition at line 38 of file EcalClusterPUCleaningTools.h.
Referenced by CleanedSuperCluster(), and getEERecHits().
|
private |
Definition at line 36 of file EcalClusterPUCleaningTools.h.
Referenced by CleanedSuperCluster(), and getGeometry().