/**
* This typecast operator converts the readout list to the AliHLTEventDDL
* structure format.
- * \return Copy of the AliHLTEventDDL raw structure.
+ * \return Constant reference to the AliHLTEventDDL raw structure.
*/
- operator AliHLTEventDDL () const { return fReadoutList; }
+ operator const AliHLTEventDDL& () const { return fReadoutList; }
/**
* This typecast operator converts the readout list to the AliHLTEventDDL
return result.operator -= (list);
}
- private:
-
/**
* Decodes the word index and bit index within that word for the readout list structure.
- * \param ddlId <i>[in]</i> The ID number of the DDL to decode.
- * \param wordIndex <i>[out]</i> the word index of the word to modify or check
- * within fReadoutList.fList
- * \param bitIndex <i>[out]</i> the bit index of the bit to modify or check
+ * \param [in] ddlId The ID number of the DDL to decode.
+ * \param [out] wordIndex the word index of the word to modify or check within fReadoutList.fList
+ * \param [out] bitIndex the bit index of the bit to modify or check
* within the word pointed to by <i>wordIndex</i>.
* \return true if the ddlId was decoded and false if it was invalid.
* \note We do not check extensively if the ddlId is invalid. Just simple checks
*/
static bool DecodeDDLID(Int_t ddlId, Int_t& wordIndex, Int_t& bitIndex);
+ private:
+
+ /**
+ * This method fills the internal bit field structure taking care of converting
+ * from the old format to the new one.
+ * \param list The raw DDL readout list bits.
+ */
+ void FillStruct(const AliHLTEventDDL& list);
+
AliHLTEventDDL fReadoutList; /// The DDL readout list structure.
ClassDef(AliHLTReadoutList, 3) // Readout list object used for manipulating and storing an AliHLTEventDDL structure.