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 "
CondFormats/EcalObjects/interface/EcalChannelStatus.h
"
34
#include "
CondFormats/DataRecord/interface/EcalChannelStatusRcd.h
"
35
36
#include "
RecoLocalCalo/EcalRecAlgos/interface/EcalSeverityLevelAlgo.h
"
37
#include "
RecoLocalCalo/EcalRecAlgos/interface/EcalSeverityLevelAlgoRcd.h
"
38
39
namespace
egammaisolation {
40
41
class
EgammaRecHitExtractor
:
public
reco::isodeposit::IsoDepositExtractor
{
42
public
:
43
EgammaRecHitExtractor
(
const
edm::ParameterSet
&
par
);
44
virtual
~EgammaRecHitExtractor
() ;
45
virtual
void
fillVetos
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::TrackCollection
&
tracks
) { }
46
virtual
reco::IsoDeposit
deposit
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::Track
& track)
const
{
47
throw
cms::Exception
(
"Configuration Error"
) <<
"This extractor "
<< (
typeid
(
this
).
name
()) <<
" is not made for tracks"
;
48
}
49
virtual
reco::IsoDeposit
deposit
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::Candidate
&
c
)
const
;
50
51
private
:
52
void
collect
(
reco::IsoDeposit
&
deposit
,
53
const
reco::SuperClusterRef
& sc,
const
CaloSubdetectorGeometry
* subdet,
54
const
CaloGeometry
* caloGeom,
55
const
EcalRecHitCollection
&hits,
56
const
EcalChannelStatus
* chStatus,
57
const
EcalSeverityLevelAlgo
* sevLevel,
58
bool
barrel
)
const
;
59
60
double
etMin_
;
61
double
energyMin_
;
62
double
extRadius_
;
63
double
intRadius_
;
64
double
intStrip_
;
65
edm::InputTag
barrelEcalHitsTag_
;
66
edm::InputTag
endcapEcalHitsTag_
;
67
bool
fakeNegativeDeposit_
;
68
bool
tryBoth_
;
69
bool
useEt_
;
70
bool
vetoClustered_
;
71
bool
sameTag_
;
72
int
severityLevelCut_
;
73
//float severityRecHitThreshold_;
74
//std::string spIdString_;
75
//float spIdThreshold_;
76
//EcalSeverityLevelAlgo::SpikeId spId_;
77
std::vector<int>
v_chstatus_
;
78
79
80
};
81
}
82
#endif
egammaisolation::EgammaRecHitExtractor::etMin_
double etMin_
Definition:
EgammaRecHitExtractor.h:60
EcalSeverityLevelAlgoRcd.h
EcalChannelStatusRcd.h
reco::IsoDeposit
Definition:
IsoDeposit.h:45
edm::SortedCollection
Definition:
SortedCollection.h:49
egammaisolation::EgammaRecHitExtractor::intRadius_
double intRadius_
Definition:
EgammaRecHitExtractor.h:63
Reference_intrackfit_cff.barrel
barrel
Definition:
Reference_intrackfit_cff.py:37
egammaisolation::EgammaRecHitExtractor::barrelEcalHitsTag_
edm::InputTag barrelEcalHitsTag_
Definition:
EgammaRecHitExtractor.h:65
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:21
egammaisolation::EgammaRecHitExtractor::tryBoth_
bool tryBoth_
Definition:
EgammaRecHitExtractor.h:68
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
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
egammaisolation::EgammaRecHitExtractor::fillVetos
virtual void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks)
Definition:
EgammaRecHitExtractor.h:45
ParameterSet.h
EcalSeverityLevelAlgo.h
Candidate.h
egammaisolation::EgammaRecHitExtractor::useEt_
bool useEt_
Definition:
EgammaRecHitExtractor.h:69
SuperClusterFwd.h
egammaisolation::EgammaRecHitExtractor::fakeNegativeDeposit_
bool fakeNegativeDeposit_
Definition:
EgammaRecHitExtractor.h:67
egammaisolation::EgammaRecHitExtractor::vetoClustered_
bool vetoClustered_
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:40
egammaisolation::EgammaRecHitExtractor::energyMin_
double energyMin_
Definition:
EgammaRecHitExtractor.h:61
egammaisolation::EgammaRecHitExtractor::severityLevelCut_
int severityLevelCut_
Definition:
EgammaRecHitExtractor.h:72
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:64
reco::Track
Definition:
Track.h:27
IsoDeposit.h
IsoDepositExtractor.h
egammaisolation::EgammaRecHitExtractor::collect
void collect(reco::IsoDeposit &deposit, const reco::SuperClusterRef &sc, const CaloSubdetectorGeometry *subdet, const CaloGeometry *caloGeom, const EcalRecHitCollection &hits, const EcalChannelStatus *chStatus, const EcalSeverityLevelAlgo *sevLevel, bool barrel) const
Definition:
EgammaRecHitExtractor.cc:146
edm::InputTag
Definition:
InputTag.h:12
egammaisolation::EgammaRecHitExtractor::~EgammaRecHitExtractor
virtual ~EgammaRecHitExtractor()
Definition:
EgammaRecHitExtractor.cc:88
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:32
egammaisolation::EgammaRecHitExtractor::deposit
virtual reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
Definition:
EgammaRecHitExtractor.h:46
EcalChannelStatus.h
edm::Event
Definition:
Event.h:49
Track.h
edm::Ref< SuperClusterCollection >
egammaisolation::EgammaRecHitExtractor
Definition:
EgammaRecHitExtractor.h:41
EcalSeverityLevelAlgo
Definition:
EcalSeverityLevelAlgo.h:35
EcalCondObjectContainer
Definition:
EcalCondObjectContainer.h:9
egammaisolation::EgammaRecHitExtractor::sameTag_
bool sameTag_
Definition:
EgammaRecHitExtractor.h:71
egammaisolation::EgammaRecHitExtractor::extRadius_
double extRadius_
Definition:
EgammaRecHitExtractor.h:62
egammaisolation::EgammaRecHitExtractor::endcapEcalHitsTag_
edm::InputTag endcapEcalHitsTag_
Definition:
EgammaRecHitExtractor.h:66
egammaisolation::EgammaRecHitExtractor::v_chstatus_
std::vector< int > v_chstatus_
Definition:
EgammaRecHitExtractor.h:77
Gflash::par
const double par[8 *NPar][4]
Definition:
GflashNameSpace.h:177
SuperCluster.h
Generated for CMSSW Reference Manual by
1.8.5