Main Page
Namespaces
Classes
Package Documentation
RecoEgamma
EgammaHLTProducers
interface
EgammaHLTBcHcalIsolationProducersRegional.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: EgammaHLTProducers
4
// Class: EgammaHLTBcHcalIsolationProducersRegional
5
//
6
// Original Author: Matteo Sani (UCSD)
7
// Created: Thu Nov 24 11:38:00 CEST 2011
8
//
9
10
#include <memory>
11
12
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
13
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
FWCore/Framework/interface/MakerMacros.h
"
16
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
17
18
#include "
RecoEgamma/EgammaElectronAlgos/interface/ElectronHcalHelper.h
"
19
#include "
DataFormats/RecoCandidate/interface/RecoEcalCandidate.h
"
20
#include "
DataFormats/RecoCandidate/interface/RecoEcalCandidateFwd.h
"
21
#include "
DataFormats/CaloTowers/interface/CaloTower.h
"
22
#include "
DataFormats/CaloTowers/interface/CaloTowerDefs.h
"
23
24
namespace
edm
{
25
class
ConfigurationDescriptions
;
26
}
27
28
class
EgammaTowerIsolation
;
29
30
//this class produces either Hcal isolation or H for H/E depending if doEtSum=true or false
31
//H for H/E = towers behind SC, hcal isolation has these towers excluded
32
//a rho correction can be applied
33
34
class
EgammaHLTBcHcalIsolationProducersRegional
:
public
edm::stream::EDProducer
<> {
35
public
:
36
explicit
EgammaHLTBcHcalIsolationProducersRegional
(
const
edm::ParameterSet
&);
37
~
EgammaHLTBcHcalIsolationProducersRegional
()
override
;
38
39
// non-copiable
40
EgammaHLTBcHcalIsolationProducersRegional
(
EgammaHLTBcHcalIsolationProducersRegional
const
&) =
delete
;
41
EgammaHLTBcHcalIsolationProducersRegional
& operator=(
EgammaHLTBcHcalIsolationProducersRegional
const
&) =
delete
;
42
43
public
:
44
void
produce(
edm::Event
&,
const
edm::EventSetup
&)
final
;
45
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
46
47
private
:
48
const
bool
doEtSum_
;
49
const
double
etMin_
;
50
const
double
innerCone_
;
51
const
double
outerCone_
;
52
const
int
depth_
;
53
const
bool
useSingleTower_
;
54
55
const
bool
doRhoCorrection_
;
56
const
double
rhoScale_
;
57
const
double
rhoMax_
;
58
const
std::vector<double>
effectiveAreas_
;
59
const
std::vector<double>
absEtaLowEdges_
;
60
61
const
edm::EDGetTokenT<reco::RecoEcalCandidateCollection>
recoEcalCandidateProducer_
;
62
const
edm::EDGetTokenT<CaloTowerCollection>
caloTowerProducer_
;
63
const
edm::EDGetTokenT<double>
rhoProducer_
;
64
65
ElectronHcalHelper
*
hcalHelper_
;
66
};
67
EgammaHLTBcHcalIsolationProducersRegional::etMin_
const double etMin_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:49
EgammaHLTBcHcalIsolationProducersRegional::rhoScale_
const double rhoScale_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:56
EgammaHLTBcHcalIsolationProducersRegional::doRhoCorrection_
const bool doRhoCorrection_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:55
EgammaHLTBcHcalIsolationProducersRegional::absEtaLowEdges_
const std::vector< double > absEtaLowEdges_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:59
EgammaHLTBcHcalIsolationProducersRegional::outerCone_
const double outerCone_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:51
CaloTowerDefs.h
EgammaHLTBcHcalIsolationProducersRegional::caloTowerProducer_
const edm::EDGetTokenT< CaloTowerCollection > caloTowerProducer_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:62
EgammaHLTBcHcalIsolationProducersRegional::depth_
const int depth_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:52
Event.h
EgammaHLTBcHcalIsolationProducersRegional
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:34
CaloTower.h
MakerMacros.h
ElectronHcalHelper.h
edm::EDGetTokenT< reco::RecoEcalCandidateCollection >
Frameworkfwd.h
ElectronHcalHelper
Definition:
ElectronHcalHelper.h:21
EgammaHLTBcHcalIsolationProducersRegional::hcalHelper_
ElectronHcalHelper * hcalHelper_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:65
ParameterSet.h
EDProducer.h
EgammaHLTBcHcalIsolationProducersRegional::doEtSum_
const bool doEtSum_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:48
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EventSetup
Definition:
EventSetup.h:48
RecoEcalCandidateFwd.h
ConfigurationDescriptions
EgammaHLTBcHcalIsolationProducersRegional::rhoProducer_
const edm::EDGetTokenT< double > rhoProducer_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:63
edm::stream::EDProducer
Definition:
EDProducer.h:38
EgammaHLTBcHcalIsolationProducersRegional::useSingleTower_
const bool useSingleTower_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:53
RecoEcalCandidate.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
EgammaHLTBcHcalIsolationProducersRegional::innerCone_
const double innerCone_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:50
EgammaHLTBcHcalIsolationProducersRegional::rhoMax_
const double rhoMax_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:57
edm::Event
Definition:
Event.h:69
EgammaHLTBcHcalIsolationProducersRegional::effectiveAreas_
const std::vector< double > effectiveAreas_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:58
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
EgammaTowerIsolation
Definition:
EgammaTowerIsolation.h:212
EgammaHLTBcHcalIsolationProducersRegional::recoEcalCandidateProducer_
const edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandidateProducer_
Definition:
EgammaHLTBcHcalIsolationProducersRegional.h:61
Generated for CMSSW Reference Manual by
1.8.11