]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RAW/AliRunDB.h
Automatic calculation of the paramters of the hough space. Optimization of the hough...
[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
b7d09bb3 36 static void WriteStats(AliStats* stats);
37
a197a4ce 38private:
39 TFile *fRunDB; // run database
40
41 AliRunDB(const AliRunDB& runDB);
42 AliRunDB& operator = (const AliRunDB& runDB);
43
44 ClassDef(AliRunDB,0) // Run (bookkeeping) DB
45};
46
47#endif