class TMap;
class TStopwatch;
class TUUID;
-class AliRawDataHeader;
+struct AliRawDataHeader;
class AliHLTComponent;
class AliHLTMemoryFile;
class AliHLTCTPData;
* \li -pushback-period=period <br>
* scale down for PushBack of objects, shipped only for one event
* every <i>period</i> seconds
+ * \li -event-module=number <br>
+ * This option reduces the event processing rate by processing only n'th event
+ * based on the modulo number <i>number</i>. The scale down should be about
+ * 1/<i>number</i>, where <i>number</i> is a positive integer.
*
* @ingroup alihlt_component
* @section alihltcomponent-members Class members
/**
* Copy data type structure
* Copies the value an AliHLTComponentDataType structure to another one
- * @param[out] tgtdt target structure
- * @param[in] srcdt source structure
+ * @param [out] tgtdt target structure
+ * @param [in] srcdt source structure
*/
static void CopyDataType(AliHLTComponentDataType& tgtdt, const AliHLTComponentDataType& srcdt);
/**
* Extracts the different data parts from the trigger data structure.
- * [in] @param trigData The trigger data as passed to the DoProcessing method.
- * [out] @param attributes The data block attributes given by the HLT framework.
- * [out] @param status The HLT status bits given by the HLT framework.
- * [out] @param cdh The common data header received from DDL links.
- * [out] @param readoutlist The readout list to fill with readout list bits
+ * @param [in] trigData The trigger data as passed to the DoProcessing method.
+ * @param [out] attributes The data block attributes given by the HLT framework.
+ * @param [out] status The HLT status bits given by the HLT framework.
+ * @param [out] cdh The common data header received from DDL links.
+ * @param [out] readoutlist The readout list to fill with readout list bits
* passed on by the HLT framework.
- * [in] @param printErrors If true then error messages are generated as necessary
+ * @param [in] printErrors If true then error messages are generated as necessary
* and suppressed otherwise.
* @note If any of the output parameters are set to NULL then the field is not set.
* For example, the following line will only fill the CDH pointer.
/**
* Extracts the readout list from a trigger data structure.
- * [in] @param trigData The trigger data as passed to the DoProcessing method.
- * [out] @param list The output readout list to fill.
- * [in] @param printErrors If true then error messages are generated as necessary
+ * @param [in] trigData The trigger data as passed to the DoProcessing method.
+ * @param [out] list The output readout list to fill.
+ * @param [in] printErrors If true then error messages are generated as necessary
* and suppressed otherwise.
* @return zero on success or one of the error codes returned by ExtractTriggerData.
*/
/**
* Extracts the event type from the given Common Data Header.
- * [in] @param cdh The Common Data Header to extract the event type from.
+ * @param [in] cdh The Common Data Header to extract the event type from.
* @return the event type code from the CDH.
*/
static AliHLTUInt32_t ExtractEventTypeFromCDH(const AliRawDataHeader* cdh);
* @param subVersion subversion of the entry
* @param key key of the object within TMap
*/
- TObject* LoadAndExtractOCDBObject(const char* path, int version = -1, int subVersion = -1, const char* key=NULL);
-
- TObject* LoadAndExtractOCDBObject(const char* path, const char* key) {
- return LoadAndExtractOCDBObject(path, -1, -1, key);
- }
+ TObject* LoadAndExtractOCDBObject(const char* path, const char* key=NULL) const;
/**
* Get event number.
int fPushbackPeriod; //! transient
/// time of last executed PushBack
int fLastPushBackTime; //! transient
+
+ /// Event modulo for down scaling the processing rate.
+ int fEventModulo; //! transient
ClassDef(AliHLTComponent, 0)
};