Line data Source code
1 : #ifndef ALIRAWCASTORDB_H
2 : #define ALIRAWCASTORDB_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 : // AliRawCastorDB //
12 : // //
13 : //////////////////////////////////////////////////////////////////////////
14 :
15 : #include "AliRawDB.h"
16 :
17 :
18 : class AliRawCastorDB : public AliRawDB {
19 :
20 : public:
21 : AliRawCastorDB(AliRawEventV2 *event,
22 : AliESDEvent *esd,
23 : Int_t compress,
24 : const char* fileName = NULL,
25 : Int_t basketsize = 32000,
26 : Long64_t autoflush = -5000000LL);
27 0 : ~AliRawCastorDB() { Close(); }
28 :
29 0 : const char *GetOpenOption() const { return "-RECREATE"; }
30 0 : Int_t GetNetopt() const { return 0; }
31 : Long64_t Close();
32 :
33 : private:
34 : const char *GetFileName() const;
35 :
36 2 : ClassDef(AliRawCastorDB,0) // Raw DB via CASTOR and rootd
37 : };
38 :
39 : #endif
|