38 fRepository =
nullptr;
53 if (!fRepository)
return nullptr;
57 avrf = fRepository->NewAvailableRunsFile(
type,
this);
58 fAvailableRuns.
Add(avrf);
76 if (fDBFileName !=
"")
77 return fDBFileName.Data();
93 return fDBName.Data();
108 fDBase.reset(
new TFile(full_path_to_dbfile,
"READ"));
110 if (fDBase->IsOpen()) {
111 fDataBase =
dynamic_cast<KVExpDB*
>(fDBase->Get(GetDBName()));
113 Error(
"OpenDBFile",
"%s not found in file %s", GetDBName(),
117 fDataBase->ReadObjects(fDBase.get());
133 TString dbfile = GetDBFileName();
134 static TString dbfile_fullpath;
140 TString dataset_alias = GetDataSetEnv(
"DataSet.Directory", GetName());
146 return dbfile_fullpath.
Data();
166 envar = GetDataSetEnv(
Form(
"%s.DataAnalysisTask.UserClass.Base", t->
GetName()));
168 envar = GetDataSetEnv(
Form(
"%s.DataAnalysisTask.Prereq", t->
GetName()));
170 envar = GetDataSetEnv(
Form(
"%s.DataAnalysisTask.UserClass.ExtraACliCIncludes", t->
GetName()));
172 Int_t nev = (
Int_t)GetDataSetEnv(
Form(
"%s.DataAnalysisTask.StatusUpdateInterval", t->
GetName()), 0.0);
202 TString dbfile_fullpath = GetFullPathToDB();
214 Error(
"SaveDataBase",
"Cannot create directory %s required to save database",
221 Error(
"SaveDataBase",
"Cannot create directory %s required to save database, even though %s exists: check disk space ?",
227 Error(
"SaveDataBase",
"Cannot create directory %s required to save database",
240 WriteDBFile(dbfile_fullpath.
Data());
259 Error(
"WriteDBFile",
"Database has not been built");
262 fDBase.reset(
new TFile(full_path_to_dbfile,
"recreate"));
264 fDataBase->Write(GetDBName());
265 fDataBase->WriteObjects(fDBase.get());
299 if (_opt ==
"UPDATE") {
300 OpenDataBase(_opt.
Data());
355 if ((!strcmp(opt,
"UPDATE")) || DataBaseNeedsUpdate()) {
358 Info(
"OpenDataBase",
"Updating database file");
359 fDataBaseUpdateInProgress =
true;
360 is_glob_db = (fDataBase ==
gExpDB);
370 Info(
"OpenDataBase",
"No database defined for dataset");
374 if (fDataBase && is_glob_db) fDataBase->cd();
375 fDataBaseUpdateInProgress =
false;
377 else if (!fDataBase) {
382 if (!LoadPlugin(
"KVExpDB", GetDBName())) {
383 Error(
"GetDataBase",
"Cannot load required plugin library");
387 TString dbfile_fullpath = GetFullPathToDB();
389 OpenDBFile(dbfile_fullpath.
Data());
402 cout <<
"Dataset name=" << GetName() <<
" (" << GetTitle() <<
")";
404 cout <<
" [ AVAILABLE: ";
405 cout << fDatatypes.Data();
409 cout <<
" [UNAVAILABLE]";
430 cout <<
" *** No available analysis tasks ***"
435 for (
int i = 1; i <= GetNtasks(); i++) {
437 cout <<
"\t" << i <<
". " << dat->
GetTitle() << endl;
443 cout <<
"Available data types: " << fDatatypes.Data() << endl;
494 SetAvailable(fRepository->CheckSubdirExists(GetDataPathSubdir()));
498 KVString data_types = GetDataSetEnv(
"KVDataSet.DataTypes",
"");
499 if (data_types ==
"") {
500 Warning(
"CheckAvailable",
"No datatypes defined for this dataset: %s\nCheck value of KVDataSet.DataTypes or %s.KVDataSet.DataTypes",
501 GetName(), GetName());
506 data_types.
Begin(
" ");
507 while (!data_types.
End()) {
510 (fRepository && fRepository->CheckSubdirExists(GetDataPathSubdir(), GetDataTypeSubdir(
type.Data())))
512 AddAvailableDataType(
type.Data());
516 SetAvailable(fDatatypes !=
"");
518 if (!CheckUserCanAccess()) {
530 if (fDatatypes !=
"") fDatatypes +=
" ";
551 TIter nxt(task_list);
558 SetDataSetSpecificTaskParameters(new_task);
559 if (HasDataType(new_task->
GetPrereq())) {
560 fTasks.Add(new_task);
579 return fTasks.GetSize();
630 if (!GetAvailableRunsFile(datatype)) {
631 Error(
"GetListOfAvailableSystems(const Char_t*)",
632 "No available runs file for type %s", datatype);
635 return GetAvailableRunsFile(datatype)->GetListOfAvailableSystems(systol);
669 return GetListOfAvailableSystems(datan->
GetPrereq(), systol);
703 TString path = GetDataSetEnv(
"DataSet.Directory", name);
708 fCalibDir = GetDATADIRFilePath(path);
724 return fCalibDir.Data();
745 if (fRepository) fRepository->
cd();
863 if (!strcmp(
type,
"raw") && !strcmp(GetDataSetEnv(
"MFM.WithEbyedat",
""),
"yes")) {
864 TString ebydir = GetDataSetDir();
865 ebydir +=
"/ebyedat";
866 gEnv->
SetValue(
"KVMFMDataFileReader.ActionsDirectory", ebydir);
867 if (strcmp(GetDataSetEnv(
"MFM.EbyedatActionsExpName",
""),
""))
868 gEnv->
SetValue(
"KVMFMDataFileReader.ActionsExpName", GetDataSetEnv(
"MFM.EbyedatActionsExpName",
""));
869 TObject*
f = GetRepository()->OpenDataSetRunFile(
this,
type, run, GetName());
871 gEnv->
SetValue(
"KVMFMDataFileReader.ActionsDirectory",
"");
872 gEnv->
SetValue(
"KVMFMDataFileReader.ActionsExpName",
"");
875 return GetRepository()->OpenDataSetRunFile(
this,
type, run, GetName());
898 if (fRepository)
file = GetRunfileName(
type, run);
901 return fRepository->GetFullPathToOpenFile(
this,
type,
file.Data());
922 if (!HasDataType(
type)) {
923 Error(
"GetRunfileName",
924 "No data of type \"%s\" available for dataset %s",
type,
929 return GetAvailableRunsFile(
type)->GetFileName(run);
951 date.
Set(1995, 1, 1, 0, 0, 0);
953 if (!HasDataType(
type)) {
954 Error(
"GetRunfileDate",
955 "No data of type \"%s\" available for dataset %s",
type,
961 if (!GetAvailableRunsFile(
type)->GetRunInfo(run, date, filename)) {
962 Error(
"GetRunfileDate",
963 "Runfile not found for run %d (data type: %s)", run,
type);
982 if (!HasDataType(
type)) {
983 Error(
"CheckRunfileAvailable",
984 "No data of type \"%s\" available for dataset %s",
type,
988 return GetAvailableRunsFile(
type)->CheckAvailable(run);
1041 if (!HasDataType(
type)) {
1042 Error(
"UpdateAvailableRuns",
1043 "No data of type \"%s\" available for dataset %s",
type,
1047 a->Update(!
a->FileExists());
1064 if (!fRepository)
return nullptr;
1068 return fRepository->CreateNewFile(
this,
type, tmp.
Data());
1093 if (!fRepository)
return;
1096 TString filename = GetAvailableRunsFile(
type)->GetFileName(run);
1097 if (filename ==
"") {
1098 Error(
"DeleteRunfile",
"Run %d of type %s does not exist.", run,
type);
1103 KVString doNotDelete = GetDataSetEnv(
"DataSet.RunFile.DoNotDelete",
"all");
1104 if (doNotDelete ==
"all" || doNotDelete.
Contains(
type)) {
1105 Error(
"DeleteRunFile",
"%s files cannot be deleted",
type);
1108 fRepository->DeleteFile(
this,
type, filename.
Data(), confirm);
1110 if (!fRepository->CheckFileStatus(
this,
type, filename.
Data()))
1111 GetAvailableRunsFile(
type)->Remove(run);
1142 DeleteRunfile(
type, nl.
Next(), confirm);
1164 if (!min && !max)
return 0;
1166 if (min) printf(
"date minimum %s\n", min->
AsString());
1167 if (max) printf(
"date maximum %s\n", max->
AsString());
1171 unique_ptr<TList> ll(GetListOfAvailableSystems(
type));
1174 unique_ptr<TList> lrun;
1175 for (
Int_t nl = 0; nl < ll->GetEntries(); nl += 1) {
1177 lrun.reset(GetListOfAvailableSystems(
type, sys));
1179 for (
Int_t nr = 0; nr < lrun->GetEntries(); nr += 1) {
1183 if (*min < run->GetRun()->GetDatime() && run->
GetRun()->
GetDatime() < *max) {
1188 if (*min < run->GetRun()->GetDatime()) {
1222 TList* ll = GetListOfAvailableSystems(ref_type);
1225 Info(
"GetRunList_StageSelection",
"No data available of type \"%s\"", ref_type);
1230 Info(
"GetRunList_StageSelection",
"No data available of type \"%s\" for system %s", ref_type, system->
GetName());
1235 Info(
"GetRunList_StageSelection",
"Liste des runs presents dans \"%s\" mais absent dans \"%s\"", ref_type,
type);
1244 if (system && sys != system)
continue;
1246 nsys = GetRunList(
type, sys);
1247 nsys_ref = GetRunList(ref_type, sys);
1252 Info(
"GetRunList_StageSelection",
"\nKVDBSystem : %s --> %d runs manquants sur %d : %s",
1258 manquant.
Add(nsys_ref);
1278 unique_ptr<TList> lrun(GetListOfAvailableSystems(
type, sys));
1279 TIter next(lrun.get());
1286 unique_ptr<TList> ll(GetListOfAvailableSystems(
type));
1287 if (!ll.get() || !ll->GetEntries()) {
1289 Info(
"GetRunList_VersionSelection",
"No data available of type \"%s\"",
type);
1293 for (
Int_t nl = 0; nl < nsys; nl += 1) {
1295 unique_ptr<TList> lrun(GetListOfAvailableSystems(
type, sys));
1296 TIter next(lrun.get());
1318 if (!fRepository)
return;
1323 fRepository->CommitFile(
file,
type,
this);
1332 TString oldfile = GetAvailableRunsFile(
type)->GetFileName(run);
1333 if (oldfile !=
"" && oldfile != newfile) {
1335 fRepository->DeleteFile(
this,
type, oldfile.
Data(),
1338 if (!fRepository->CheckFileStatus(
this,
type, oldfile.
Data()))
1339 GetAvailableRunsFile(
type)->Remove(run);
1341 if (oldfile != newfile) {
1343 GetAvailableRunsFile(
type)->Add(run, newfile.
Data());
1363 if (fUserGroups ==
"")
1367 unique_ptr<TObjArray> toks(fUserGroups.Tokenize(
' '));
1369 TIter next_name(toks.get());
1370 while ((group_name = (
TObjString*) next_name())) {
1372 if (!fRepository || (fRepository && fRepository->GetDataSetManager()->
1420 GetAvailableRunsFile(data_type)->CheckMultiRunfiles();
1422 cout <<
"OK. No runs appear more than once." << endl;
1425 cout <<
"Runs which appear more than once: " << doubles.
1426 AsString() << endl << endl;
1431 while (!doubles.
End()) {
1436 GetAvailableRunsFile(data_type)->GetRunInfos(rr, &dates, &filenames);
1438 cout <<
"Run " << rr <<
" : " << dates.
1439 GetEntries() <<
" files >>>>>>" << endl;
1440 for (
int i = 0; i < dates.
GetEntries(); i++) {
1473 if (!fRepository)
return;
1478 cout <<
"OK. No runs appear more than once." << endl;
1481 cout <<
"Runs which appear more than once: " << doubles.
1482 AsString() << endl << endl;
1487 while (!doubles.
End()) {
1494 TDatime most_recent(
"1998-12-25 00:00:00");
1495 Int_t i_most_recent = 0;
1496 cout <<
"Run " << rr <<
" : " << dates.
1497 GetEntries() <<
" files >>>>>>" << endl;
1498 for (
int i = 0; i < dates.
GetEntries(); i++) {
1502 if (rundate > most_recent) {
1504 most_recent = rundate;
1511 for (
int i = 0; i < dates.
GetEntries(); i++) {
1513 if (i == i_most_recent) {
1517 cout <<
"DELETE : ";
1522 if (i != i_most_recent) {
1524 fRepository->DeleteFile(
this, data_type,
1526 String().Data(), confirm);
1559 Error(
"CheckRunfileUpToDate",
1560 "Dataset \"%s\" not found in repository \"%s\"", GetName(),
1565 if (GetRunfileDate(data_type, run) < ds->
GetRunfileDate(data_type, run))
1581 const Char_t* other_repos)
1592 return CheckRunfileUpToDate(data_type, run, _or);
1593 Error(
"CheckRunfileUpToDate",
1594 "No data repository known with this name : %s", other_repos);
1606 const Char_t* other_repos)
1611 if (!fRepository)
return;
1616 Error(
"CheckUpToDate",
1617 "No data repository known with this name : %s", other_repos);
1620 KVNumberList runlist = GetAvailableRunsFile(data_type)->GetRunList();
1622 Int_t need_update = 0;
1623 while (!runlist.
End()) {
1626 if (!CheckRunfileUpToDate(data_type, rr, _or)) {
1627 cout <<
" *** run " << rr <<
" needs update ***" <<
1629 cout <<
"\t\tREPOSITORY: " << fRepository->
1630 GetName() <<
"\tDATE: " << GetRunfileDate(data_type,
1633 cout <<
"\t\tREPOSITORY: " << other_repos <<
"\tDATE: " << _or->
1634 GetDataSetManager()->GetDataSet(GetName())->
1635 GetRunfileDate(data_type,
1636 rr).AsString() << endl;
1641 cout <<
" *** All runfiles are up to date for data type " <<
1654 const Char_t* other_repos)
1660 if (!fRepository)
return updates;
1665 Error(
"CheckUpToDate",
1666 "No data repository known with this name : %s", other_repos);
1669 KVNumberList runlist = GetAvailableRunsFile(data_type)->GetRunList();
1671 while (!runlist.
End()) {
1674 if (!CheckRunfileUpToDate(data_type, rr, _or)) {
1697 if (!fRepository || !HasDataType(data_type)) {
1699 "No data of type %s available. Runlist will be empty.",
1703 list = GetAvailableRunsFile(data_type)->GetRunList(system);
1806 _task +=
" analysis";
1811 Error(
"MakeAnalysisClass",
1812 "called for unknown or unavailable analysis task : %s", _task.
Data());
1816 Error(
"MakeAnalysisClass",
1817 "no user analysis class for analysis task : %s", dat.
GetTitle());
1831 unique_ptr<TMethodCall> methcall(
new TMethodCall(
cl,
"Make",
Form(
"\"%s\"", classname)));
1833 if (!methcall->IsValid()) {
1834 Error(
"MakeAnalysisClass",
"static Make(const Char_t*) method for class %s is not valid",
1840 methcall->Execute();
1855 return OpenDataSetFile(GetName(), filename,
file);
1874 abspath.
Form(
"%s/%s", datasetdir.
Data(), filename);
1875 return SearchAndOpenKVFile(abspath,
file);
1878 return SearchAndOpenKVFile(filename,
file, datasetdir);
1892 return GetFullPathToDataSetFile(GetName(), filename);
1908 if (!SearchKVFile(filename, fullpath, datasetdir)) {
1909 ::Warning(
"KVDataSet::GetFullPathToDataSetFile",
"File %s not found in dataset subdirectory %s", filename, datasetdir.
Data());
1928 return SearchKVFile(filename, fullpath, datasetdir);
1942 return FindDataSetFile(GetName(), filename);
1974 Error(
"GetAnalysisTaskAny",
"No task found with the following keywords in its title : %s",
1977 bad_task.
SetBit(kZombie);
1983 SetDataSetSpecificTaskParameters(&new_task);
2006 if (!SearchKVFile(GetDataSetDir(), path)) {
2008 Info(
"DataBaseNeedsUpdate",
"%s: Creating new dataset directory %s",
2009 GetName(), GetDataSetDir());
2012 Error(
"DataBaseNeedsUpdate",
2013 "%s: Dataset directory %s does not exist and cannot be created ?",
2014 GetName(), GetDataSetDir());
2018 SearchKVFile(GetDataSetDir(), path);
2020 TString filename = path +
"Makefile";
2021 ofstream of1(filename.
Data());
2022 of1 <<
"$(KV_WORK_DIR)/db/" << GetName() <<
"/DataBase.root : Runlist.csv Systems.dat" << endl;
2023 of1 <<
"\t@echo Database needs update" << endl;
2025 filename = path +
"Runlist.csv";
2026 ofstream of2(filename.
Data());
2027 of2 <<
"# Automatically generated dummy Runlist.csv file" << endl;
2029 filename = path +
"Systems.dat";
2030 ofstream of3(filename.
Data());
2031 of3 <<
"# Automatically generated dummy Systems.dat file" << endl;
2078 if (
gEnv->
Defined(
Form(
"%s.DataRepository.DefaultOutputRepository", GetRepository()->GetName())))
2079 return TString(
gEnv->
GetValue(
Form(
"%s.DataRepository.DefaultOutputRepository", GetRepository()->GetName()),
""));
2080 TString orep = GetDataSetEnv(
Form(
"%s.DataAnalysisTask.OutputRepository", taskname), GetRepository()->GetName());
2098 while (!runs.
End()) {
2099 int run = runs.
Next();
2125 Error(
"CopyRunfilesToRepository",
"Unknown destination repository : %s", destrepo);
2133 while (!runs.
End()) {
2134 int run = runs.
Next();
void AssignAndDelete(TString &target, char *tobedeleted)
KVDataRepositoryManager * gDataRepositoryManager
KVDataSetManager * gDataSetManager
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
char * Form(const char *fmt,...)
R__EXTERN TSystem * gSystem
Handles lists of available runs for different datasets and types of data.
virtual void Add(Int_t run, const Char_t *filename)
KVNumberList CheckMultiRunfiles()
Returns a list with all runs which occur more than once in the available runs file.
virtual void Remove(Int_t run, const Char_t *filename="")
virtual void GetRunInfos(Int_t run, KVList *dates, KVList *names)
static const Char_t * GetDataSetEnv(const Char_t *dataset, const Char_t *type, const Char_t *defval)
const TDatime & GetDatime() const
Database class used to store information on different colliding systems studied during an experiment.
Bool_t IsCollision() const
retourne kTRUE, si le systeme est une collision ie projectile+cible
Define and manage data analysis tasks.
virtual Bool_t CheckUserBaseClassIsLoaded()
virtual void SetDataAnalyser(const Char_t *d)
virtual Bool_t WithUserClass() const
virtual void SetPrereq(const Char_t *p)
virtual void SetStatusUpdateInterval(Long64_t n)
virtual const Char_t * GetUserBaseClass() const
void SetExtraAClicIncludes(const KVString &list)
virtual const Char_t * GetPrereq() const
virtual void SetUserBaseClass(const Char_t *d)
KVDataRepository * GetRepository(const Char_t *name) const
void Print(Option_t *opt="") const
Base class for managing repositories of experimental data.
virtual KVDataSetManager * GetDataSetManager() const
Return pointer to data set manager for this repository.
virtual void CopyFileFromRepository(const KVDataSet *dataset, const Char_t *datatype, const Char_t *filename, const Char_t *destination)
void CreateAllNeededSubdirectories(const KVDataSet *DataSet, const Char_t *DataType)
virtual const Char_t * GetFullPathToTransferFile(const KVDataSet *dataset, const Char_t *datatype, const Char_t *runfile)
const KVSeqCollection * GetAnalysisTaskList() const
KVDataSet * GetDataSet(Int_t) const
Return pointer to DataSet using index in list of all datasets, index>=0.
Manage an experimental dataset corresponding to a given experiment or campaign.
TString GetOutputRepository(const Char_t *taskname) const
virtual void OpenDBFile(const Char_t *full_path_to_dbfile) const
Open the database from a file on disk.
KVNumberList GetRunList_VersionSelection(const Char_t *type, const Char_t *version, KVDBSystem *sys=0)
void CheckMultiRunfiles(const Char_t *data_type)
KVNumberList GetRunList_StageSelection(const Char_t *other_type, const Char_t *base_type, KVDBSystem *sys=0, Bool_t OnlyCol=kFALSE)
void CheckUpToDate(const Char_t *data_type, const Char_t *other_repos)
const Char_t * GetDBName() const
KVDataRepository * GetRepository() const
Get pointer to data repository in which dataset is stored.
void CopyRunfilesToRepository(const Char_t *type, KVNumberList runs, const Char_t *destrepo)
const Char_t * GetDBFileName() const
const Char_t * GetDataSetDir() const
void DeleteRunfiles(const Char_t *type, KVNumberList lrun="", Bool_t confirm=kTRUE)
KVNumberList GetUpdatableRuns(const Char_t *data_type, const Char_t *other_repos)
virtual void ls(Option_t *opt="") const
Print dataset information.
void DeleteRunfile(const Char_t *type, Int_t run, Bool_t confirm=kTRUE)
KVAvailableRunsFile * GetAvailableRunsFile(const Char_t *type) const
virtual void AddAvailableDataType(const Char_t *)
virtual TList * GetListOfAvailableSystems(const Char_t *datatype, KVDBSystem *systol=0)
Bool_t CheckRunfileUpToDate(const Char_t *data_type, Int_t run, KVDataRepository *other_repos)
void SetName(const char *name)
KVDataAnalysisTask * GetAnalysisTask(Int_t) const
virtual const Char_t * GetBaseFileName(const Char_t *type, Int_t run) const
virtual void SaveDataBase() const
virtual void SetAnalysisTasks(const KVSeqCollection *)
KVNumberList GetRunList_DateSelection(const Char_t *type, TDatime *min=0, TDatime *max=0)
virtual void CheckAvailable()
const Char_t * GetRunfileName(const Char_t *type, Int_t run) const
TDatime GetRunfileDate(const Char_t *type, Int_t run)
const Char_t * GetDataSetEnv(const Char_t *type, const Char_t *defval="") const
virtual Int_t GetNtasks() const
KVNumberList GetRunList(const Char_t *data_type, const KVDBSystem *sys=0) const
TString GetFullPathToDataSetFile(const Char_t *filename)
TString GetFullPathToRunfile(const Char_t *type, Int_t run) const
void CopyRunfilesFromRepository(const Char_t *type, KVNumberList runs, const Char_t *destdir)
void UpdateAvailableRuns(const Char_t *type)
virtual void MakeAnalysisClass(const Char_t *task, const Char_t *classname)
TObject * open_runfile(const Char_t *type, Int_t run)
void CommitRunfile(const Char_t *type, Int_t run, TFile *file)
KVExpDB * GetDataBase(Option_t *opt="") const
virtual KVDataAnalysisTask GetAnalysisTaskAny(const Char_t *keywords) const
virtual Bool_t DataBaseNeedsUpdate() const
Bool_t OpenDataSetFile(const Char_t *filename, std::ifstream &file)
void SetDataSetSpecificTaskParameters(KVDataAnalysisTask *) const
virtual void WriteDBFile(const Char_t *full_path_to_dbfile) const
const Char_t * GetFullPathToDB() const
Returns full path to file where database is written on disk.
TFile * NewRunfile(const Char_t *type, Int_t run)
virtual Bool_t CheckUserCanAccess()
void SetRepository(KVDataRepository *)
Set pointer to data repository in which dataset is stored.
void CleanMultiRunfiles(const Char_t *data_type, Bool_t confirm=kTRUE)
virtual void OpenDataBase(Option_t *opt="") const
virtual void Print(Option_t *opt="") const
static Bool_t FindDataSetFile(const TString &dataset, const Char_t *filename)
Bool_t CheckRunfileAvailable(const Char_t *type, Int_t run)
Extension of TDatime to handle various useful date formats.
Base class to describe database of an experiment ,.
static KVExpDB * MakeDataBase(const Char_t *name, const Char_t *datasetdir)
Extended TList class which owns its objects by default.
Strings used to represent a set of ranges of values.
const Char_t * AsString(Int_t maxchars=0) const
void Remove(Int_t)
Remove value 'n' from the list.
void Add(Int_t)
Add value 'n' to the list.
Description of an individual run file in an experimental dataset.
Int_t GetRunNumber() const
const Char_t * GetVersion() const
const KVDBRun * GetRun() const
KaliVeda extensions to ROOT collection classes.
virtual TObject * At(Int_t idx) const
virtual TObject * FindObjectAny(const Char_t *att, const Char_t *keys, Bool_t contains_all=kFALSE, Bool_t case_sensitive=kTRUE) const
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
void Begin(TString delim) const
KVString Next(Bool_t strip_whitespace=kFALSE) const
static TClass * GetClass(Bool_t load=kTRUE, Bool_t silent=kFALSE)
virtual Int_t GetEntries() const
const char * AsSQLString() const
const char * AsString() const
virtual Bool_t cd(const char *path=nullptr)
virtual const char * GetValue(const char *name, const char *dflt) const
virtual void SetValue(const char *name, const char *value, EEnvLevel level=kEnvChange, const char *type=nullptr)
Bool_t Defined(const char *name) const
virtual TObject * FindObject(const char *name) const
virtual TObject * At(Int_t idx) const
virtual const char * GetName() const
virtual const char * GetTitle() const
virtual void SetName(const char *name)
R__ALWAYS_INLINE Bool_t IsZombie() const
const char * Data() const
void Form(const char *fmt,...)
TString & Remove(EStripType s, char c)
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
TString & ReplaceAll(const char *s1, const char *s2)
Bool_t cd(const char *path)
virtual int Chmod(const char *file, UInt_t mode)
virtual const char * DirName(const char *pathname)
virtual char * ConcatFileName(const char *dir, const char *name)
virtual int mkdir(const char *name, Bool_t recursive=kFALSE)
virtual Int_t Exec(const char *shellcmd)
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
virtual const char * BaseName(const char *pathname)
virtual Bool_t IsAbsoluteFileName(const char *dir)