class AliRawEventHeaderBase : public TObject {
public:
- AliRawEventHeaderBase() { fSize=fMagic=fHeadSize=fVersion=fExtendedDataSize=0; fExtendedData = 0x0; fIsSwapped = kFALSE; }
+ AliRawEventHeaderBase();
virtual ~AliRawEventHeaderBase() { if (fExtendedData) delete [] fExtendedData; }
void *HeaderBaseBegin() { return (void *) &fSize; }
const char * GetTypeName();
static AliRawEventHeaderBase* Create(char*& data);
Int_t ReadHeader(char*& data);
- UInt_t Get(const char *datamember);
- const UInt_t* GetP(const char *datamember);
+ UInt_t Get(const char *datamember) const;
+ const UInt_t* GetP(const char *datamember) const;
// The following enumeration can be used once the kEventTypeMask has been
// applied to the raw event type
};
private:
+ AliRawEventHeaderBase(const AliRawEventHeaderBase&);
+ AliRawEventHeaderBase& operator=(const AliRawEventHeaderBase&);
+
UInt_t fSize; // size of event in bytes
UInt_t fMagic; // magic number used for consistency check
UInt_t fHeadSize; // size of header in bytes