]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliRawEventHeaderBase.h
Reverting changes in STAT waiting for fixes
[u/mrichter/AliRoot.git] / RAW / AliRawEventHeaderBase.h
index da14989f5d1be64e528fadfc90ca461448bd42fe..966a5da78929f7706e41f465e67f4d1dd81d68cc 100644 (file)
@@ -44,6 +44,7 @@ public:
    char*         GetExtendedData() const { return fExtendedData; }
 
    const char *  GetTypeName() const;
+   static const char *  GetTypeName(UInt_t eventType);
    static AliRawEventHeaderBase* Create(char*& data);
    void          AllocateExtendedData(Int_t extsize);
    Int_t         ReadHeader(char*& data);
@@ -85,11 +86,12 @@ private:
    char  *fExtendedData;  //[fExtendedDataSize] pointer to header extension data 
 
    Bool_t fIsSwapped;     // is data swapped
+   Int_t  fHeaderSize;    //! cache for the header size estimate
 
    static const UInt_t fgkEventMagicNumber        = 0xDA1E5AFE; // magic word
    static const UInt_t fgkEventMagicNumberSwapped = 0xFE5A1EDA; // swapped magic word
 
-   ClassDef(AliRawEventHeaderBase,2)  // Alice raw event header base class
+   ClassDef(AliRawEventHeaderBase,3)  // Alice raw event header base class
 };
 
 #define EVENT_HEADER_VERSION(AA,BB) AliRawEventHeaderV##AA##_##BB