New calibration classes (A.Colla)
[u/mrichter/AliRoot.git] / STEER / AliRunDataFile.h
CommitLineData
2c8628dd 1#ifndef ALIRUNDATAFILE_H
2#define ALIRUNDATAFILE_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8///
f05209ee 9/// access classes for a data base in a LOCAL file
2c8628dd 10///
11
12#include "AliRunDataStorage.h"
f05209ee 13#include "AliSelectionMetaData.h"
2c8628dd 14
15class TFile;
16
17
18class AliRunDataFile: public AliRunDataStorage {
19public:
20 AliRunDataFile(const char* fileName = "DB.root", Bool_t readOnly = kTRUE);
21 virtual ~AliRunDataFile();
22
23protected:
f05209ee 24 virtual AliRunData* GetEntry(AliSelectionMetaData& selMetaData, Int_t runNumber);
2c8628dd 25
26 virtual Bool_t PutEntry(AliRunData* entry);
27
28private:
29 AliRunDataFile(const AliRunDataFile& db);
30 AliRunDataFile& operator = (const AliRunDataFile& db);
31
f05209ee 32 TFile* fFile; //! the DB local file
2c8628dd 33
f05209ee 34 ClassDef(AliRunDataFile, 0) // access classes for a data base in a LOCAL file
2c8628dd 35};
36
37#endif