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);
77 Set(
"ACQ Status", status);
113 SetScaler(
"Bad Events with wrong number of blocks", evt_number);
122 return GetScaler(
"Bad Events with wrong number of blocks");
131 SetScaler(
"Bad Events internal error in one block", evt_number);
140 return GetScaler(
"Bad Events internal error in one block");
149 SetScaler(
"Number of ACQ files", number);
167 Set(
"Duration (s)", duration);
176 return Get(
"Duration (s)");
185 Set(
"ACQ rate (evts/s)", frequency);
194 return Get(
"ACQ rate (evts/s)");
203 Set(
"trigger rate (evts/s)", triggerrate);
212 return Get(
"trigger rate (evts/s)");
221 Set(
"deadtime [0;1]", deadtime);
230 return Get(
"deadtime [0;1]");
239 Set(
"number of trigger blocks", number);
248 return Get(
"number of trigger blocks");
275 Set(
"Rutherford Cross Section (mb)", number);
284 return Get(
"Rutherford Cross Section (mb)");
A single raw data file associated with an experimental run ,,.
Description of an experimental run in database ,,.
void AddRunFile(KVDBRunFile *rf)
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.
virtual Int_t GetScaler(const Char_t *name) const
Get value of scaler with the given name for this run.
const Char_t * GetString(const Char_t *param) const
Get characteristic of 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.
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....