RecoEcal
EgammaCoreTools
interface
EcalClusterPUCleaningTools.h
Go to the documentation of this file.
1
#ifndef RecoEcal_EgammaCoreTools_EcalClusterPUCleaningTools_h
2
#define RecoEcal_EgammaCoreTools_EcalClusterPUCleaningTools_h
3
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
DataFormats/EgammaReco/interface/SuperCluster.h
"
16
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
17
18
#include "
FWCore/Framework/interface/ESHandle.h
"
19
20
class
CaloGeometry
;
21
22
class
EcalClusterPUCleaningTools
{
23
public
:
24
EcalClusterPUCleaningTools
(
const
edm::Event
&
ev
,
25
const
edm::EventSetup
&es,
26
const
edm::InputTag
&redEBRecHits,
27
const
edm::InputTag
&redEERecHits);
28
~EcalClusterPUCleaningTools
();
29
reco::SuperCluster
CleanedSuperCluster
(
float
xi
,
const
reco::SuperCluster
&cluster,
const
edm::Event
&
ev
);
30
31
private
:
32
void
getGeometry
(
const
edm::EventSetup
&es);
33
void
getEBRecHits
(
const
edm::Event
&
ev
,
const
edm::InputTag
&redEBRecHits);
34
void
getEERecHits
(
const
edm::Event
&
ev
,
const
edm::InputTag
&redEERecHits);
35
36
const
CaloGeometry
*
geometry_
;
37
const
EcalRecHitCollection
*
ebRecHits_
;
38
const
EcalRecHitCollection
*
eeRecHits_
;
39
};
40
41
#endif
EcalClusterPUCleaningTools
Definition:
EcalClusterPUCleaningTools.h:22
EcalClusterPUCleaningTools::getGeometry
void getGeometry(const edm::EventSetup &es)
Definition:
EcalClusterPUCleaningTools.cc:25
ESHandle.h
reco::SuperCluster
Definition:
SuperCluster.h:18
EcalClusterPUCleaningTools::getEERecHits
void getEERecHits(const edm::Event &ev, const edm::InputTag &redEERecHits)
Definition:
EcalClusterPUCleaningTools.cc:37
edm::SortedCollection< EcalRecHit >
EcalClusterPUCleaningTools::geometry_
const CaloGeometry * geometry_
Definition:
EcalClusterPUCleaningTools.h:36
EcalRecHitCollections.h
EcalClusterPUCleaningTools::getEBRecHits
void getEBRecHits(const edm::Event &ev, const edm::InputTag &redEBRecHits)
Definition:
EcalClusterPUCleaningTools.cc:31
EcalClusterPUCleaningTools::EcalClusterPUCleaningTools
EcalClusterPUCleaningTools(const edm::Event &ev, const edm::EventSetup &es, const edm::InputTag &redEBRecHits, const edm::InputTag &redEERecHits)
Definition:
EcalClusterPUCleaningTools.cc:14
CaloGeometry
Definition:
CaloGeometry.h:21
EcalClusterPUCleaningTools::eeRecHits_
const EcalRecHitCollection * eeRecHits_
Definition:
EcalClusterPUCleaningTools.h:38
EcalClusterPUCleaningTools::ebRecHits_
const EcalRecHitCollection * ebRecHits_
Definition:
EcalClusterPUCleaningTools.h:37
Event.h
edm::EventSetup
Definition:
EventSetup.h:58
EcalClusterPUCleaningTools::CleanedSuperCluster
reco::SuperCluster CleanedSuperCluster(float xi, const reco::SuperCluster &cluster, const edm::Event &ev)
Definition:
EcalClusterPUCleaningTools.cc:43
protons_cff.xi
xi
Definition:
protons_cff.py:31
SuperCluster.h
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:97
EcalClusterPUCleaningTools::~EcalClusterPUCleaningTools
~EcalClusterPUCleaningTools()
Definition:
EcalClusterPUCleaningTools.cc:23
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
Generated for CMSSW Reference Manual by
1.8.16