KaliVeda
1.15/7
Toolkit for HIC analysis
KVDBPeak.cpp
1
/***************************************************************************
2
$Id: KVDBPeak.cpp,v 1.4 2007/04/02 17:43:38 ebonnet Exp $
3
KVDBPeak.cpp - description
4
-------------------
5
begin : dec 5 2003
6
copyright : (C) 2003 by J.D.Frankland
7
email : frankland@ganil.fr
8
***************************************************************************/
9
10
/***************************************************************************
11
* *
12
* This program is free software; you can redistribute it and/or modify *
13
* it under the terms of the GNU General Public License as published by *
14
* the Free Software Foundation; either version 2 of the License, or *
15
* (at your option) any later version. *
16
* *
17
***************************************************************************/
18
#include "KVDBPeak.h"
19
20
23
24
ClassImp(
KVDBPeak
)
25
void
KVDBPeak
::init()
26
{
27
//default initialisations
28
fAvecGaz = kTRUE;
29
fGain = 1.0;
//gain of ampli for Si = 1.00 or 1.41
30
fEnergy = 0.0;
//theoretical energy of peak
31
fDetector =
""
;
32
fSignal =
""
;
33
fRing = 0;
34
fModule = 0;
35
SetRunList(
""
);
36
SetRingList(
""
);
37
SetModuleList(
""
);
38
}
39
40
41
44
45
KVDBPeak::KVDBPeak
()
46
{
47
//default ctor
48
init
();
49
}
50
51
52
56
57
KVDBPeak::KVDBPeak
(
const
Char_t* detname,
const
Char_t* type,
58
UShort_t pnum):
KVDBParameterSet
(Form(
"%s_%s"
, detname,
59
type), type, pnum)
60
{
61
//create a calibration peak of type "type" for detector "detname" with pnum parameters
62
//the name of the peak is "detname_type"
63
64
init
();
65
SetDetector
(detname);
66
}
67
68
KVDBParameterSet
To store calibration parameters in a database ,.
Definition:
KVDBParameterSet.h:34
KVDBPeak
Calibration peak in database.
Definition:
KVDBPeak.h:35
KVDBPeak::init
void init()
default initialisations
Definition:
KVDBPeak.cpp:25
KVDBPeak::SetDetector
void SetDetector(const Char_t *name)
Definition:
KVDBPeak.h:66
KVDBPeak::KVDBPeak
KVDBPeak()
default ctor
Definition:
KVDBPeak.cpp:45
kaliveda.doxygen
src
indra
db
KVDBPeak.cpp
Generated on Wed Oct 21 2026 13:16:23 for KaliVeda by
1.9.1