New versions of GDC and CDH raw data headers. Some CDH getters are added
[u/mrichter/AliRoot.git] / RAW / AliRawEventHeaderBase.cxx
index 5d8d366..a4ba528 100644 (file)
@@ -129,6 +129,18 @@ const char *AliRawEventHeaderBase::GetTypeName()
       case kFormatError:
          return "EVENT_FORMAT_ERROR";
          break;
+      case kStartOfData:
+        return "START_OF_DATA";
+        break;
+      case kEndOfData:
+        return "END_OF_DATA";
+        break;
+      case kSystemSoftwareTriggerEvent:
+        return "SYSTEM_SOFTWARE_TRIGGER_EVENT";
+        break;
+      case kDetectorSoftwareTriggerEvent:
+        return "DETECTOR_SOFTWARE_TRIGGER_EVENT";
+        break;
       default:
         return "UNKNOWN EVENT TYPE NUMBER";
          break;
@@ -303,10 +315,10 @@ const UInt_t* AliRawEventHeaderBase::GetP(const char *datamember)
     return 0;
   }
 
-  if (member->GetArrayDim() == 0) {
-    AliFatal(Form("Member %s is not an array! Use the Get() method!",buf));
-    return 0;
-  }
+  //  if (member->GetArrayDim() == 0) {
+  //    AliFatal(Form("Member %s is not an array! Use the Get() method!",buf));
+  //    return 0;
+  //  }
 
   if (strcmp(member->GetTypeName(),"UInt_t") != 0) {
     AliFatal(Form("Member %s is not of type UInt_t*!",buf));