Main Page
Namespaces
Classes
Package Documentation
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
reco::EvtPlane::~EvtPlane
virtual ~EvtPlane()
Definition:
EvtPlane.cc:28
mps_fire.i
i
Definition:
mps_fire.py:329
reco::EvtPlane::sumCos
float sumCos(int level=2) const
Definition:
EvtPlane.h:27
hcalDigis_cfi.level
level
Definition:
hcalDigis_cfi.py:18
reco::EvtPlane::angle_
float angle_[4]
Definition:
EvtPlane.h:40
std
Definition:
JetResolutionObject.h:80
reco::EvtPlane::sumCos_
float sumCos_[4]
Definition:
EvtPlane.h:42
parallelization.uint
def uint(string)
Definition:
parallelization.py:50
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
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
reco::EvtPlane::sumSin
float sumSin(int level=2) const
Definition:
EvtPlane.h:26
EvtPlane.h
Generated for CMSSW Reference Manual by
1.8.11