Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoEgamma
EgammaIsolationAlgos
plugins
EgammaEcalExtractor.h
Go to the documentation of this file.
1
#ifndef EgammaIsolationAlgos_EgammaEcalIsolation_h
2
#define EgammaIsolationAlgos_EgammaEcalIsolation_h
3
4
//*****************************************************************************
5
// File: EgammaEcalExtractor.h
6
// ----------------------------------------------------------------------------
7
// Type: Class implementation header
8
// Package: EgammaIsolationAlgos/EgammaIsolationAlgos
9
// Class: EgammaEcalExtractor
10
// Language: Standard C++
11
// Project: CMS
12
// OrigAuth: Gilles De Lentdecker
13
// Institute: IIHE-ULB
14
//=============================================================================
15
//*****************************************************************************
16
17
18
#include "
DataFormats/EgammaReco/interface/SuperCluster.h
"
19
#include "
DataFormats/EgammaReco/interface/BasicCluster.h
"
20
#include "
DataFormats/EgammaReco/interface/BasicClusterFwd.h
"
21
#include "
DataFormats/RecoCandidate/interface/RecoCandidate.h
"
22
#include "
DataFormats/Candidate/interface/Candidate.h
"
23
24
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
25
26
#include "
FWCore/Framework/interface/Event.h
"
27
#include "
FWCore/Framework/interface/EventSetup.h
"
28
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
29
#include "
FWCore/Utilities/interface/InputTag.h
"
30
31
#include "
DataFormats/TrackReco/interface/Track.h
"
32
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
33
34
#include "
PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h
"
35
#include "
DataFormats/RecoCandidate/interface/IsoDeposit.h
"
36
37
namespace
egammaisolation {
38
39
class
EgammaEcalExtractor
:
public
reco::isodeposit::IsoDepositExtractor
{
40
public
:
41
EgammaEcalExtractor
(
const
edm::ParameterSet
& par) :
42
etMin_
(par.getParameter<double>(
"etMin"
)),
43
conesize_
(par.getParameter<double>(
"extRadius"
)),
44
scmatch_
(par.getParameter<bool>(
"superClusterMatch"
)),
45
basicClusterTag_
(par.getParameter<edm::InputTag>(
"basicClusters"
)),
46
superClusterTag_
(par.getParameter<edm::InputTag>(
"superClusters"
)) { }
47
48
49
virtual
~EgammaEcalExtractor
();
50
51
virtual
void
fillVetos
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::TrackCollection
&
tracks
) { }
52
virtual
reco::IsoDeposit
deposit
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::Track
& track)
const
{
53
throw
cms::Exception
(
"Configuration Error"
) <<
"This extractor "
<< (
typeid
(
this
).
name
()) <<
" is not made for tracks"
;
54
}
55
virtual
reco::IsoDeposit
deposit
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::Candidate
&
c
)
const
;
56
57
private
:
58
59
// ---------- member data --------------------------------
60
61
// Parameters of isolation cone geometry.
62
// Photon case
63
double
etMin_
;
64
double
conesize_
;
65
bool
scmatch_
;
// true-> reject basic clusters matched to the superclsuter
66
// false-> fill all basic clusters
67
edm::InputTag
basicClusterTag_
;
68
edm::InputTag
superClusterTag_
;
69
};
70
71
}
72
#endif
MessageLogger.h
reco::IsoDeposit
Definition:
IsoDeposit.h:46
Event.h
EventSetup.h
reco::Candidate
Definition:
Candidate.h:32
egammaisolation::EgammaEcalExtractor::etMin_
double etMin_
Definition:
EgammaEcalExtractor.h:63
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:25
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:10
TrackFwd.h
egammaisolation::EgammaEcalExtractor
Definition:
EgammaEcalExtractor.h:39
egammaisolation::EgammaEcalExtractor::EgammaEcalExtractor
EgammaEcalExtractor(const edm::ParameterSet &par)
Definition:
EgammaEcalExtractor.h:41
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
ParameterSet.h
Candidate.h
egammaisolation::EgammaEcalExtractor::deposit
virtual reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
Definition:
EgammaEcalExtractor.h:52
egammaisolation::EgammaEcalExtractor::fillVetos
virtual void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks)
Definition:
EgammaEcalExtractor.h:51
edm::EventSetup
Definition:
EventSetup.h:44
egammaisolation::EgammaEcalExtractor::basicClusterTag_
edm::InputTag basicClusterTag_
Definition:
EgammaEcalExtractor.h:67
BasicClusterFwd.h
egammaisolation::EgammaEcalExtractor::scmatch_
bool scmatch_
Definition:
EgammaEcalExtractor.h:65
edm::hlt::Exception
error
Definition:
HLTenums.h:24
testEve_cfg.tracks
tuple tracks
Definition:
testEve_cfg.py:39
trackerHits.c
tuple c
Definition:
trackerHits.py:26
reco::Track
Definition:
Track.h:27
IsoDeposit.h
IsoDepositExtractor.h
edm::InputTag
Definition:
InputTag.h:17
InputTag.h
egammaisolation::EgammaEcalExtractor::conesize_
double conesize_
Definition:
EgammaEcalExtractor.h:64
edm::ParameterSet
Definition:
ParameterSet.h:35
egammaisolation::EgammaEcalExtractor::superClusterTag_
edm::InputTag superClusterTag_
Definition:
EgammaEcalExtractor.h:68
edm::Event
Definition:
Event.h:56
Track.h
BasicCluster.h
RecoCandidate.h
egammaisolation::EgammaEcalExtractor::~EgammaEcalExtractor
virtual ~EgammaEcalExtractor()
Definition:
EgammaEcalExtractor.cc:23
SuperCluster.h
Generated for CMSSW Reference Manual by
1.8.5