virtual const UInt_t* GetTriggerPattern() const = 0;
virtual const UInt_t* GetDetectorPattern() const = 0;
virtual const UInt_t* GetAttributes() const = 0;
+ virtual const UInt_t* GetSubEventAttributes() const = 0;
virtual UInt_t GetLDCId() const = 0;
virtual UInt_t GetGDCId() const = 0;
#endif
}
+const UInt_t* AliRawReaderDate::GetSubEventAttributes() const
+{
+// get the type attributes from the sub event header
+
+#ifdef ALI_DATE
+ if (!fSubEvent) return NULL;
+ return fSubEvent->eventTypeAttribute;
+#else
+ return NULL;
+#endif
+}
+
UInt_t AliRawReaderDate::GetLDCId() const
{
// get the LDC Id from the event header
virtual const UInt_t* GetTriggerPattern() const;
virtual const UInt_t* GetDetectorPattern() const;
virtual const UInt_t* GetAttributes() const;
+ virtual const UInt_t* GetSubEventAttributes() const;
virtual UInt_t GetLDCId() const;
virtual UInt_t GetGDCId() const;
virtual const UInt_t* GetTriggerPattern() const {return 0;};
virtual const UInt_t* GetDetectorPattern() const {return 0;};
virtual const UInt_t* GetAttributes() const {return 0;};
+ virtual const UInt_t* GetSubEventAttributes() const {return 0;};
virtual UInt_t GetLDCId() const {return 0;};
virtual UInt_t GetGDCId() const {return 0;};
return fEvent->GetHeader()->GetTypeAttribute();
}
+const UInt_t* AliRawReaderRoot::GetSubEventAttributes() const
+{
+// get the type attributes from the sub event header
+
+ if (!fSubEvent) return NULL;
+ return fSubEvent->GetHeader()->GetTypeAttribute();
+}
+
UInt_t AliRawReaderRoot::GetLDCId() const
{
// get the LDC Id from the event header
virtual const UInt_t* GetTriggerPattern() const;
virtual const UInt_t* GetDetectorPattern() const;
virtual const UInt_t* GetAttributes() const;
+ virtual const UInt_t* GetSubEventAttributes() const;
virtual UInt_t GetLDCId() const;
virtual UInt_t GetGDCId() const;