Belle II Software
release-06-00-14
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
z
Typedefs
a
b
c
d
e
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
ECLDigitWaveformParameters.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
9
#pragma once
10
11
#include <TObject.h>
12
13
namespace
Belle2
{
20
class
ECLDigitWaveformParameters
:
public
TObject {
21
public
:
22
26
ECLDigitWaveformParameters
()
27
{
28
29
for
(
int
i = 0; i < 11; i++) {
30
for
(
int
j = 0; j < 8736; j++) {
31
m_PhotonPars
[j][i] = 0.;
32
m_HadronPars
[j][i] = 0.;
33
m_DiodePars
[j][i] = 0.;
34
}
35
}
36
37
};
38
40
const
float
*
getPhotonParameters
(
int
cellID)
const
{
return
m_PhotonPars
[cellID - 1];};
41
43
const
float
*
getHadronParameters
(
int
cellID)
const
{
return
m_HadronPars
[cellID - 1];};
44
46
const
float
*
getDiodeParameters
(
int
cellID)
const
{
return
m_DiodePars
[cellID - 1];};
47
49
void
setTemplateParameters
(
int
cellID,
const
float
photonInput[11],
50
const
float
hadronInput[11],
51
const
float
diodeInput[11])
52
{
53
for
(
int
i = 0; i < 11; i++) {
54
m_PhotonPars
[cellID - 1][i] = photonInput[i];
55
m_HadronPars
[cellID - 1][i] = hadronInput[i];
56
m_DiodePars
[cellID - 1][i] = diodeInput[i];
57
}
58
};
59
63
~ECLDigitWaveformParameters
() {};
64
65
private
:
66
float
m_PhotonPars
[8736][11];
67
float
m_HadronPars
[8736][11];
68
float
m_DiodePars
[8736][11];
70
//2 convert vector of double to array of floats (SL)
71
//1 Initial Version
72
ClassDef
(
ECLDigitWaveformParameters
, 2);
73
};
75
}
// end namespace Belle2
Belle2::ECLDigitWaveformParameters
DB object to store photon, hadron and diode shape parameters.
Definition:
ECLDigitWaveformParameters.h:20
Belle2::ECLDigitWaveformParameters::m_DiodePars
float m_DiodePars[8736][11]
diode parameters all crystals
Definition:
ECLDigitWaveformParameters.h:68
Belle2::ECLDigitWaveformParameters::m_HadronPars
float m_HadronPars[8736][11]
hadron parameters all crystals
Definition:
ECLDigitWaveformParameters.h:67
Belle2::ECLDigitWaveformParameters::getDiodeParameters
const float * getDiodeParameters(int cellID) const
Get array of diode template parameters.
Definition:
ECLDigitWaveformParameters.h:46
Belle2::ECLDigitWaveformParameters::ECLDigitWaveformParameters
ECLDigitWaveformParameters()
Default constructor.
Definition:
ECLDigitWaveformParameters.h:26
Belle2::ECLDigitWaveformParameters::ClassDef
ClassDef(ECLDigitWaveformParameters, 2)
ClassDef.
Belle2::ECLDigitWaveformParameters::setTemplateParameters
void setTemplateParameters(int cellID, const float photonInput[11], const float hadronInput[11], const float diodeInput[11])
Set photon, hadron and diode template parameters for crystal.
Definition:
ECLDigitWaveformParameters.h:49
Belle2::ECLDigitWaveformParameters::m_PhotonPars
float m_PhotonPars[8736][11]
photon parameters all crystals
Definition:
ECLDigitWaveformParameters.h:63
Belle2::ECLDigitWaveformParameters::getHadronParameters
const float * getHadronParameters(int cellID) const
Get array of hadron template parameters.
Definition:
ECLDigitWaveformParameters.h:43
Belle2::ECLDigitWaveformParameters::~ECLDigitWaveformParameters
~ECLDigitWaveformParameters()
Destructor.
Definition:
ECLDigitWaveformParameters.h:63
Belle2::ECLDigitWaveformParameters::getPhotonParameters
const float * getPhotonParameters(int cellID) const
Get array of photon template parameters.
Definition:
ECLDigitWaveformParameters.h:40
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
ecl
dbobjects
include
ECLDigitWaveformParameters.h
Generated on Thu Jul 14 2022 07:58:09 for Belle II Software by
1.9.1