KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVDBChIoPressures.cpp
1/***************************************************************************
2$Id: KVDBChIoPressures.cpp,v 1.3 2007/02/13 18:18:18 franklan Exp $
3 KVDBChIoPressures.cpp - description
4 -------------------
5 begin : mer mai 7 2003
6 copyright : (C) 2003 by Alexis Mignon
7 email : mignon@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 "KVDBChIoPressures.h"
19#include "Riostream.h"
20
21
22using namespace std;
23
25//____________________________________________________________________________
27//____________________________________________________________________________
28
30
32{
33 InitCommon();
34 SetPressures(0., 0., 0., 0., 0.);
35}
36
37
38
40
42 Float_t p4, Float_t p5)
43{
44 InitCommon();
45 SetPressures(p1, p2, p3, p4, p5);
46}
47
48
49
51
53{
54 InitCommon();
55 SetPressures(pressure);
56}
57
58
59
61
67
68
69
71
76
77
78
80
82{
83 fSetNumber++;
84 TString name = "ChIo_Pres";
85 name.Append("_");
86 Char_t num[10];
87 sprintf(num, "%u", fSetNumber);
88 name.Append(num);
89 SetName(name.Data());
90 SetTitle("ChIo Pressures set");
91 AddKey("Runs", "List of related runs");
92}
93
94
95
97
99{
100 cout << "_____________________________________________________________"
101 << endl << "ChIo Pressures :" << endl << GetName() << " " <<
102 GetTitle() << endl << "ChIo 2_3 : " << fPressures[CHIO_2_3] << endl
103 << "ChIo 4_5 : " << fPressures[CHIO_4_5] << endl << "ChIo 6_7 : "
104 << fPressures[CHIO_6_7] << endl << "ChIo 8_12 : " <<
105 fPressures[CHIO_8_12] << endl << "ChIo 13_17: " <<
106 fPressures[CHIO_13_17] << endl <<
107 "______________________________________________________________" <<
108 endl;
109}
110
111
unsigned int UInt_t
char Char_t
float Float_t
const char Option_t
char name[80]
CHIO pressure parameters.
void SetPressures(Float_t p1=0, Float_t p2=0, Float_t p3=0, Float_t p4=0, Float_t p5=0)
virtual void Print(Option_t *option="") const
static UInt_t fSetNumber
Float_t GetChIoPressures(UInt_t chio_number)
Float_t fPressures[5]
[5]
Record folder for the database.
Definition KVDBRecord.h:43
virtual Bool_t AddKey(KVDBKey *key, Bool_t check=kTRUE)
virtual void SetTitle(const char *title="")
const char * GetName() const override
const char * GetTitle() const override
virtual void SetName(const char *name)
ClassImp(TPyArg)