4#include "KVExpSetUpDB.h"
6#include "KVMultiDetArray.h"
78 Info(
"Build",
"No informations on dataset runs available");
79 Info(
"Build",
"Dummy database runs numbered from 1 to 100 will be created");
80 for (
int i = 1; i <= 100; ++i) {
105 if (runinfos ==
"")
return;
107 Info(
"ReadScalerInfos",
"Reading scaler infos from %s", runinfos.
Data());
108 TFile runinfos_file(runinfos);
111 while ((run = (
KVDBRun*)it_run())) {
115 for (
int i = 0; i < npar; i += 2) {
146 throw std::runtime_error(
"run infos file not found");
148 Info(
"FillRunsTable",
"Reading run infos from %s", runinfos.
Data());
149 TFile runinfos_file(runinfos);
153 while ((run_key = (
TKey*)it())) {
char * Form(const char *fmt,...)
virtual Int_t GetNumber() const
Description of an experimental run in database ,,.
void SetEvents(ULong64_t evt_number)
virtual void SetScaler64(const Char_t *name, ULong64_t val)
Set value for 64-bit scaler with the given name for this run.
void SetStartDate(const KVString &date)
void SetEndDate(const KVString &d)
TString GetFullPathToDataSetFile(const Char_t *filename)
Base class to describe database of an experiment ,,.
virtual void ReadComments()
virtual void ReadSystemList()
TString fDataSet
the name of the dataset to which this database is associated
virtual KVSeqCollection * GetRuns() const
Calibration database for experiments using coupled detector arrays.
KVExpSetUpDB()
Default constructor.
virtual ~KVExpSetUpDB()
Destructor.
Extended TList class which owns its objects by default.
virtual void MakeCalibrationTables(KVExpDB *)
static KVMultiDetArray * MakeMultiDetector(const Char_t *dataset_name, Int_t run=-1, TString classname="KVMultiDetArray")
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
KVNamedParameter * GetParameter(Int_t idx) const
return the parameter object with index idx
Int_t GetIntValue(const Char_t *name) const
Bool_t HasValue64bit(const Char_t *name) const
Int_t GetNpar() const
return the number of stored parameters
ULong64_t GetValue64bit(const Char_t *name) const
const Char_t * GetStringValue(const Char_t *name) const
virtual void Add(TObject *obj)
T * Get(const char *namecycle)
TKey * GetKey(const char *name, Short_t cycle=9999) const override
TList * GetListOfKeys() const override
virtual const char * GetClassName() const
virtual TObject * ReadObj()
const char * GetName() const override
virtual void Info(const char *method, const char *msgfmt,...) const
const char * Data() const
TString & Remove(EStripType s, char c)
Ssiz_t Index(const char *pat, Ssiz_t i=0, ECaseCompare cmp=kExact) const