Main Page
Namespaces
Classes
Package Documentation
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
}
ecaldqm::binning::nPhiBins
Definition:
MESetBinningUtils.h:72
popcon2dropbox.copy
def copy(args, dbName)
Definition:
popcon2dropbox.py:121
reco::DiscretizedEnergyFlow::DiscretizedEnergyFlow
DiscretizedEnergyFlow()
Definition:
DiscretizedEnergyFlow.h:23
ALCARECOTkAlBeamHalo_cff.etaMin
etaMin
GeV.
Definition:
ALCARECOTkAlBeamHalo_cff.py:32
DiscretizedEnergyFlow.h
fftjetcommon_cfi.phiBin0Edge
phiBin0Edge
Definition:
fftjetcommon_cfi.py:31
reco::DiscretizedEnergyFlow::nPhiBins
unsigned nPhiBins() const
Definition:
DiscretizedEnergyFlow.h:42
ALCARECOTkAlBeamHalo_cff.etaMax
etaMax
Definition:
ALCARECOTkAlBeamHalo_cff.py:33
fftjetcommon_cfi.title
title
Definition:
fftjetcommon_cfi.py:32
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:82
pileupCalc.nbins
nbins
Definition:
pileupCalc.py:237
fftjetcommon_cfi.nEtaBins
nEtaBins
Definition:
fftjetcommon_cfi.py:27
reco::DiscretizedEnergyFlow::data_
std::vector< double > data_
Definition:
DiscretizedEnergyFlow.h:45
Generated for CMSSW Reference Manual by
1.8.11