Main Page
Namespaces
Classes
Package Documentation
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
~EgammaHcalExtractor
()
override
;
46
47
void
fillVetos
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& evSetup,
48
const
reco::TrackCollection
&
tracks
)
override
{ }
49
reco::IsoDeposit
deposit
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& evSetup,
50
const
reco::Track
&
track
)
const override
{
51
throw
cms::Exception
(
"Configuration Error"
) <<
52
"This extractor "
<< (
typeid
(
this
).
name
()) <<
" is not made for tracks"
;
53
}
54
reco::IsoDeposit
deposit
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& evSetup,
55
const
reco::Candidate
&
c
)
const override
;
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:292
egammaisolation::EgammaHcalExtractor::deposit
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override
Definition:
EgammaHcalExtractor.h:49
Event.h
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:44
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
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
l1t::tracks
Definition:
MicroGMTCancelOutUnit.h:12
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:54
egammaisolation::EgammaHcalExtractor::~EgammaHcalExtractor
~EgammaHcalExtractor() override
Definition:
EgammaHcalExtractor.cc:42
egammaisolation::EgammaHcalExtractor::EgammaHcalExtractor
EgammaHcalExtractor(const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
Definition:
EgammaHcalExtractor.h:41
CaloGeometry.h
HiIsolationCommonParameters_cff.track
track
Definition:
HiIsolationCommonParameters_cff.py:9
reco::Track
Definition:
Track.h:28
IsoDeposit.h
IsoDepositExtractor.h
HcalRecHitCollections.h
egammaisolation
Definition:
EgammaRange.h:12
CaloDualConeSelector.h
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
dataset.name
name
Definition:
dataset.py:45
edm::Event
Definition:
Event.h:70
Track.h
egammaisolation::EgammaHcalExtractor::fillVetos
void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) override
Definition:
EgammaHcalExtractor.h:47
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11