test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
HeavyIonEvent
src
EvtPlane.cc
Go to the documentation of this file.
1
#include "
DataFormats/HeavyIonEvent/interface/EvtPlane.h
"
2
3
using namespace
reco
;
4
using namespace
std;
5
EvtPlane::EvtPlane
(
int
epindx,
int
level
,
double
planeA,
double
sumSin,
double
sumCos,
double
sumw,
double
sumw2,
double
sumPtOrEt,
double
sumPtOrEt2, uint
mult
)
6
:
7
indx_(epindx),
8
sumw_(sumw),
9
sumw2_(sumw2),
10
sumPtOrEt_(sumPtOrEt),
11
sumPtOrEt2_(sumPtOrEt2),
12
mult_(mult)
13
{
14
for
(
int
i
= 0;
i
< 4; ++
i
) {
15
angle_
[
i
] =
sumSin_
[
i
] =
sumCos_
[
i
] = -10;
16
}
17
angle_
[
level
] = planeA;
18
sumSin_
[
level
] =
sumSin
;
19
sumCos_
[
level
] =
sumCos
;
20
// default constructor
21
}
22
void
EvtPlane::addLevel
(
int
level
,
double
ang,
double
sumsin,
double
sumcos) {
23
angle_
[
level
] = ang;
24
sumSin_
[
level
] = sumsin;
25
sumCos_
[
level
] = sumcos;
26
}
27
28
EvtPlane::~EvtPlane
()
29
{
30
}
31
32
reco::EvtPlane::sumSin_
float sumSin_[4]
Definition:
EvtPlane.h:41
reco::EvtPlane::addLevel
void addLevel(int level, double ang, double sumsin, double sumcos)
Definition:
EvtPlane.cc:22
VarParsing.mult
mult
Definition:
VarParsing.py:657
i
int i
Definition:
DBlmapReader.cc:9
reco::EvtPlane::~EvtPlane
virtual ~EvtPlane()
Definition:
EvtPlane.cc:28
reco::EvtPlane::sumCos
float sumCos(int level=2) const
Definition:
EvtPlane.h:27
reco::EvtPlane::angle_
float angle_[4]
Definition:
EvtPlane.h:40
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:106
reco::EvtPlane::sumCos_
float sumCos_[4]
Definition:
EvtPlane.h:42
reco::EvtPlane::EvtPlane
EvtPlane(int epindx=0, int level=2, double planeA=0, double sumSin=0, double sumCos=0, double sumw=0, double sumw2=0, double pe=0, double pe2=0, uint mult=0)
Definition:
EvtPlane.cc:5
testEve_cfg.level
tuple level
Definition:
testEve_cfg.py:34
reco::EvtPlane::sumSin
float sumSin(int level=2) const
Definition:
EvtPlane.h:26
EvtPlane.h
Generated for CMSSW Reference Manual by
1.8.5