fd46c3d60c3bf004ac55a5ad083d165df67179d8
[u/mrichter/AliRoot.git] / RAW / AliRawRootdDB.h
1 #ifndef ALIRAWROOTDDB_H
2 #define ALIRAWROOTDDB_H
3 // @(#) $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 // AliRawRootdDB                                                        //
12 //                                                                      //
13 //////////////////////////////////////////////////////////////////////////
14
15 #include "AliRawDB.h"
16
17
18 class AliRawRootdDB : public AliRawDB {
19
20 public:
21    AliRawRootdDB(AliRawEventV2 *event,
22                  AliESDEvent *esd,
23                  Int_t compress,
24                  const char* fileName = NULL,
25                  Int_t basketsize = 32000);
26    ~AliRawRootdDB() { Close(); }
27
28    Long64_t Close();
29
30 private:
31    const char *GetFileName() const;
32
33    ClassDef(AliRawRootdDB,0)  // Raw DB via rootd
34 };
35
36 #endif