20 #include "KVINDRADB2.h"
21 #include "KVINDRADBRun.h"
22 #include "KVDBParameterSet.h"
48 SetRLCommentChar(
'#');
49 SetRLSeparatorChar(
'\t');
50 GetLineReader()->SetFieldKeys(
"Tape",
"Run",
"Events");
51 GetLineReader()->SetRunKeys(
"Run",
"Events");
52 ReadRunList(runlist_fullpath.
Data());
92 cout <<
"run_n = 0 ????????? line number =" << GetRLLineNumber() <<
94 GetLineReader()->Print();
109 tape = GetTape(tape_n);
137 Error(
"GoodRunLine",
"No Events field ? run=%d", run_n);
141 Error(
"GoodRunLine",
"No FAR field ? run=%d", run_n);
147 Error(
"GoodRunLine",
"No Blocs field ? run=%d", run_n);
151 Error(
"GoodRunLine",
"No G. dir field ? run=%d", run_n);
155 Error(
"GoodRunLine",
"No G. marq field ? run=%d", run_n);
159 Error(
"GoodRunLine",
"No G. TM field ? run=%d", run_n);
163 Error(
"GoodRunLine",
"No TM %% field ? run=%d", run_n);
165 run->
SetTrigger(GetRunListTrigger(
"Trigger",
"M>=%d"));
167 Error(
"GoodRunLine",
"No Trigger field ? run=%d", run_n);
173 Error(
"GoodRunLine",
"Run %d already exists", run_n);
static Bool_t SearchKVFile(const Char_t *name, TString &fullpath, const Char_t *kvsubdir="")
void SetComments(const KVString &comments)
void SetTrigger(Int_t trig)
virtual void SetScaler(const Char_t *name, Int_t val)
Database entry describing a data storage tape used to store raw data.
void AddRun(KVDBRun *run)
add run to list of runs stored on this tape
DataBase of parameters for 2nd campaign of INDRA.
void extend_minimal_database() override
void make_minimal_database() override
void GoodRunLine() override
Database entry for each run of an INDRA experiment.
void SetTMpercent(Float_t tmp)
void SetEvents(ULong64_t evt_number)
DataBase of parameters for an INDRA campaign.
void MakeCalibrationTables(KVExpDB *) override
Override base method in order to read ChIo pressures for each run.
static KVMultiDetArray * MakeMultiDetector(const Char_t *dataset_name, Int_t run=-1, TString classname="KVMultiDetArray", KVExpDB *db=nullptr)
Base class for reading runlists for experiments ,.
Bool_t HasFieldValue(const Char_t *) const
Float_t GetFloatField(const Char_t *)
Bool_t HasField(const Char_t *) const
INLINES_______________________________________________________________________________.
Int_t GetIntField(const Char_t *)
virtual const Char_t * GetField(const Char_t *) const
const char * Data() const