Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
JetReco
src
DiscretizedEnergyFlow.cc
Go to the documentation of this file.
1
#include <cassert>
2
#include <algorithm>
3
4
#include "
DataFormats/JetReco/interface/DiscretizedEnergyFlow.h
"
5
6
namespace
reco
{
7
8
DiscretizedEnergyFlow::DiscretizedEnergyFlow
(
9
const
double
*
data
,
const
char
*
title
,
10
const
double
etaMin
,
const
double
etaMax
,
const
double
phiBin0Edge,
11
const
unsigned
nEtaBins,
const
unsigned
nPhiBins
)
12
: title_(title),
13
etaMin_(etaMin),
14
etaMax_(etaMax),
15
phiBin0Edge_(phiBin0Edge),
16
nEtaBins_(nEtaBins),
17
nPhiBins_(nPhiBins)
18
{
19
assert
(data);
20
assert
(title);
21
const
unsigned
nbins
= nEtaBins*
nPhiBins
;
22
data_
.resize(nbins);
23
std::copy
(data, data+nbins,
data_
.begin());
24
}
25
26
}
indexGen.title
title
Definition:
indexGen.py:48
ecaldqm::binning::nPhiBins
Definition:
MESetBinningUtils.h:70
reco::DiscretizedEnergyFlow::DiscretizedEnergyFlow
DiscretizedEnergyFlow()
Definition:
DiscretizedEnergyFlow.h:23
assert
assert(m_qm.get())
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:106
HLT_25ns14e33_v1_cff.etaMin
tuple etaMin
Definition:
HLT_25ns14e33_v1_cff.py:26057
DiscretizedEnergyFlow.h
reco::DiscretizedEnergyFlow::nPhiBins
unsigned nPhiBins() const
Definition:
DiscretizedEnergyFlow.h:42
filterCSVwithJSON.copy
tuple copy
Definition:
filterCSVwithJSON.py:35
pileupCalc.nbins
nbins
Definition:
pileupCalc.py:237
HLT_25ns14e33_v1_cff.etaMax
tuple etaMax
Definition:
HLT_25ns14e33_v1_cff.py:26058
AlCaHLTBitMon_QueryRunRegistry.data
tuple data
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:288
reco::DiscretizedEnergyFlow::data_
std::vector< double > data_
Definition:
DiscretizedEnergyFlow.h:45
Generated for CMSSW Reference Manual by
1.8.5