minor bugfix in argument scanning
[u/mrichter/AliRoot.git] / RAW / AliRawEvent.h
index a6133ca..f3cbf27 100644 (file)
 #include <TObject.h>
 #endif
 
+#ifndef ROOT_TObjArray
+#include <TObjArray.h>
+#endif
+
 
 // Forward class declarations
-class AliRawEventHeader;
+class AliRawEventHeaderBase;
 class AliRawEquipment;
 
 
@@ -47,7 +51,8 @@ public:
    AliRawEvent();
    virtual ~AliRawEvent();
 
-   AliRawEventHeader     *GetHeader();
+   AliRawEventHeaderBase *GetHeader(char*& data);
+   AliRawEventHeaderBase *GetHeader();
    Int_t                  GetNEquipments() const { return fNEquipments; }
    AliRawEquipment       *NextEquipment();
    AliRawEquipment       *GetEquipment(Int_t index) const;
@@ -59,7 +64,7 @@ public:
 private:
    Int_t                  fNEquipments; // number of valid equipments
    Int_t                  fNSubEvents;  // number of valid sub-events
-   AliRawEventHeader     *fEvtHdr;      // event header object
+   AliRawEventHeaderBase *fEvtHdr;      // event header object
    TObjArray             *fEquipments;  // AliRawEquipment's
    TObjArray             *fSubEvents;   // sub AliRawEvent's