4#include "KVFAZIADBRun.h"
5#include "KVFileReader.h"
28 SetNumberOfTriggerBlocks(-1);
32 SetACQStatus(
"Unkown");
33 SetError_WrongNumberOfBlocks(-1);
34 SetError_InternalBlockError(-1);
35 SetNumberOfAcqFiles(-1);
38 SetRutherfordCount(-1);
39 SetRutherfordCrossSection(0.0);
83 Set(
"ACQ Status", status);
119 SetScaler(
"Bad Events with wrong number of blocks", evt_number);
128 return GetScaler(
"Bad Events with wrong number of blocks");
137 SetScaler(
"Bad Events internal error in one block", evt_number);
146 return GetScaler(
"Bad Events internal error in one block");
155 SetScaler(
"Number of ACQ files", number);
173 Set(
"Duration (s)", duration);
182 return Get(
"Duration (s)");
191 Set(
"ACQ rate (evts/s)", frequency);
200 return Get(
"ACQ rate (evts/s)");
209 Set(
"trigger rate (evts/s)", triggerrate);
218 return Get(
"trigger rate (evts/s)");
227 Set(
"deadtime [0;1]", deadtime);
236 return Get(
"deadtime [0;1]");
245 Set(
"number of trigger blocks", number);
254 return Get(
"number of trigger blocks");
281 Set(
"Rutherford Cross Section (mb)", number);
290 return Get(
"Rutherford Cross Section (mb)");
Description of an experimental run in database ,,.
void Set(const Char_t *param, Double_t val)
Set numerical (non-scaler) characteristic of run.
Double_t Get(const Char_t *param) const
Get numerical (non-scaler) characteristic of run.
const Char_t * GetString(const Char_t *param) const
Get characteristic of run.
virtual Int_t GetScaler(const Char_t *name) const
Get value of scaler with the given name for this run.
virtual void SetScaler(const Char_t *name, Int_t val)
Set value for the scaler with the given name for this run.
Database entry for a run in a FAZIA experiment.
virtual ~KVFAZIADBRun()
Destructor.
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 SetError_WrongNumberOfBlocks(Int_t)
Double_t GetFrequency() const
void SetRutherfordCrossSection(Double_t)
Double_t GetNumberOfTriggerBlocks() const
Double_t GetDuration() const
void SetRutherfordCount(Int_t)
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
KVFAZIADBRun()
Default constructor.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....