Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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/MetaCollections/interface/CaloRecHitMetaCollections.h
"
20
#include "
RecoCaloTools/Selectors/interface/CaloDualConeSelector.h
"
21
22
#include "
FWCore/Framework/interface/Event.h
"
23
#include "
FWCore/Framework/interface/EventSetup.h
"
24
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
#include "
FWCore/Utilities/interface/InputTag.h
"
27
28
#include "
DataFormats/TrackReco/interface/Track.h
"
29
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
30
31
#include "
PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h
"
32
#include "
DataFormats/RecoCandidate/interface/IsoDeposit.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
//HBHERecHitMetaCollection* mhbhe_ ; // to recover later when we add begin(), end()
64
65
};
66
}
67
#endif
reco::IsoDeposit
Definition:
IsoDeposit.h:46
egammaisolation::EgammaHcalExtractor::extRadius_
double extRadius_
Definition:
EgammaHcalExtractor.h:58
Event.h
EventSetup.h
reco::Candidate
Definition:
Candidate.h:32
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:25
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:10
egammaisolation::EgammaHcalExtractor::hcalRecHitProducerToken_
edm::EDGetTokenT< HBHERecHitCollection > hcalRecHitProducerToken_
Definition:
EgammaHcalExtractor.h:62
egammaisolation::EgammaHcalExtractor::intRadius_
double intRadius_
Definition:
EgammaHcalExtractor.h:59
TrackFwd.h
CaloRecHitMetaCollections.h
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:44
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
edm::hlt::Exception
error
Definition:
HLTenums.h:21
CaloGeometry.h
testEve_cfg.tracks
tuple tracks
Definition:
testEve_cfg.py:39
trackerHits.c
tuple c
Definition:
trackerHits.py:26
reco::Track
Definition:
Track.h:26
IsoDeposit.h
IsoDepositExtractor.h
CaloDualConeSelector.h
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
egammaisolation::EgammaHcalExtractor::~EgammaHcalExtractor
virtual ~EgammaHcalExtractor()
Definition:
EgammaHcalExtractor.cc:42
edm::Event
Definition:
Event.h:62
Track.h
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:32
Generated for CMSSW Reference Manual by
1.8.5