]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 6ae2d76e36d86529f2cc62a3efb6c741caa8119f..57c554df711b4a12022f6f2f4b144036006648b3 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 974bae5d3a3e9b23ea78480c14a691a538699e7b..809e0ed18aa20c3120f0f90e16e1ef796cf4c4d4 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