Belle II Software
development
ECLDigitWaveformParametersForMC.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
/* ROOT headers. */
12
#include <TObject.h>
13
14
namespace
Belle2
{
24
class
ECLDigitWaveformParametersForMC
:
public
TObject {
25
public
:
26
30
ECLDigitWaveformParametersForMC
()
31
{
32
for
(
int
i = 0; i < 11; i++) {
33
m_PhotonPars
[i] = 0.;
34
m_HadronPars
[i] = 0.;
35
m_DiodePars
[i] = 0.;
36
}
37
38
};
39
41
const
float
*
getPhotonParameters
()
const
{
return
m_PhotonPars
;};
42
44
const
float
*
getHadronParameters
()
const
{
return
m_HadronPars
;};
45
47
const
float
*
getDiodeParameters
()
const
{
return
m_DiodePars
;};
48
50
void
setTemplateParameters
(
const
float
photonInput[11],
51
const
float
hadronInput[11],
52
const
float
diodeInput[11])
53
{
54
for
(
int
i = 0; i < 11; i++) {
55
m_PhotonPars
[i] = photonInput[i];
56
m_HadronPars
[i] = hadronInput[i];
57
m_DiodePars
[i] = diodeInput[i];
58
}
59
};
60
64
~ECLDigitWaveformParametersForMC
() {};
65
66
private
:
67
68
float
m_PhotonPars
[11];
69
float
m_HadronPars
[11];
70
float
m_DiodePars
[11];
72
//1 Initial Version
73
ClassDef
(
ECLDigitWaveformParametersForMC
, 1);
74
};
76
}
// end namespace Belle2
Belle2::ECLDigitWaveformParametersForMC
DB object to store photon, hadron and diode shape parameters used in simulations.
Definition:
ECLDigitWaveformParametersForMC.h:24
Belle2::ECLDigitWaveformParametersForMC::getPhotonParameters
const float * getPhotonParameters() const
Get array of photon template parameters.
Definition:
ECLDigitWaveformParametersForMC.h:41
Belle2::ECLDigitWaveformParametersForMC::m_PhotonPars
float m_PhotonPars[11]
photon parameters for MC
Definition:
ECLDigitWaveformParametersForMC.h:68
Belle2::ECLDigitWaveformParametersForMC::getDiodeParameters
const float * getDiodeParameters() const
Get array of diode template parameters.
Definition:
ECLDigitWaveformParametersForMC.h:47
Belle2::ECLDigitWaveformParametersForMC::m_HadronPars
float m_HadronPars[11]
hadron parameters for MC
Definition:
ECLDigitWaveformParametersForMC.h:69
Belle2::ECLDigitWaveformParametersForMC::getHadronParameters
const float * getHadronParameters() const
Get array of hadron template parameters.
Definition:
ECLDigitWaveformParametersForMC.h:44
Belle2::ECLDigitWaveformParametersForMC::setTemplateParameters
void setTemplateParameters(const float photonInput[11], const float hadronInput[11], const float diodeInput[11])
Set photon, hadron and diode template parameters.
Definition:
ECLDigitWaveformParametersForMC.h:50
Belle2::ECLDigitWaveformParametersForMC::m_DiodePars
float m_DiodePars[11]
diode parameters for MC
Definition:
ECLDigitWaveformParametersForMC.h:70
Belle2::ECLDigitWaveformParametersForMC::ClassDef
ClassDef(ECLDigitWaveformParametersForMC, 1)
ClassDef.
Belle2::ECLDigitWaveformParametersForMC::~ECLDigitWaveformParametersForMC
~ECLDigitWaveformParametersForMC()
Destructor.
Definition:
ECLDigitWaveformParametersForMC.h:64
Belle2::ECLDigitWaveformParametersForMC::ECLDigitWaveformParametersForMC
ECLDigitWaveformParametersForMC()
Default constructor.
Definition:
ECLDigitWaveformParametersForMC.h:30
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
ecl
dbobjects
include
ECLDigitWaveformParametersForMC.h
Generated on Fri Nov 8 2024 02:36:37 for Belle II Software by
1.9.6