KaliVeda
1.13/01
Heavy-Ion Analysis Toolkit
kaliveda.doxygen
KVIndra
db
KVDBPeak.cpp
Go to the documentation of this file.
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
KVDBPeak.h
ClassImp
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
Definition:
KVPartitionList.cpp:9
UShort_t
unsigned short UShort_t
Char_t
char Char_t
kTRUE
const Bool_t kTRUE
type
int type
Form
char * Form(const char *fmt,...)
KVDBParameterSet
To store calibration parameters in a database ,.
Definition:
KVDBParameterSet.h:33
KVDBPeak
Calibration peak in database.
Definition:
KVDBPeak.h:34
KVDBPeak::init
void init()
default initialisations
Definition:
KVDBPeak.cpp:25
KVDBPeak::SetDetector
void SetDetector(const Char_t *name)
Definition:
KVDBPeak.h:65
KVDBPeak::KVDBPeak
KVDBPeak()
default ctor
Definition:
KVDBPeak.cpp:45
Generated on Thu Nov 10 2022 10:53:06 for KaliVeda by
1.9.1