KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVINDRADBRun.h
1/***************************************************************************
2$Id: KVINDRADBRun.h,v 1.10 2009/01/22 13:58:33 franklan Exp $
3$Revision: 1.10 $
4$Date: 2009/01/22 13:58:33 $
5$Author: franklan $
6 ***************************************************************************/
7#ifndef KV_DB_INDRARUN_H
8#define KV_DB_INDRARUN_H
9
10#include "KVDBTape.h"
11#include "KVString.h"
12#include "KVDBRun.h"
13#include "KVDatime.h"
14
30class KVINDRADBRun: public KVDBRun {
31
32private:
34public:
35
37 KVINDRADBRun(Int_t number, const Char_t* title = "INDRA Run");
38 virtual ~ KVINDRADBRun();
39
40 KVDBTape* GetTape() const;
41 Int_t GetTapeNumber() const;
43 {
44 return Get("Dead time (%)");
45 };
46 const Char_t* GetCahier() const
47 {
48 return GetString("Logbook");
49 };
50 const Char_t* GetLogbook() const
51 {
52 return GetCahier();
53 };
54
56 {
57 Set("Dead time (%)", tmp);
58 };
59
60 void SetCahier(const Char_t* log)
61 {
63 };
64 void SetLogbook(const Char_t* log)
65 {
66 Set("Logbook", log);
67 };
68
70 Double_t Coul_par_top = 1.e-10) const;
72 Double_t Coul_par_top = 1.e-10) const;
73
74 Double_t GetTempsMort() const;
76 {
77 return GetTempsMort();
78 };
80 Double_t Coul_par_top = 1.e-10) const;
81
88 virtual Double_t GetGeneDirectTime(Double_t average_gene_dir_frequency = 185.0) const
89 {
90 return GetScaler("Gene DIRECT") / average_gene_dir_frequency;
91 }
92 virtual void UnsetSystem();
93
95 {
100 else fStartEndDate.Set();
101 return fStartEndDate;
102 };
104 {
107 if (strcmp(GetEndDate(), "")) fStartEndDate.SetGanacqDate(GetEndDate());
108 else fStartEndDate.Set();
109 return fStartEndDate;
110 };
111
112 ClassDef(KVINDRADBRun, 4) //Class for storing information on INDRA runs
113};
114#endif
int Int_t
char Char_t
float Float_t
double Double_t
#define ClassDef(name, id)
Description of an experimental run in database ,,.
Definition KVDBRun.h:36
const Char_t * GetEndDate() const
Definition KVDBRun.h:159
void Set(const Char_t *param, Double_t val)
Set numerical (non-scaler) characteristic of run.
Definition KVDBRun.h:231
const Char_t * GetStartDate() const
Definition KVDBRun.h:151
Double_t Get(const Char_t *param) const
Get numerical (non-scaler) characteristic of run.
Definition KVDBRun.h:237
const Char_t * GetString(const Char_t *param) const
Get characteristic of run.
Definition KVDBRun.h:248
virtual Int_t GetScaler(const Char_t *name) const
Get value of scaler with the given name for this run.
Definition KVDBRun.h:215
Database entry describing a data storage tape used to store raw data.
Definition KVDBTape.h:25
Extension of TDatime to handle various useful date formats.
Definition KVDatime.h:33
void SetGanacqDate(const Char_t *GanacqDateString)
Definition KVDatime.cpp:323
Database entry for each run of an INDRA experiment.
const Char_t * GetCahier() const
const Char_t * GetLogbook() const
Double_t GetNIncidentIons(Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10) const
KVDBTape * GetTape() const
KVDatime & GetStartDatime()
virtual Double_t GetGeneDirectTime(Double_t average_gene_dir_frequency=185.0) const
void SetCahier(const Char_t *log)
Double_t GetTMpercent() const
Double_t GetTempsMort() const
Double_t GetEventCrossSection(Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10) const
KVINDRADBRun()
default ctor
Int_t GetTapeNumber() const
Double_t GetDeadTime() const
void SetLogbook(const Char_t *log)
Double_t GetTotalCrossSection(Double_t Q_apres_cible, Double_t Coul_par_top=1.e-10) const
KVDatime & GetEndDatime()
virtual void UnsetSystem()
void SetTMpercent(Float_t tmp)
KVDatime fStartEndDate
used by GetStartDatime and GetEndDatime methods
void Set()
RVec< PromoteType< T > > log(const RVec< T > &v)