]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliRawReaderRoot.cxx
bugfix
[u/mrichter/AliRoot.git] / RAW / AliRawReaderRoot.cxx
index b458c75ac7deb23e6756272b8a1cf4f93034fd03..ed16d4b8191fbfa395e50a5c812dad0480c90515 100644 (file)
@@ -235,6 +235,14 @@ const UInt_t* AliRawReaderRoot::GetAttributes() const
   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