Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
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
(
const
double
*
data
,
9
const
char
*
title
,
10
const
double
etaMin
,
11
const
double
etaMax
,
12
const
double
phiBin0Edge,
13
const
unsigned
nEtaBins
,
14
const
unsigned
nPhiBins
)
15
: title_(title),
16
etaMin_
(etaMin),
17
etaMax_
(etaMax),
18
phiBin0Edge_(phiBin0Edge),
19
nEtaBins_(nEtaBins),
20
nPhiBins_(nPhiBins) {
21
assert
(data);
22
assert
(title);
23
const
unsigned
nbins
= nEtaBins *
nPhiBins
;
24
data_
.resize(nbins);
25
std::copy
(data, data + nbins,
data_
.begin());
26
}
27
28
}
// namespace reco
ecaldqm::binning::nPhiBins
Definition:
MESetBinningUtils.h:70
reco::DiscretizedEnergyFlow::DiscretizedEnergyFlow
DiscretizedEnergyFlow()
Definition:
DiscretizedEnergyFlow.h:22
Puppi_cff.etaMin
tuple etaMin
Definition:
Puppi_cff.py:45
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:111
etaMax_
etaMax_(conf.getParameter< double >("etaMax"))
cms::cuda::assert
assert(be >=bs)
DiscretizedEnergyFlow.h
L1TMuonDQMOffline_cfi.nEtaBins
int nEtaBins
Definition:
L1TMuonDQMOffline_cfi.py:21
reco::DiscretizedEnergyFlow::nPhiBins
unsigned nPhiBins() const
Definition:
DiscretizedEnergyFlow.h:44
filterCSVwithJSON.copy
tuple copy
Definition:
filterCSVwithJSON.py:36
runGCPTkAlMap.title
string title
Definition:
runGCPTkAlMap.py:94
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
hlt_dqm_clientPB-live_cfg.nbins
tuple nbins
Definition:
hlt_dqm_clientPB-live_cfg.py:49
Puppi_cff.etaMax
tuple etaMax
Definition:
Puppi_cff.py:46
etaMin_
etaMin_(conf.getParameter< double >("etaMin"))
reco::DiscretizedEnergyFlow::data_
std::vector< double > data_
Definition:
DiscretizedEnergyFlow.h:47
Generated for CMSSW Reference Manual by
1.8.5