20 #define KV__GET_INT(__param) return (fParameters.HasIntParameter(__param) ? fParameters.GetIntValue(__param) : 0);
21 #define KV__GET_ULONG(__param) return (fParameters.HasValue64bit(__param) ? fParameters.GetValue64bit(__param) : 0);
22 #define KV__GET_DBL(__param) return (fParameters.HasDoubleParameter(__param) ? fParameters.GetDoubleValue(__param) : 0.);
23 #define KV__GET_STR(__param) return (fParameters.HasStringParameter(__param) ? fParameters.GetStringValue(__param) : "");
24 #define KV__SET_INT(__param,__val) fParameters.SetValue(__param,__val);
25 #define KV__SET_ULONG(__param,__val) fParameters.SetValue64bit(__param,__val);
26 #define KV__SET_DBL(__param,__val) fParameters.SetValue(__param,__val);
27 #define KV__SET_STR(__param,__val) fParameters.SetValue(__param,__val);
105 return GetScaler(
"Trigger multiplicity");
110 else return Form(
"xxx");
139 return Get(
"Length (min.)");
143 return Get(
"Size (MB)");
175 Set(
"Length (min.)", time);
183 Set(
"Comments", comments);
187 Set(
"Start Date", date);
#define KV__SET_ULONG(__param, __val)
#define KV__GET_DBL(__param)
#define KV__GET_INT(__param)
#define KV__SET_STR(__param, __val)
#define KV__GET_ULONG(__param)
#define KV__SET_INT(__param, __val)
#define KV__SET_DBL(__param, __val)
#define KV__GET_STR(__param)
#define RQ_OBJECT(sender_class)
#define ClassDef(name, id)
char * Form(const char *fmt,...)
Record folder for the database.
virtual void SetNumber(Int_t n)
Description of an experimental run in database ,.
void SetEvents(ULong64_t evt_number)
virtual void SetSystem(KVDBSystem *system)
Set system for run. Any previous system is unassociated (run will be removed from system's list)
TDatime fDatime
set dynamically with date&time of ROOT file corresponding to run
void SetDatime(TDatime &dat)
virtual void SetScaler64(const Char_t *name, ULong64_t val)
Set value for 64-bit scaler with the given name for this run.
void SetTime(Double_t time)
KVNameValueList fParameters
list of named parameters for run
ULong64_t GetEvents() const
void SetUserName(const Char_t *U)
TString fKVVersion
set dynamically with KaliVeda version used to generate ROOT file corresponding to run
virtual ULong64_t GetScaler64(const Char_t *name) const
Get value of 64-bit scaler with the given name for this run.
void SetKVVersion(const Char_t *V)
const Char_t * GetSystemName() const
KVTarget * GetTarget() const
Return target used for this run (actually target of KVDBSystem associated to run)
void SetComments(const KVString &comments)
KVDBSystem * GetSystem() const
virtual void WriteRunListLine(std::ostream &, Char_t delim='|') const
const Char_t * GetEndDate() const
const TDatime & GetDatime() const
Bool_t Has(const Char_t *param, Bool_t check_whitespace=kTRUE) const
void SetStartDate(const KVString &date)
const Char_t * GetKVVersion() const
void Set(const Char_t *param, Double_t val)
Set numerical (non-scaler) characteristic of run.
virtual void Print(Option_t *option="") const
void SetEndDate(const KVString &d)
TString fUserName
set dynamically with name of user who generated ROOT file corresponding to run
Double_t Get(const Char_t *param) const
Get numerical (non-scaler) characteristic of run.
const Char_t * GetTriggerString() const
void BlockSignals(Bool_t yes=kTRUE)
const Char_t * GetStartDate() const
void SetTrigger(Int_t trig)
void SetDate(const KVString &d)
virtual void ReadRunListLine(const KVString &)
void Set(const Char_t *param, const KVString &val)
Set characteristic of run.
virtual void UnsetSystem()
virtual Int_t GetScaler(const Char_t *name) const
Get value of scaler with the given name for this run.
const Char_t * GetDate() const
const Char_t * GetString(const Char_t *param) const
Get characteristic of run.
const Char_t * GetComments() const
const Char_t * GetDatimeString()
virtual void SetScaler(const Char_t *name, Int_t val)
Set value for the scaler with the given name for this run.
virtual void WriteRunListHeader(std::ostream &, Char_t delim='|') const
Write the version flag.
const Char_t * GetUserName() const
Database class used to store information on different colliding systems studied during an experiment.
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....
Calculation/correction of energy losses of particles through an experimental target.
void Copy(TDatime &datime) const
const char * AsString() const
virtual const char * GetName() const
const char * Data() const
Bool_t IsWhitespace() const
unsigned long long ULong64_t