7 #include "KVDataBase.h" 
    9 #include "KVNumberList.h" 
   10 #include "run_index.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.
 
A single raw data file associated with an experimental run ,,.
 
Description of an experimental run in database ,,.
 
KVDBRunFile & GetRunFile(const run_index_t &run_index)
 
Database class used to store information on different colliding systems studied during an experiment....
 
virtual Bool_t AddRecord(KVDBRecord *add)
 
virtual void RemoveRecord(KVDBRecord *add)
Remove a KVDBRecord from the list of available records.
 
virtual KVDBRecord * GetRecord(const Char_t *rec_name) const
 
virtual KVSeqCollection * GetRecords() const
 
Simple cross-referenced database structure.
 
Base class to describe database of an experiment ,,.
 
KVNumberList fListOfRuns
list of all run numbers
 
void AddSystem(KVDBSystem *r)
 
std::map< int, run_index_t > fMapGlobRunFileNumberToRunIndex
cannot be saved, no streamer for run_index_t
 
run_index_list SetRunIndexListFromString(const TString &) const
 
run_index_t GetRunIndexFromGlobalRunFileNumber(int glob_runfile) const
 
virtual ~KVExpDB()
Destructor.
 
virtual KVDBSystem * GetSystem(const Char_t *system) const
 
virtual void ReadSystemList()
 
KVDBTable * fRuns
table of runs
 
void SetDBType(const TString &s)
 
virtual void ReadComments()
 
virtual void LinkRecordToRun(KVDBRecord *rec, Int_t run)
 
KVDBRun * GetDBRun(Int_t number) const
 
virtual KVSeqCollection * GetRuns() const
 
void RemoveSystem(KVDBSystem *s)
 
TString GetCalibFileName(const Char_t *type) const
 
TString GetDBType() const
 
bool with_index_multiplier
 
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
 
const KVNumberList & GetRunList() const
 
virtual void PrintRuns(KVNumberList &) const
 
ULong64_t GetTotalEvents(int first_run, int last_run=-1) const
 
virtual KVSeqCollection * GetSystems() const
 
virtual void Save(const Char_t *)
 
const KVDBRunFile & GetDBRunFile(const run_index_t &r) const
 
TString fDBType
used by GetDBEnv
 
bool raw_files_have_index
 
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
 
KVDBRunFile & GetDBRunFile(const run_index_t &r)
 
KVExpDB()
Default constructor.
 
const Char_t * GetDataSetDir() const
 
void init()
default initialisations
 
virtual void WriteObjects(TFile *)
 
virtual TString GetDBEnv(const Char_t *) const
 
virtual void LinkRecordToRunRange(KVDBRecord *rec, UInt_t first_run, UInt_t last_run)
 
Int_t GetIndexMultiplier() const
 
virtual void ReadObjects(TFile *)
 
void refill_list_of_runs()
 
TString fDataSetDir
the directory containing the dataset files
 
void SetDataSet(const TString &s)
 
Bool_t HasIndexMultiplier() const
 
void SetDataSetDir(const Char_t *d)
 
static KVExpDB * MakeDataBase(const Char_t *name, const Char_t *datasetdir)
 
void WriteRunListFile() const
 
Bool_t OpenCalibFile(const Char_t *type, std::ifstream &fs) const
 
Bool_t HasRawFilesWithIndex() 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
 
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
 
Specifies a runfile according to run number and file index ,.
 
unsigned long long ULong64_t