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
namespace
egammaisolation
{
35
36
class
EgammaHcalExtractor
:
public
reco::isodeposit::IsoDepositExtractor
{
37
public
:
38
EgammaHcalExtractor
(
const
edm::ParameterSet
& par,
edm::ConsumesCollector
&& iC) :
EgammaHcalExtractor
(par, iC) {}
39
EgammaHcalExtractor
(
const
edm::ParameterSet
& par,
edm::ConsumesCollector
& iC);
40
41
~EgammaHcalExtractor
()
override
;
42
43
void
fillVetos
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& evSetup,
const
reco::TrackCollection
&
tracks
)
override
{
44
}
45
reco::IsoDeposit
deposit
(
const
edm::Event
&
ev
,
46
const
edm::EventSetup
& evSetup,
47
const
reco::Track
&
track
)
const override
{
48
throw
cms::Exception
(
"Configuration Error"
)
49
<<
"This extractor "
<< (
typeid
(
this
).
name
()) <<
" is not made for tracks"
;
50
}
51
reco::IsoDeposit
deposit
(
const
edm::Event
&
ev
,
52
const
edm::EventSetup
& evSetup,
53
const
reco::Candidate
&
c
)
const override
;
54
55
private
:
56
double
extRadius_
;
57
double
intRadius_
;
58
double
etLow_
;
59
60
edm::EDGetTokenT<HBHERecHitCollection>
hcalRecHitProducerToken_
;
61
};
62
}
// namespace egammaisolation
63
#endif
egammaisolation::EgammaHcalExtractor
Definition:
EgammaHcalExtractor.h:36
PDWG_EXOHSCP_cff.tracks
tracks
Definition:
PDWG_EXOHSCP_cff.py:28
HLT_FULL_cff.track
track
Definition:
HLT_FULL_cff.py:11713
ESHandle.h
egammaisolation
Definition:
EgammaTrackSelector.h:11
edm::EDGetTokenT
Definition:
EDGetToken.h:33
egammaisolation::EgammaHcalExtractor::hcalRecHitProducerToken_
edm::EDGetTokenT< HBHERecHitCollection > hcalRecHitProducerToken_
Definition:
EgammaHcalExtractor.h:60
egammaisolation::EgammaHcalExtractor::intRadius_
double intRadius_
Definition:
EgammaHcalExtractor.h:57
egammaisolation::EgammaHcalExtractor::etLow_
double etLow_
Definition:
EgammaHcalExtractor.h:58
Track.h
TrackFwd.h
reco::Track
Definition:
Track.h:27
IsoDeposit.h
egammaisolation::EgammaHcalExtractor::EgammaHcalExtractor
EgammaHcalExtractor(const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
Definition:
EgammaHcalExtractor.h:38
IsoDepositExtractor.h
edm::ParameterSet
Definition:
ParameterSet.h:47
egammaisolation::EgammaHcalExtractor::~EgammaHcalExtractor
~EgammaHcalExtractor() override
Definition:
EgammaHcalExtractor.cc:40
Event.h
egammaisolation::EgammaHcalExtractor::deposit
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override
Definition:
EgammaHcalExtractor.h:45
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
InputTag.h
reco::Candidate
Definition:
Candidate.h:27
egammaisolation::EgammaHcalExtractor::fillVetos
void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) override
Definition:
EgammaHcalExtractor.h:43
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
Exception
Definition:
hltDiff.cc:246
CaloGeometry.h
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
EventSetup.h
reco::IsoDeposit
Definition:
IsoDeposit.h:49
HcalRecHitCollections.h
ConsumesCollector.h
Candidate.h
CaloDualConeSelector.h
ParameterSet.h
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:24
edm::Event
Definition:
Event.h:73
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:14
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
egammaisolation::EgammaHcalExtractor::extRadius_
double extRadius_
Definition:
EgammaHcalExtractor.h:56
Generated for CMSSW Reference Manual by
1.8.16