Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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,
const
edm::EventSetup
&es,
const
edm::InputTag
& redEBRecHits,
const
edm::InputTag
& redEERecHits );
25
~EcalClusterPUCleaningTools
();
26
reco::SuperCluster
CleanedSuperCluster
(
float
xi,
const
reco::SuperCluster
&cluster,
const
edm::Event
&ev);
27
28
private
:
29
void
getGeometry
(
const
edm::EventSetup
&es );
30
void
getEBRecHits
(
const
edm::Event
&ev,
const
edm::InputTag
& redEBRecHits );
31
void
getEERecHits
(
const
edm::Event
&ev,
const
edm::InputTag
& redEERecHits );
32
33
const
CaloGeometry
*
geometry_
;
34
const
EcalRecHitCollection
*
ebRecHits_
;
35
const
EcalRecHitCollection
*
eeRecHits_
;
36
37
};
38
39
#endif
EcalClusterPUCleaningTools::getEBRecHits
void getEBRecHits(const edm::Event &ev, const edm::InputTag &redEBRecHits)
Definition:
EcalClusterPUCleaningTools.cc:35
EcalClusterPUCleaningTools::eeRecHits_
const EcalRecHitCollection * eeRecHits_
Definition:
EcalClusterPUCleaningTools.h:35
edm::SortedCollection
Definition:
SortedCollection.h:50
EcalClusterPUCleaningTools::ebRecHits_
const EcalRecHitCollection * ebRecHits_
Definition:
EcalClusterPUCleaningTools.h:34
Event.h
EcalRecHitCollections.h
EcalClusterPUCleaningTools::getEERecHits
void getEERecHits(const edm::Event &ev, const edm::InputTag &redEERecHits)
Definition:
EcalClusterPUCleaningTools.cc:44
EcalClusterPUCleaningTools::EcalClusterPUCleaningTools
EcalClusterPUCleaningTools(const edm::Event &ev, const edm::EventSetup &es, const edm::InputTag &redEBRecHits, const edm::InputTag &redEERecHits)
Definition:
EcalClusterPUCleaningTools.cc:14
EcalClusterPUCleaningTools::getGeometry
void getGeometry(const edm::EventSetup &es)
Definition:
EcalClusterPUCleaningTools.cc:28
EcalClusterPUCleaningTools::geometry_
const CaloGeometry * geometry_
Definition:
EcalClusterPUCleaningTools.h:33
ESHandle.h
CaloGeometry
Definition:
CaloGeometry.h:22
edm::EventSetup
Definition:
EventSetup.h:44
reco::SuperCluster
Definition:
SuperCluster.h:19
EcalClusterPUCleaningTools::~EcalClusterPUCleaningTools
~EcalClusterPUCleaningTools()
Definition:
EcalClusterPUCleaningTools.cc:23
edm::InputTag
Definition:
InputTag.h:17
EcalClusterPUCleaningTools
Definition:
EcalClusterPUCleaningTools.h:22
edm::Event
Definition:
Event.h:59
EcalClusterPUCleaningTools::CleanedSuperCluster
reco::SuperCluster CleanedSuperCluster(float xi, const reco::SuperCluster &cluster, const edm::Event &ev)
Definition:
EcalClusterPUCleaningTools.cc:52
SuperCluster.h
Generated for CMSSW Reference Manual by
1.8.5