access method for sub event attributes added
[u/mrichter/AliRoot.git] / RAW / AliRawReaderDate.cxx
index 53f4f33ff327f3e5b4326ba22a0da3c9cc7a0dea..4c4d8da774b382f24c74a773d114b8849eba27f2 100644 (file)
@@ -211,6 +211,18 @@ const UInt_t* AliRawReaderDate::GetAttributes() const
 #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