/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
-
struct AliRawDataHeader {
AliRawDataHeader() :
fSize(0xFFFFFFFF),
ULong64_t GetROI() const
{return ((ULong64_t) fROIHigh) << 32 + ((fROILowTriggerClassHigh >> 28) & 0xF);}
+ void SetTriggerClass(ULong64_t mask)
+ {fTriggerClassLow = (mask & 0xFFFFFFFF); // low bits of trigger class
+ fROILowTriggerClassHigh = ((mask >> 32) & 0x3FFFF); // low bits of ROI data (bits 28-31) and high bits of trigger class (bits 0-17)
+ };
+
UInt_t fSize; // size of the raw data in bytes
UShort_t fEventID1; // bunch crossing number
UChar_t fL1TriggerType; // level 1 trigger type