]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliRunDB.h
Adding the AliAnalysisGUI class which is the main class that controls the GUI.
[u/mrichter/AliRoot.git] / RAW / AliRunDB.h
index bde84ac2a0fdfac9eedc64334dc670eee355782d..a30c24ba5fe662f19a35ba25daedadde1834ac73 100644 (file)
 #include <TObject.h>
 #endif
 
+#ifndef ROOT_TString
+#include <TString.h>
+#endif
+
 
 // Forward class declarations
 class AliStats;
@@ -25,16 +29,21 @@ class TFile;
 class AliRunDB : public TObject {
 
 public:
-   AliRunDB(Bool_t noLocalDB = kFALSE);
+   AliRunDB(const char* localFS, Bool_t rdbms = kFALSE, 
+           const char* alienHost = NULL, const char* alienDir = NULL);
    ~AliRunDB() { Close(); }
 
    void Update(AliStats *stats);
+   void UpdateLocal(AliStats *stats);
    void UpdateRDBMS(AliStats *stats);
    void UpdateAliEn(AliStats *stats);
    void Close();
 
 private:
    TFile  *fRunDB;     // run database
+   Bool_t  fRDBMS;     // flag for usage of central MySQL DB
+   TString fAlienHost; // alien host name
+   TString fAlienDir;  // alien directory
 
    AliRunDB(const AliRunDB& runDB);
    AliRunDB& operator = (const AliRunDB& runDB);