New event header version (3.13) which contains new event type - SYNC.
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 6 Mar 2012 10:58:30 +0000 (10:58 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 6 Mar 2012 10:58:30 +0000 (10:58 +0000)
RAW/AliRawEventHeaderBase.h
RAW/AliRawEventHeaderVersions.h

index 6ae2d76..57c554d 100644 (file)
@@ -72,7 +72,8 @@ public:
      kStartOfData =      10,   // START_OF_DATA
      kEndOfData =        11,   // END_OF_DATA
      kSystemSoftwareTriggerEvent   = 12, // SYSTEM_SOFTWARE_TRIGGER_EVENT
-     kDetectorSoftwareTriggerEvent = 13  // DETECTOR_SOFTWARE_TRIGGER_EVENT
+     kDetectorSoftwareTriggerEvent = 13, // DETECTOR_SOFTWARE_TRIGGER_EVENT
+     kSyncEvent = 14  // SYNC_EVENT
    };
 
 private:
index 974bae5..809e0ed 100644 (file)
@@ -162,4 +162,19 @@ START_EVENT_HEADER(3,12)
 
 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)
+
 #endif