]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
added RAW data type defines; minor correction of inconsistency
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Nov 2007 09:58:16 +0000 (09:58 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Nov 2007 09:58:16 +0000 (09:58 +0000)
HLT/BASE/AliHLTDataTypes.cxx
HLT/BASE/AliHLTDataTypes.h

index 687a8282c94090bd749d009a6a60184df6e6ba28..447abd03b6c713beba656b7d4db16c7fa23f8284 100644 (file)
@@ -69,3 +69,10 @@ const AliHLTComponentDataType kAliHLTDataTypeEvent  = {
   kAliHLTEventDataTypeID,
   kAliHLTDataOriginPrivate
 };
+
+/** RAW DDL data specification, data publisher will set type id and origin correctly */
+const AliHLTComponentDataType kAliHLTDataTypeDDLRaw = {
+  sizeof(AliHLTComponentDataType),
+  kAliHLTDDLRawDataTypeID,
+  kAliHLTDataOriginAny
+};
index 2f68d14f5ee48f6adb422815c8485cd5c7e49c02..0cef68e40549b89891190dca1d886dcc084e0e34 100644 (file)
@@ -21,6 +21,8 @@
 /* Version   Description
  *   1       first version until June 07; implicite, not tagged
  *   2       introduced June 07, enhanced/cleaned/arranged structure
+ *   3       2007-11-15 RAW DDL data type added, some inconsistencies fixed
+ *           ('void' and 'any' origins)
  */
 #define ALIHLT_DATA_TYPES_VERSION 2
 
@@ -35,9 +37,13 @@ const int kAliHLTComponentDataTypefOriginSize=4;
 
 
 /** invalid data origin */
+# define kAliHLTDataOriginVoid "\0\0\0"
+/** old invalid data origin, kept for backward compatibility */
 # define kAliHLTVoidDataOrigin "\0\0\0"
 
-/** special id for any data type origin */
+/** wildcard data type origin */
+# define kAliHLTDataOriginAny "***"
+/** old wildcard data type origin, kept for backward compatibility */
 # define kAliHLTAnyDataOrigin "***"
 
 /** HLT out */
@@ -77,6 +83,9 @@ const int kAliHLTComponentDataTypefIDsize=8;
 /** special id for any data type id */
 # define kAliHLTAnyDataTypeID "*******"
 
+/** DDL RAW data */
+# define kAliHLTDDLRawDataTypeID   {'D','D','L','_','R','A','W',' '}
+
 /** calibration data for file exchange subscriber */
 # define kAliHLTFXSCalibDataTypeID {'F','X','S','_','C','A','L',' '}
 
@@ -305,7 +314,7 @@ extern "C" {
   const AliHLTComponentDataType kAliHLTVoidDataType = {
     sizeof(AliHLTComponentDataType),
     kAliHLTVoidDataTypeID,
-    kAliHLTVoidDataOrigin
+    kAliHLTDataOriginVoid
   };
 
   // there is currently a problem with rootcint if the predefined ids
@@ -316,7 +325,7 @@ extern "C" {
   const AliHLTComponentDataType kAliHLTAnyDataType = {
     sizeof(AliHLTComponentDataType),
     kAliHLTAnyDataTypeID,
-    kAliHLTAnyDataOrigin
+    kAliHLTDataOriginAny
   };
 
   /** multiple output data types */
@@ -337,6 +346,9 @@ extern "C" {
   /** Event type specification */
   extern const AliHLTComponentDataType kAliHLTDataTypeEvent;
 
+/** RAW DDL data specification, data publisher will set type id and origin correctly */
+  extern const AliHLTComponentDataType kAliHLTDataTypeDDLRaw;
+
   //////////////////////////////////////////////////////////////////////////
   //
   // FXS subscriber meta information