Return pointer to the base class
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 15 May 2009 14:28:39 +0000 (14:28 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 15 May 2009 14:28:39 +0000 (14:28 +0000)
RAW/AliRawEvent.cxx
RAW/AliRawEvent.h

index 850e649..851ae27 100644 (file)
@@ -76,7 +76,7 @@ AliRawEventHeaderBase *AliRawEvent::GetHeader()
 }
 
 //______________________________________________________________________________
-AliRawEquipment *AliRawEvent::GetEquipment(Int_t index) const
+AliRawVEquipment *AliRawEvent::GetEquipment(Int_t index) const
 {
    // Get specified equipment. Returns 0 if equipment does not exist.
 
@@ -87,7 +87,7 @@ AliRawEquipment *AliRawEvent::GetEquipment(Int_t index) const
 }
 
 //______________________________________________________________________________
-AliRawEvent *AliRawEvent::GetSubEvent(Int_t index)
+AliRawVEvent *AliRawEvent::GetSubEvent(Int_t index)
 {
    // Get specified sub event. Returns 0 if sub event does not exist.
 
index da238ce..638a8a8 100644 (file)
@@ -42,7 +42,6 @@
 
 // Forward class declarations
 class AliRawEventHeaderBase;
-class AliRawEquipment;
 
 #include "AliRawVEvent.h"
 
@@ -54,9 +53,9 @@ public:
 
    virtual AliRawEventHeaderBase *GetHeader();
    virtual Int_t                  GetNEquipments() const { return fNEquipments; }
-   virtual AliRawEquipment       *GetEquipment(Int_t index) const;
+   virtual AliRawVEquipment       *GetEquipment(Int_t index) const;
    virtual Int_t                  GetNSubEvents() const { return fNSubEvents; }
-   virtual AliRawEvent           *GetSubEvent(Int_t index);
+   virtual AliRawVEvent           *GetSubEvent(Int_t index);
 
 private:
    Int_t                  fNEquipments; // number of valid equipments