3 // @(#)alimdc:$Name$:$Id$
4 // Author: Fons Rademakers 26/11/99
6 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
7 * See cxx source for full Copyright notice */
9 //////////////////////////////////////////////////////////////////////////
13 //////////////////////////////////////////////////////////////////////////
24 // Forward class declarations
29 class AliRunDB : public TObject {
32 AliRunDB(const char* localFS, Bool_t rdbms = kFALSE,
33 const char* alienHost = NULL, const char* alienDir = NULL);
34 ~AliRunDB() { Close(); }
36 void Update(AliStats *stats);
37 void UpdateLocal(AliStats *stats);
38 void UpdateRDBMS(AliStats *stats);
39 void UpdateAliEn(AliStats *stats);
43 TFile *fRunDB; // run database
44 Bool_t fRDBMS; // flag for usage of central MySQL DB
45 TString fAlienHost; // alien host name
46 TString fAlienDir; // alien directory
48 AliRunDB(const AliRunDB& runDB);
49 AliRunDB& operator = (const AliRunDB& runDB);
51 ClassDef(AliRunDB,0) // Run (bookkeeping) DB