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
}
ecaldqm::binning::nPhiBins
Definition:
MESetBinningUtils.h:72
TrackCollections2monitor_cff.etaMin
tuple etaMin
Definition:
TrackCollections2monitor_cff.py:192
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:107
DiscretizedEnergyFlow.h
reco::DiscretizedEnergyFlow::nPhiBins
unsigned nPhiBins() const
Definition:
DiscretizedEnergyFlow.h:42
filterCSVwithJSON.copy
tuple copy
Definition:
filterCSVwithJSON.py:35
TrackCollections2monitor_cff.etaMax
tuple etaMax
Definition:
TrackCollections2monitor_cff.py:193
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:82
SiPixelPhase1TrackClusters_cfi.title
string title
Definition:
SiPixelPhase1TrackClusters_cfi.py:77
hlt_dqm_clientPB-live_cfg.nbins
tuple nbins
Definition:
hlt_dqm_clientPB-live_cfg.py:35
reco::DiscretizedEnergyFlow::data_
std::vector< double > data_
Definition:
DiscretizedEnergyFlow.h:45
Generated for CMSSW Reference Manual by
1.8.5