9#include "KVNumberList.h"
#define ClassDef(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 Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Record folder for the database.
Description of an experimental run in database ,,.
Database class used to store information on different colliding systems studied during an experiment....
virtual KVSeqCollection * GetRecords() const
virtual Bool_t AddRecord(KVDBRecord *add)
virtual KVDBRecord * GetRecord(const Char_t *rec_name) const
virtual void RemoveRecord(KVDBRecord *add)
Remove a KVDBRecord from the list of available records.
Simple cross-referenced database structure.
Base class to describe database of an experiment ,,.
KVNumberList fListOfRuns
list of all run numbers
void AddSystem(KVDBSystem *r)
virtual ~KVExpDB()
Destructor.
virtual void ReadComments()
virtual void ReadSystemList()
KVDBTable * fRuns
table of runs
void SetDBType(const TString &s)
virtual KVSeqCollection * GetSystems() const
virtual void LinkRecordToRun(KVDBRecord *rec, Int_t run)
void RemoveSystem(KVDBSystem *s)
TString GetCalibFileName(const Char_t *type) const
TString GetDBType() const
virtual void LinkListToRunRanges(TList *list, UInt_t rr_number, UInt_t run_ranges[][2])
Link the records contained in the list to the set of runs (see LinkRecordToRunRanges).
KVDBTable * fSystems
table of systems
virtual void PrintRuns(KVNumberList &) const
ULong64_t GetTotalEvents(int first_run, int last_run=-1) const
virtual void Save(const Char_t *)
TString fDBType
used by GetDBEnv
const KVNumberList & GetRunList() const
virtual void LinkRecordToRunRanges(KVDBRecord *rec, UInt_t rr_number, UInt_t run_ranges[][2])
virtual void LinkListToRunRange(TList *list, const KVNumberList &nl)
Link the records contained in the list to the set of runs (see LinkRecordToRunRanges).
void WriteSystemsFile() const
KVExpDB()
Default constructor.
const Char_t * GetDataSetDir() const
void init()
default initialisations
virtual void WriteObjects(TFile *)
virtual void LinkRecordToRunRange(KVDBRecord *rec, UInt_t first_run, UInt_t last_run)
virtual void ReadObjects(TFile *)
TString fDataSetDir
the directory containing the dataset files
virtual KVDBSystem * GetSystem(const Char_t *system) const
void SetDataSet(const TString &s)
void SetDataSetDir(const Char_t *d)
static KVExpDB * MakeDataBase(const Char_t *name, const Char_t *datasetdir)
KVDBRun * GetDBRun(Int_t number) const
void WriteRunListFile() const
virtual TString GetDBEnv(const Char_t *) const
Bool_t OpenCalibFile(const Char_t *type, std::ifstream &fs) const
TString fDataSet
the name of the dataset to which this database is associated
Bool_t FindCalibFile(const Char_t *type, TString &fullpath, const TString &array_name="") const
virtual KVSeqCollection * GetRuns() const
Strings used to represent a set of ranges of values.
void Add(Int_t)
Add value 'n' to the list.
KaliVeda extensions to ROOT collection classes.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
void AbstractMethod(const char *method) const
unsigned long long ULong64_t