]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliRawEventHeaderVersions.h
AliRawReaderDate does not require DATE, only event.h available in RAW
[u/mrichter/AliRoot.git] / RAW / AliRawEventHeaderVersions.h
index 03e9bb25ad4521d56e2da022eb2cf0eeb2e7b14f..ddbfdba16208309c2f5ee89d52f428143c34adc0 100644 (file)
@@ -3,6 +3,8 @@
 
 #include "AliRawEventHeaderBase.h"
 
+#undef INIT_HEADER_VARS
+#define INIT_HEADER_VARS fType(0), fRunNb(0), fId(), fTriggerPattern(), fDetectorPattern(0), fTypeAttribute(), fLdcId(0), fGdcId(0) 
 START_EVENT_HEADER(3,1)
 
    UInt_t fType;          // event type
@@ -42,6 +44,8 @@ START_EVENT_HEADER(3,3)
 
 END_EVENT_HEADER(3,3)
 
+#undef INIT_HEADER_VARS
+#define INIT_HEADER_VARS fType(0), fRunNb(0), fId(), fTriggerPattern(), fDetectorPattern(0), fTypeAttribute(), fLdcId(0), fGdcId(0), fTimestamp(0)
 START_EVENT_HEADER(3,4)
 
    UInt_t fType;          // event type
@@ -126,4 +130,66 @@ START_EVENT_HEADER(3,9)
 
 END_EVENT_HEADER(3,9)
 
+#undef INIT_HEADER_VARS
+#define INIT_HEADER_VARS fType(0), fRunNb(0), fId(), fTriggerPattern(), fDetectorPattern(0), fTypeAttribute(), fLdcId(0), fGdcId(0), fTimestamp(0), fTimestampUsec(0)
+START_EVENT_HEADER(3,11)
+
+   UInt_t fType;          // event type
+   UInt_t fRunNb;     // run number
+   UInt_t fId[2];  // id field
+   UInt_t fTriggerPattern[2];   // trigger pattern
+   UInt_t fDetectorPattern; // detector pattern
+   UInt_t fTypeAttribute[3];  // system (0,1) and user (2) attributes
+   UInt_t fLdcId;         // LDC id
+   UInt_t fGdcId;         // GDC id
+   UInt_t fTimestamp;     // event timestamp
+   UInt_t fTimestampUsec; // event timestamp (microseconds)
+
+END_EVENT_HEADER(3,11)
+
+START_EVENT_HEADER(3,12)
+
+   UInt_t fType;          // event type
+   UInt_t fRunNb;     // run number
+   UInt_t fId[2];  // id field
+   UInt_t fTriggerPattern[2];   // trigger pattern
+   UInt_t fDetectorPattern; // detector pattern
+   UInt_t fTypeAttribute[3];  // system (0,1) and user (2) attributes
+   UInt_t fLdcId;         // LDC id
+   UInt_t fGdcId;         // GDC id
+   UInt_t fTimestamp;     // event timestamp
+   UInt_t fTimestampUsec; // event timestamp (microseconds)
+
+END_EVENT_HEADER(3,12)
+
+START_EVENT_HEADER(3,13)
+
+   UInt_t fType;          // event type
+   UInt_t fRunNb;     // run number
+   UInt_t fId[2];  // id field
+   UInt_t fTriggerPattern[2];   // trigger pattern
+   UInt_t fDetectorPattern; // detector pattern
+   UInt_t fTypeAttribute[3];  // system (0,1) and user (2) attributes
+   UInt_t fLdcId;         // LDC id
+   UInt_t fGdcId;         // GDC id
+   UInt_t fTimestamp;     // event timestamp
+   UInt_t fTimestampUsec; // event timestamp (microseconds)
+
+END_EVENT_HEADER(3,13)
+
+START_EVENT_HEADER(3,14)
+
+   UInt_t fType;          // event type
+   UInt_t fRunNb;     // run number
+   UInt_t fId[2];  // id field
+   UInt_t fTriggerPattern[4];   // trigger pattern
+   UInt_t fDetectorPattern; // detector pattern
+   UInt_t fTypeAttribute[3];  // system (0,1) and user (2) attributes
+   UInt_t fLdcId;         // LDC id
+   UInt_t fGdcId;         // GDC id
+   UInt_t fTimestamp;     // event timestamp
+   UInt_t fTimestampUsec; // event timestamp (microseconds)
+
+END_EVENT_HEADER(3,14)
+
 #endif