]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliTagDB.h
New raw-data TAGS infrastructure
[u/mrichter/AliRoot.git] / RAW / AliTagDB.h
index 8490d6f8c722cc6a8b1a40d0345505357b5f2181..30df9d2d15025ed9029e60cc0e061ca658f3c23a 100644 (file)
 
 
 // Forward class declarations
-class AliRawEventHeaderBase;
+class AliRawEventTag;
 
 
 class AliTagDB : public TObject {
 
 public:
-   AliTagDB(AliRawEventHeaderBase *header, const char* fileName = NULL);
+   AliTagDB(AliRawEventTag *eventTag, const char* fileName = NULL);
    virtual ~AliTagDB() { Close(); }
 
    Bool_t          Create(const char* fileName = NULL);
@@ -54,14 +54,14 @@ public:
    Double_t           GetBytesWritten() const { return fTagDB->GetBytesWritten(); }
    TFile             *GetDB() const { return fTagDB; }
    const char        *GetDBName() const { return fTagDB->GetName(); }
-   AliRawEventHeaderBase *GetHeader() const { return fHeader; }
+   AliRawEventTag    *GetEventTag() const { return fEventTag; }
    Int_t              GetEvents() const { return (Int_t) fTree->GetEntries(); }
    Float_t            GetCompressionFactor() const;
 
 protected:
    TFile             *fTagDB;     // DB to store header information only (tag)
    TTree             *fTree;      // tree use to store header
-   AliRawEventHeaderBase *fHeader;    // header via which data is stored
+   AliRawEventTag    *fEventTag;  // pointer to event tag object via which data is stored
    Double_t           fMaxSize;   // maximum size in bytes of tag DB
    TString            fFS;        // tag DB file system location
    Bool_t             fDeleteFiles; // flag for deletion of files