KaliVeda
Toolkit for HIC analysis
KVFAZIADBRun.h
1 
4 #ifndef __KVFAZIADBRUN_H
5 #define __KVFAZIADBRUN_H
6 
7 #include "KVDBRun.h"
8 
15 class KVFAZIADBRun : public KVDBRun {
16 
17 protected:
18 
19  void init();
20 
21 public:
22  KVFAZIADBRun();
23  KVFAZIADBRun(Int_t number, const Char_t* title);
24 
25  void SetACQStatus(const KVString& status);
26  const Char_t* GetACQStatus() const;
27 
28  void SetGoodEvents(Int_t);
29  Int_t GetGoodEvents() const;
30 
33 
36 
38  Int_t GetNumberOfAcqFiles() const;
39 
40  void SetDuration(Double_t);
41  Double_t GetDuration() const;
42 
43  void SetFrequency(Double_t);
44  Double_t GetFrequency() const;
45 
47  Double_t GetTriggerRate() const;
48 
49  void SetDeadTime(Double_t);
50  Double_t GetDeadTime() const;
51 
54 
56  Int_t GetRutherfordCount() const;
57 
60 
63  void SetEvents(ULong64_t evt_number)
64  {
65  GetFirstFile().SetEvents(evt_number);
66  }
67  void SetStartDate(const KVString& date)
68  {
69  GetFirstFile().SetStartDate(date);
70  }
71  void SetEndDate(const KVString& d)
72  {
74  }
75  void SetSize(Double_t s)
76  {
77  GetFirstFile().SetSize(s);
78  }
79 
80  ClassDef(KVFAZIADBRun, 1) //run description for FAZIA experiment
81 };
82 
83 #endif
int Int_t
#define d(i)
char Char_t
double Double_t
#define ClassDef(name, id)
void SetEndDate(const KVString &d)
Definition: KVDBRunFile.h:178
void SetSize(Double_t s)
Definition: KVDBRunFile.h:165
void SetStartDate(const KVString &date)
Definition: KVDBRunFile.h:170
void SetEvents(ULong64_t evt_number)
Definition: KVDBRunFile.h:157
Description of an experimental run in database ,,.
Definition: KVDBRun.h:40
KVDBRunFile & GetFirstFile()
Definition: KVDBRun.h:92
Database entry for a run in a FAZIA experiment.
Definition: KVFAZIADBRun.h:15
Double_t GetTriggerRate() const
Int_t GetNumberOfAcqFiles() const
void SetNumberOfAcqFiles(Int_t)
void SetDuration(Double_t)
Double_t GetRutherfordCrossSection() const
Int_t GetRutherfordCount() const
const Char_t * GetACQStatus() const
Int_t GetError_InternalBlockError() const
void SetGoodEvents(Int_t)
void init()
initialize all fields
void SetError_InternalBlockError(Int_t)
void SetEvents(ULong64_t evt_number)
Definition: KVFAZIADBRun.h:63
void SetError_WrongNumberOfBlocks(Int_t)
Double_t GetFrequency() const
void SetStartDate(const KVString &date)
Definition: KVFAZIADBRun.h:67
void SetRutherfordCrossSection(Double_t)
Double_t GetNumberOfTriggerBlocks() const
Double_t GetDuration() const
void SetRutherfordCount(Int_t)
void SetSize(Double_t s)
Definition: KVFAZIADBRun.h:75
void SetACQStatus(const KVString &status)
void SetFrequency(Double_t)
Int_t GetError_WrongNumberOfBlocks() const
Int_t GetGoodEvents() const
void SetTriggerRate(Double_t)
void SetDeadTime(Double_t)
void SetNumberOfTriggerBlocks(Double_t)
Double_t GetDeadTime() const
void SetEndDate(const KVString &d)
Definition: KVFAZIADBRun.h:71
KVFAZIADBRun()
Default constructor.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition: KVString.h:73
unsigned long long ULong64_t