Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoEgamma
EgammaIsolationAlgos
plugins
EgammaHcalExtractor.h
Go to the documentation of this file.
1
#ifndef EgammaIsolationProducers_EgammaHcalIsolation_h
2
#define EgammaIsolationProducers_EgammaHcalIsolation_h
3
//*****************************************************************************
4
// File: EgammaHcalExtractor.h
5
// ----------------------------------------------------------------------------
6
// OrigAuth: Matthias Mozer
7
// Institute: IIHE-VUB
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/Selectors/interface/CaloDualConeSelector.h
"
20
21
#include "
FWCore/Framework/interface/Event.h
"
22
#include "
FWCore/Framework/interface/EventSetup.h
"
23
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
24
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
25
#include "
FWCore/Utilities/interface/InputTag.h
"
26
27
#include "
DataFormats/TrackReco/interface/Track.h
"
28
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
29
30
#include "
PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h
"
31
#include "
DataFormats/RecoCandidate/interface/IsoDeposit.h
"
32
#include "
DataFormats/HcalRecHit/interface/HcalRecHitCollections.h
"
33
34
35
36
37
namespace
egammaisolation {
38
39
class
EgammaHcalExtractor
:
public
reco::isodeposit::IsoDepositExtractor
{
40
public
:
41
EgammaHcalExtractor
(
const
edm::ParameterSet
& par,
edm::ConsumesCollector
&& iC ) :
42
EgammaHcalExtractor
(par, iC) {}
43
EgammaHcalExtractor
(
const
edm::ParameterSet
& par,
edm::ConsumesCollector
& iC );
44
45
virtual
~EgammaHcalExtractor
() ;
46
47
virtual
void
fillVetos
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& evSetup,
48
const
reco::TrackCollection
&
tracks
) { }
49
virtual
reco::IsoDeposit
deposit
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& evSetup,
50
const
reco::Track
& track)
const
{
51
throw
cms::Exception
(
"Configuration Error"
) <<
52
"This extractor "
<< (
typeid
(
this
).
name
()) <<
" is not made for tracks"
;
53
}
54
virtual
reco::IsoDeposit
deposit
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& evSetup,
55
const
reco::Candidate
&
c
)
const
;
56
57
private
:
58
double
extRadius_
;
59
double
intRadius_
;
60
double
etLow_
;
61
62
edm::EDGetTokenT<HBHERecHitCollection>
hcalRecHitProducerToken_
;
63
};
64
}
65
#endif
reco::IsoDeposit
Definition:
IsoDeposit.h:46
egammaisolation::EgammaHcalExtractor::extRadius_
double extRadius_
Definition:
EgammaHcalExtractor.h:58
Exception
Definition:
hltDiff.cc:318
Event.h
EventSetup.h
reco::Candidate
Definition:
Candidate.h:28
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:25
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:14
egammaisolation::EgammaHcalExtractor::hcalRecHitProducerToken_
edm::EDGetTokenT< HBHERecHitCollection > hcalRecHitProducerToken_
Definition:
EgammaHcalExtractor.h:62
egammaisolation::EgammaHcalExtractor::intRadius_
double intRadius_
Definition:
EgammaHcalExtractor.h:59
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
TrackFwd.h
EnergyCorrector.c
tuple c
Definition:
EnergyCorrector.py:43
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
edm::EDGetTokenT
Definition:
EDGetToken.h:32
egammaisolation::EgammaHcalExtractor::etLow_
double etLow_
Definition:
EgammaHcalExtractor.h:60
egammaisolation::EgammaHcalExtractor
Definition:
EgammaHcalExtractor.h:39
ParameterSet.h
Candidate.h
egammaisolation::EgammaHcalExtractor::fillVetos
virtual void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks)
Definition:
EgammaHcalExtractor.h:47
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:45
egammaisolation::EgammaHcalExtractor::deposit
virtual reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
Definition:
EgammaHcalExtractor.h:49
egammaisolation::EgammaHcalExtractor::EgammaHcalExtractor
EgammaHcalExtractor(const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
Definition:
EgammaHcalExtractor.h:41
CaloGeometry.h
testEve_cfg.tracks
tuple tracks
Definition:
testEve_cfg.py:39
reco::Track
Definition:
Track.h:28
IsoDeposit.h
IsoDepositExtractor.h
HcalRecHitCollections.h
CaloDualConeSelector.h
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
egammaisolation::EgammaHcalExtractor::~EgammaHcalExtractor
virtual ~EgammaHcalExtractor()
Definition:
EgammaHcalExtractor.cc:42
edm::Event
Definition:
Event.h:64
Track.h
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:38
Generated for CMSSW Reference Manual by
1.8.5