]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliRawEventHeaderBase.h
Adding PWG1
[u/mrichter/AliRoot.git] / RAW / AliRawEventHeaderBase.h
index 7be559f6521b0c0e893f128b1f2adc1339cf1b94..ce0692adcb90a592b13bf1c884b78f8d9f0e4e96 100644 (file)
@@ -19,7 +19,7 @@
 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; }
@@ -46,8 +46,8 @@ public:
    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
@@ -61,13 +61,16 @@ public:
      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