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
kPhysicsEvent = 7, // PHYSICS_EVENT
kCalibrationEvent = 8, // CALIBRATION_EVENT
kFormatError = 9, // EVENT_FORMAT_ERROR
- kStartOfDdata = 10, // START_OF_DATA
+ kStartOfData = 10, // START_OF_DATA
kEndOfData = 11, // END_OF_DATA
kSystemSoftwareTriggerEvent = 12, // SYSTEM_SOFTWARE_TRIGGER_EVENT
kDetectorSoftwareTriggerEvent = 13 // DETECTOR_SOFTWARE_TRIGGER_EVENT
};
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