20 #include "KVINDRADB4.h"
21 #include "KVINDRADBRun.h"
22 #include "KVDBParameterSet.h"
23 #include "KVRunListLine.h"
44 KVINDRADB4::~KVINDRADB4()
62 SetRLCommentChar(
'#');
63 SetRLSeparatorChar(
'|');
64 GetLineReader()->SetFieldKeys(
"RUN",
"BEAM",
"TARGET");
65 GetLineReader()->SetRunKeys(
"RUN",
"EVENTS");
66 ReadRunList(runlist_fullpath.
Data());
97 cout <<
"run_n = 0 ????????? line number =" << GetRLLineNumber() <<
99 GetLineReader()->Print();
121 Error(
"GoodRunLine",
"No events field ? run=%d", run_n);
123 run->
SetTrigger(GetRunListTrigger(
"TRIGGER",
"M>=%d"));
125 Error(
"GoodRunLine",
"No TRIGGER field ? run=%d", run_n);
133 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)
DataBase of parameters for 4th campaign of INDRA.
void Build(bool=false) override
Use KVINDRARunListReader utility subclass to read complete runlist.
void GoodRunLine() override
Database entry for each run of an INDRA experiment.
void SetStartDate(const KVString &date)
void SetEvents(ULong64_t evt_number)
DataBase of parameters for an INDRA campaign.
Base class for reading runlists for experiments ,.
Bool_t HasFieldValue(const Char_t *) const
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