4 #include "KVNameValueList.h"
9 #define KV__GET_INT(__param) return (fParameters.HasIntParameter(__param) ? fParameters.GetIntValue(__param) : 0);
10 #define KV__GET_ULONG(__param) return (fParameters.HasValue64bit(__param) ? fParameters.GetValue64bit(__param) : 0);
11 #define KV__GET_DBL(__param) return (fParameters.HasDoubleParameter(__param) ? fParameters.GetDoubleValue(__param) : 0.);
12 #define KV__GET_STR(__param) return (fParameters.HasStringParameter(__param) ? fParameters.GetStringValue(__param) : "");
13 #define KV__SET_INT(__param,__val) fParameters.SetValue(__param,__val);
14 #define KV__SET_ULONG(__param,__val) fParameters.SetValue64bit(__param,__val);
15 #define KV__SET_DBL(__param,__val) fParameters.SetValue(__param,__val);
16 #define KV__SET_STR(__param,__val) fParameters.SetValue(__param,__val);
65 KV__SET_INT(
name, val)
75 KV__SET_ULONG(
name, val)
86 KV__SET_DBL(param, val)
96 KV__SET_STR(param, val)
137 return Get(
"Length (min.)");
141 return Get(
"Size (MB)");
163 Set(
"Length (min.)", time);
172 Set(
"Start Date", date);
192 if(
IsBad()) std::cout <<
" (bad)";
193 std::cout << std::endl;
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
char * Form(const char *fmt,...)
Base class for KaliVeda framework.
A single raw data file associated with an experimental run ,,.
const Char_t * GetKVVersion() const
void ls(Option_t *="") const override
Int_t GetScaler(const Char_t *name) const
Get value of scaler with the given name for this run.
void SetScaler64(const Char_t *name, ULong64_t val)
Set value for 64-bit scaler with the given name for this run.
void SetEndDate(const KVString &d)
const Char_t * GetDatimeString() const
const Char_t * GetDate() const
void SetDate(const KVString &d)
void Set(const Char_t *param, Double_t val)
Set numerical (non-scaler) characteristic of run.
const Char_t * GetStartDate() const
ULong64_t GetEvents() const
const Char_t * GetUserName() const
void SetBad(Bool_t is_bad=kTRUE)
Declare this runfile to be 'bad', i.e. not to be used for analysis.
void SetStartDate(const KVString &date)
void SetKVVersion(const Char_t *V)
const Char_t * GetEndDate() const
void SetEvents(ULong64_t evt_number)
TString fUserName
set dynamically with KaliVeda version used to generate ROOT file corresponding to run
KVString GetFileName() const
ULong64_t GetScaler64(const Char_t *name) const
Get value of 64-bit scaler with the given name for this run.
const TDatime & GetDatime() const
Bool_t Has(const Char_t *param, Bool_t check_whitespace=kTRUE) const
void SetDatime(const TDatime &dat)
Double_t Get(const Char_t *param) const
Get numerical (non-scaler) characteristic of run.
KVNameValueList fParameters
KVDBRunFile(const KVString &filename, const run_index_t &run_index)
void Set(const Char_t *param, const KVString &val)
Set characteristic of run.
Int_t fRun
set dynamically with name of user who generated ROOT file corresponding to run
TString fKVVersion
set dynamically with date&time of ROOT file corresponding to run
void SetScaler(const Char_t *name, Int_t val)
Set value for the scaler with the given name for this run.
void SetUserName(const Char_t *U)
const Char_t * GetString(const Char_t *param) const
Get characteristic of run.
void SetTime(Double_t time)
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Bool_t HasStringParameter(const Char_t *name) const
Bool_t HasIntParameter(const Char_t *name) const
Bool_t HasDoubleParameter(const Char_t *name) const
TString GetTStringValue(const Char_t *name) const
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
void Copy(TDatime &datime) const
const char * AsString() const
const char * GetTitle() const override
const char * Data() const
Bool_t IsWhitespace() const
Specifies a runfile according to run number and file index ,.
unsigned long long ULong64_t