src
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 "
FWCore/Framework/interface/EventSetup.h
"
16
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
17
#include "
DataFormats/EgammaReco/interface/SuperCluster.h
"
18
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
19
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
20
#include "
Geometry/Records/interface/CaloGeometryRecord.h
"
21
22
class
CaloGeometry
;
23
24
class
EcalClusterPUCleaningTools
{
25
public
:
26
EcalClusterPUCleaningTools
(
edm::ConsumesCollector
&cc,
27
const
edm::InputTag
&redEBRecHits,
28
const
edm::InputTag
&redEERecHits);
29
~EcalClusterPUCleaningTools
();
30
reco::SuperCluster
CleanedSuperCluster
(
float
xi
,
31
const
reco::SuperCluster
&cluster,
32
const
edm::Event
&
ev
,
33
const
edm::EventSetup
&es);
34
35
private
:
36
void
getEBRecHits
(
const
edm::Event
&
ev
);
37
void
getEERecHits
(
const
edm::Event
&
ev
);
38
39
const
edm::EDGetTokenT<EcalRecHitCollection>
pEBRecHitsToken_
;
40
const
edm::EDGetTokenT<EcalRecHitCollection>
pEERecHitsToken_
;
41
const
edm::ESGetToken<CaloGeometry, CaloGeometryRecord>
geometryToken_
;
42
43
const
EcalRecHitCollection
*
ebRecHits_
;
44
const
EcalRecHitCollection
*
eeRecHits_
;
45
};
46
47
#endif
makeMEIFBenchmarkPlots.ev
ev
Definition:
makeMEIFBenchmarkPlots.py:55
EcalClusterPUCleaningTools::eeRecHits_
const EcalRecHitCollection * eeRecHits_
Definition:
EcalClusterPUCleaningTools.h:44
edm::SortedCollection< EcalRecHit >
EcalClusterPUCleaningTools::geometryToken_
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geometryToken_
Definition:
EcalClusterPUCleaningTools.h:41
EcalClusterPUCleaningTools::ebRecHits_
const EcalRecHitCollection * ebRecHits_
Definition:
EcalClusterPUCleaningTools.h:43
Event.h
EventSetup.h
EcalRecHitCollections.h
protons_cff.xi
xi
Definition:
protons_cff.py:32
edm::EDGetTokenT
Definition:
EDGetToken.h:33
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
CaloGeometryRecord.h
CaloGeometry
Definition:
CaloGeometry.h:21
EcalClusterPUCleaningTools::getEBRecHits
void getEBRecHits(const edm::Event &ev)
Definition:
EcalClusterPUCleaningTools.cc:22
edm::EventSetup
Definition:
EventSetup.h:59
reco::SuperCluster
Definition:
SuperCluster.h:18
EcalClusterPUCleaningTools::pEERecHitsToken_
const edm::EDGetTokenT< EcalRecHitCollection > pEERecHitsToken_
Definition:
EcalClusterPUCleaningTools.h:40
EcalClusterPUCleaningTools::~EcalClusterPUCleaningTools
~EcalClusterPUCleaningTools()
Definition:
EcalClusterPUCleaningTools.cc:20
EcalClusterPUCleaningTools::CleanedSuperCluster
reco::SuperCluster CleanedSuperCluster(float xi, const reco::SuperCluster &cluster, const edm::Event &ev, const edm::EventSetup &es)
Definition:
EcalClusterPUCleaningTools.cc:34
CaloGeometry.h
edm::InputTag
Definition:
InputTag.h:15
EcalClusterPUCleaningTools
Definition:
EcalClusterPUCleaningTools.h:24
edm::Event
Definition:
Event.h:73
EcalClusterPUCleaningTools::pEBRecHitsToken_
const edm::EDGetTokenT< EcalRecHitCollection > pEBRecHitsToken_
Definition:
EcalClusterPUCleaningTools.h:39
ConsumesCollector.h
EcalClusterPUCleaningTools::getEERecHits
void getEERecHits(const edm::Event &ev)
Definition:
EcalClusterPUCleaningTools.cc:28
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
EcalClusterPUCleaningTools::EcalClusterPUCleaningTools
EcalClusterPUCleaningTools(edm::ConsumesCollector &cc, const edm::InputTag &redEBRecHits, const edm::InputTag &redEERecHits)
Definition:
EcalClusterPUCleaningTools.cc:13
SuperCluster.h
Generated for CMSSW Reference Manual by
1.8.14