]>
Commit | Line | Data |
---|---|---|
a197a4ce | 1 | #ifndef ALIRUNDB_H |
2 | #define ALIRUNDB_H | |
3 | // @(#)alimdc:$Name$:$Id$ | |
4 | // Author: Fons Rademakers 26/11/99 | |
5 | ||
6 | /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. * | |
7 | * See cxx source for full Copyright notice */ | |
8 | ||
9 | ////////////////////////////////////////////////////////////////////////// | |
10 | // // | |
11 | // AliRunDB // | |
12 | // // | |
13 | ////////////////////////////////////////////////////////////////////////// | |
14 | ||
15 | #ifndef ROOT_TObject | |
16 | #include <TObject.h> | |
17 | #endif | |
18 | ||
19 | ||
20 | // Forward class declarations | |
21 | class AliStats; | |
22 | class TFile; | |
23 | ||
24 | ||
25 | class AliRunDB : public TObject { | |
26 | ||
27 | public: | |
28 | AliRunDB(Bool_t noLocalDB = kFALSE); | |
29 | ~AliRunDB() { Close(); } | |
30 | ||
31 | void Update(AliStats *stats); | |
32 | void UpdateRDBMS(AliStats *stats); | |
33 | void UpdateAliEn(AliStats *stats); | |
34 | void Close(); | |
35 | ||
36 | private: | |
37 | TFile *fRunDB; // run database | |
38 | ||
39 | AliRunDB(const AliRunDB& runDB); | |
40 | AliRunDB& operator = (const AliRunDB& runDB); | |
41 | ||
42 | ClassDef(AliRunDB,0) // Run (bookkeeping) DB | |
43 | }; | |
44 | ||
45 | #endif |