Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoEgamma
EgammaIsolationAlgos
plugins
EgammaRecHitExtractor.h
Go to the documentation of this file.
1
#ifndef EgammaIsolationProducers_EgammaRecHitExtractor_h
2
#define EgammaIsolationProducers_EgammaRecHitExtractor_h
3
//*****************************************************************************
4
// File: EgammaRecHitExtractor.h
5
// ----------------------------------------------------------------------------
6
// OrigAuth: Matthias Mozer, adapted from EgammaHcalExtractor by S. Harper
7
// Institute: IIHE-VUB, RAL
8
//=============================================================================
9
//*****************************************************************************
10
11
//C++ includes
12
#include <vector>
13
#include <functional>
14
15
//CMSSW includes
16
#include "
FWCore/Framework/interface/ESHandle.h
"
17
#include "
DataFormats/Candidate/interface/Candidate.h
"
18
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
19
#include "
RecoCaloTools/MetaCollections/interface/CaloRecHitMetaCollections.h
"
20
21
#include "
FWCore/Framework/interface/Event.h
"
22
#include "
FWCore/Framework/interface/EventSetup.h
"
23
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
24
#include "
FWCore/Utilities/interface/InputTag.h
"
25
26
#include "
DataFormats/TrackReco/interface/Track.h
"
27
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
28
#include "
PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h
"
29
#include "
DataFormats/RecoCandidate/interface/IsoDeposit.h
"
30
#include "
DataFormats/EgammaReco/interface/SuperCluster.h
"
31
#include "
DataFormats/EgammaReco/interface/SuperClusterFwd.h
"
32
33
#include "
RecoLocalCalo/EcalRecAlgos/interface/EcalSeverityLevelAlgo.h
"
34
#include "
CondFormats/EcalObjects/interface/EcalChannelStatus.h
"
35
#include "
CondFormats/DataRecord/interface/EcalChannelStatusRcd.h
"
36
37
namespace
egammaisolation {
38
39
class
EgammaRecHitExtractor
:
public
reco::isodeposit::IsoDepositExtractor
{
40
public
:
41
EgammaRecHitExtractor
(
const
edm::ParameterSet
&
par
);
42
virtual
~EgammaRecHitExtractor
() ;
43
virtual
void
fillVetos
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::TrackCollection
&
tracks
) { }
44
virtual
reco::IsoDeposit
deposit
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::Track
&
track
)
const
{
45
throw
cms::Exception
(
"Configuration Error"
) <<
"This extractor "
<< (
typeid
(
this
).
name
()) <<
" is not made for tracks"
;
46
}
47
virtual
reco::IsoDeposit
deposit
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::Candidate
&
c
)
const
;
48
49
private
:
50
void
collect
(
reco::IsoDeposit
&
deposit
,
51
const
reco::SuperClusterRef
& sc,
const
CaloSubdetectorGeometry
* subdet,
52
const
CaloGeometry
* caloGeom,
53
const
EcalRecHitCollection
&hits,
54
const
EcalChannelStatus
* chStatus,
55
bool
barrel
)
const
;
56
57
double
etMin_
;
58
double
energyMin_
;
59
double
extRadius_
;
60
double
intRadius_
;
61
double
intStrip_
;
62
edm::InputTag
barrelEcalHitsTag_
;
63
edm::InputTag
endcapEcalHitsTag_
;
64
bool
fakeNegativeDeposit_
;
65
bool
tryBoth_
;
66
bool
useEt_
;
67
bool
vetoClustered_
;
68
bool
sameTag_
;
69
int
severityLevelCut_
;
70
float
severityRecHitThreshold_
;
71
std::string
spIdString_
;
72
float
spIdThreshold_
;
73
EcalSeverityLevelAlgo::SpikeId
spId_
;
74
std::vector<int>
v_chstatus_
;
75
76
77
};
78
}
79
#endif
ExpressReco_HICollisions_FallBack.track
tuple track
Definition:
ExpressReco_HICollisions_FallBack.py:4641
egammaisolation::EgammaRecHitExtractor::etMin_
double etMin_
Definition:
EgammaRecHitExtractor.h:57
EcalChannelStatusRcd.h
reco::IsoDeposit
Definition:
IsoDeposit.h:45
edm::SortedCollection
Definition:
SortedCollection.h:49
egammaisolation::EgammaRecHitExtractor::intRadius_
double intRadius_
Definition:
EgammaRecHitExtractor.h:60
Reference_intrackfit_cff.barrel
barrel
Definition:
Reference_intrackfit_cff.py:37
egammaisolation::EgammaRecHitExtractor::barrelEcalHitsTag_
edm::InputTag barrelEcalHitsTag_
Definition:
EgammaRecHitExtractor.h:62
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:21
EcalSeverityLevelAlgo::SpikeId
SpikeId
Definition:
EcalSeverityLevelAlgo.h:21
egammaisolation::EgammaRecHitExtractor::tryBoth_
bool tryBoth_
Definition:
EgammaRecHitExtractor.h:65
Event.h
EventSetup.h
reco::Candidate
Definition:
Candidate.h:30
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:25
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:10
TrackFwd.h
CaloRecHitMetaCollections.h
egammaisolation::EgammaRecHitExtractor::fillVetos
virtual void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks)
Definition:
EgammaRecHitExtractor.h:43
AlCaRecoCosmics_cfg.name
tuple name
Definition:
AlCaRecoCosmics_cfg.py:24
egammaisolation::EgammaRecHitExtractor::spId_
EcalSeverityLevelAlgo::SpikeId spId_
Definition:
EgammaRecHitExtractor.h:73
ParameterSet.h
EcalSeverityLevelAlgo.h
Candidate.h
egammaisolation::EgammaRecHitExtractor::useEt_
bool useEt_
Definition:
EgammaRecHitExtractor.h:66
SuperClusterFwd.h
egammaisolation::EgammaRecHitExtractor::fakeNegativeDeposit_
bool fakeNegativeDeposit_
Definition:
EgammaRecHitExtractor.h:64
egammaisolation::EgammaRecHitExtractor::vetoClustered_
bool vetoClustered_
Definition:
EgammaRecHitExtractor.h:67
egammaisolation::EgammaRecHitExtractor::collect
void collect(reco::IsoDeposit &deposit, const reco::SuperClusterRef &sc, const CaloSubdetectorGeometry *subdet, const CaloGeometry *caloGeom, const EcalRecHitCollection &hits, const EcalChannelStatus *chStatus, bool barrel) const
Definition:
EgammaRecHitExtractor.cc:141
egammaisolation::EgammaRecHitExtractor::severityRecHitThreshold_
float severityRecHitThreshold_
Definition:
EgammaRecHitExtractor.h:70
ESHandle.h
CaloGeometry
Definition:
CaloGeometry.h:21
edm::EventSetup
Definition:
EventSetup.h:44
egammaisolation::EgammaRecHitExtractor::EgammaRecHitExtractor
EgammaRecHitExtractor(const edm::ParameterSet &par)
Definition:
EgammaRecHitExtractor.cc:38
egammaisolation::EgammaRecHitExtractor::spIdThreshold_
float spIdThreshold_
Definition:
EgammaRecHitExtractor.h:72
egammaisolation::EgammaRecHitExtractor::energyMin_
double energyMin_
Definition:
EgammaRecHitExtractor.h:58
egammaisolation::EgammaRecHitExtractor::spIdString_
std::string spIdString_
Definition:
EgammaRecHitExtractor.h:71
egammaisolation::EgammaRecHitExtractor::severityLevelCut_
int severityLevelCut_
Definition:
EgammaRecHitExtractor.h:69
edm::hlt::Exception
error
Definition:
HLTenums.h:24
CaloGeometry.h
testEve_cfg.tracks
tuple tracks
Definition:
testEve_cfg.py:39
trackerHits.c
tuple c
Definition:
trackerHits.py:26
egammaisolation::EgammaRecHitExtractor::intStrip_
double intStrip_
Definition:
EgammaRecHitExtractor.h:61
reco::Track
Definition:
Track.h:27
IsoDeposit.h
IsoDepositExtractor.h
edm::InputTag
Definition:
InputTag.h:12
egammaisolation::EgammaRecHitExtractor::~EgammaRecHitExtractor
virtual ~EgammaRecHitExtractor()
Definition:
EgammaRecHitExtractor.cc:85
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:31
egammaisolation::EgammaRecHitExtractor::deposit
virtual reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
Definition:
EgammaRecHitExtractor.h:44
EcalChannelStatus.h
edm::Event
Definition:
Event.h:49
Track.h
edm::Ref< SuperClusterCollection >
egammaisolation::EgammaRecHitExtractor
Definition:
EgammaRecHitExtractor.h:39
EcalCondObjectContainer
Definition:
EcalCondObjectContainer.h:9
egammaisolation::EgammaRecHitExtractor::sameTag_
bool sameTag_
Definition:
EgammaRecHitExtractor.h:68
egammaisolation::EgammaRecHitExtractor::extRadius_
double extRadius_
Definition:
EgammaRecHitExtractor.h:59
egammaisolation::EgammaRecHitExtractor::endcapEcalHitsTag_
edm::InputTag endcapEcalHitsTag_
Definition:
EgammaRecHitExtractor.h:63
egammaisolation::EgammaRecHitExtractor::v_chstatus_
std::vector< int > v_chstatus_
Definition:
EgammaRecHitExtractor.h:74
Gflash::par
const double par[8 *NPar][4]
Definition:
GflashNameSpace.h:177
SuperCluster.h
Generated for CMSSW Reference Manual by
1.8.5