Diana Software
pkg
dianadata
QPulseParameters.cc
Go to the documentation of this file.
1
#include "
QPulseParameters.hh
"
2
3
using
std::endl;
4
QObjectImp
(
QPulseParameters
)
5
6
void
QPulseParameters::Clear
()
7
{
8
fRiseTime
=
Q_DOUBLE_DEFAULT
;
9
fDecayTime
=
Q_DOUBLE_DEFAULT
;
10
fSlowDecayTime
=
Q_DOUBLE_DEFAULT
;
11
fStartPosition
=
Q_DOUBLE_DEFAULT
;
12
fMaxPosition
=
Q_DOUBLE_DEFAULT
;
13
fEndPosition
=
Q_DOUBLE_DEFAULT
;
14
fIsSaturatedLow
=
Q_BOOL_DEFAULT
;
15
fIsSaturatedHigh
=
Q_BOOL_DEFAULT
;
16
}
17
void
QPulseParameters::Dump
(std::ostream& o)
const
18
{
19
o <<
"Rise Time: "
<<
fRiseTime
<< endl;
20
o <<
"Decay Time: "
<<
fDecayTime
<< endl;
21
o <<
"Slow Decay Time: "
<<
fSlowDecayTime
<< endl;
22
o <<
"Start Position: "
<<
fStartPosition
<< endl;
23
o <<
"Max Position: "
<<
fMaxPosition
<< endl;
24
o <<
"End Position: "
<<
fEndPosition
<< endl;
25
o <<
"Is saturated low: "
<<
fIsSaturatedLow
<< endl;
26
o <<
"Is saturated high: "
<<
fIsSaturatedHigh
;
27
}
Q_DOUBLE_DEFAULT
#define Q_DOUBLE_DEFAULT
Definition:
QDiana.hh:24
Q_BOOL_DEFAULT
#define Q_BOOL_DEFAULT
Definition:
QDiana.hh:36
QObjectImp
QObjectImp(QPulseParameters) void QPulseParameters
Definition:
QPulseParameters.cc:4
QPulseParameters.hh
QPulseParameters
basic pulse informations
Definition:
QPulseParameters.hh:16
QPulseParameters::fIsSaturatedLow
bool fIsSaturatedLow
IsSaturatedLow.
Definition:
QPulseParameters.hh:37
QPulseParameters::Dump
void Dump(std::ostream &o) const
Dump class members.
Definition:
QPulseParameters.cc:17
QPulseParameters::fIsSaturatedHigh
bool fIsSaturatedHigh
IsSaturatedHigh.
Definition:
QPulseParameters.hh:39
QPulseParameters::fRiseTime
double fRiseTime
RiseTime.
Definition:
QPulseParameters.hh:25
QPulseParameters::fEndPosition
double fEndPosition
End.
Definition:
QPulseParameters.hh:35
QPulseParameters::fStartPosition
double fStartPosition
Start.
Definition:
QPulseParameters.hh:31
QPulseParameters::fMaxPosition
double fMaxPosition
MaxPosition.
Definition:
QPulseParameters.hh:33
QPulseParameters::Clear
void Clear()
Clear members.
QPulseParameters::fDecayTime
double fDecayTime
Decay.
Definition:
QPulseParameters.hh:27
QPulseParameters::fSlowDecayTime
double fSlowDecayTime
SlowDecay.
Definition:
QPulseParameters.hh:29
Generated by
1.9.1