]>
Commit | Line | Data |
---|---|---|
a197a4ce | 1 | #ifndef ALIRAWCASTORDB_H |
2 | #define ALIRAWCASTORDB_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 | // AliRawCastorDB // | |
12 | // // | |
13 | ////////////////////////////////////////////////////////////////////////// | |
14 | ||
15 | #include "AliRawDB.h" | |
16 | ||
17 | ||
18 | class AliRawCastorDB : public AliRawDB { | |
19 | ||
20 | public: | |
a109e73e | 21 | AliRawCastorDB(AliRawEvent *event, |
a109e73e | 22 | AliESD *esd, |
e10815f1 | 23 | Int_t compress, |
24 | const char* fileName = NULL); | |
a197a4ce | 25 | ~AliRawCastorDB() { Close(); } |
26 | ||
27 | const char *GetOpenOption() const { return "-RECREATE"; } | |
28 | Int_t GetNetopt() const { return 0; } | |
29 | void Close(); | |
30 | ||
31 | private: | |
32 | const char *GetFileName() const; | |
33 | ||
34 | ClassDef(AliRawCastorDB,0) // Raw DB via CASTOR and rootd | |
35 | }; | |
36 | ||
37 | #endif |