Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
reco::DiscretizedEnergyFlow::DiscretizedEnergyFlow
DiscretizedEnergyFlow()
Definition:
DiscretizedEnergyFlow.h:23
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:105
DiscretizedEnergyFlow.h
reco::DiscretizedEnergyFlow::nPhiBins
unsigned nPhiBins() const
Definition:
DiscretizedEnergyFlow.h:42
filterCSVwithJSON.copy
tuple copy
Definition:
filterCSVwithJSON.py:35
jptDQMConfig_cff.etaMin
int etaMin
Definition:
jptDQMConfig_cff.py:52
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:82
jptDQMConfig_cff.etaMax
float etaMax
Definition:
jptDQMConfig_cff.py:9
pileupCalc.nbins
nbins
Definition:
pileupCalc.py:237
reco::DiscretizedEnergyFlow::data_
std::vector< double > data_
Definition:
DiscretizedEnergyFlow.h:45
Generated for CMSSW Reference Manual by
1.8.5