]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RAW/AliRunDB.h
access method for sub event attributes added
[u/mrichter/AliRoot.git] / RAW / AliRunDB.h
CommitLineData
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
21class AliStats;
22class TFile;
23
24
25class AliRunDB : public TObject {
26
27public:
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
36private:
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