KaliVeda
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 
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 
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 
unsigned short UShort_t
char Char_t
constexpr Bool_t kTRUE
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
char * Form(const char *fmt,...)
To store calibration parameters in a database ,.
Calibration peak in database.
Definition: KVDBPeak.h:35
void init()
default initialisations
Definition: KVDBPeak.cpp:25
void SetDetector(const Char_t *name)
Definition: KVDBPeak.h:66
KVDBPeak()
default ctor
Definition: KVDBPeak.cpp:45
ClassImp(TPyArg)