43 SetRLCommentChar(GetDBEnv(
"Runlist.Comment")[0]);
44 if (!strcmp(GetDBEnv(
"Runlist.Separator"),
"<TAB>"))
45 SetRLSeparatorChar(
'\t');
47 SetRLSeparatorChar(GetDBEnv(
"Runlist.Separator")[0]);
48 GetLineReader()->SetFieldKeys(
"tape",
"run",
"events");
49 GetLineReader()->SetRunKeys(
"run",
"events");
50 ReadRunList(runlist_fullpath.
Data());
80 cout <<
"run_n = 0 ????????? line number =" << GetRLLineNumber() <<
82 GetLineReader()->Print();
97 tape = GetTape(tape_n);
104 Error(
"GoodRunLine",
"No tape field ? run=%d", run_n);
128 Error(
"GoodRunLine",
"No events field ? run=%d", run_n);
132 Error(
"GoodRunLine",
"No FAR field ? run=%d", run_n);
136 Error(
"GoodRunLine",
"No MFI field ? run=%d", run_n);
140 Error(
"GoodRunLine",
"No blocs field ? run=%d", run_n);
144 Error(
"GoodRunLine",
"No G. dir field ? run=%d", run_n);
148 Error(
"GoodRunLine",
"No G. marq field ? run=%d", run_n);
152 Error(
"GoodRunLine",
"No G. TM field ? run=%d", run_n);
156 Error(
"GoodRunLine",
"No TM %% field ? run=%d", run_n);
158 run->
SetTrigger(GetRunListTrigger(
"Decl",
"M>=%d"));
160 Error(
"GoodRunLine",
"No Decl field ? run=%d", run_n);
166 Error(
"GoodRunLine",
"Run %d already exists", run_n);
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
static Bool_t SearchKVFile(const Char_t *name, TString &fullpath, const Char_t *kvsubdir="")
void SetEvents(ULong64_t evt_number)
void SetComments(const KVString &comments)
void SetTrigger(Int_t trig)
virtual void SetScaler(const Char_t *name, Int_t val)
Set value for the scaler with the given name for this run.
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 1st campaign of INDRA.
virtual void Build()
Use KVINDRARunListReader utility subclass to read complete runlist.
virtual void GoodRunLine()
Database entry for each run of an INDRA experiment.
void SetTMpercent(Float_t tmp)
DataBase of parameters for an INDRA campaign.
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