+int AliHLTTrigger::TriggerEvent(bool value)
+{
+ // Sets the trigger decision for the current event.
+ // See header file for more details.
+
+ if (fTriggerEventResult != 0) return fTriggerEventResult; // Do not do anything if a previous call failed.
+ AliHLTTriggerDecision triggerResult(value, GetTriggerName(), fTriggerDomain, fDescription);
+ // Append the readout list if it contains anything.
+ triggerResult.TriggerDomain().Add(fReadoutList);
+ return TriggerEvent(&triggerResult, kAliHLTDataTypeTObject|kAliHLTDataOriginOut);
+}
+
+
+int AliHLTTrigger::TriggerEvent(
+ AliHLTTriggerDecision* result, const AliHLTComponentDataType& type,
+ AliHLTUInt32_t spec
+ )
+{
+ // Sets a custom trigger decision for the current event.
+ // See header file for more details.
+
+ if (fTriggerEventResult != 0) return fTriggerEventResult; // Do not do anything if a previous call failed.
+ fTriggerEventResult = PushBack(result, type, spec);
+ if (fTriggerEventResult == 0) {
+ fTriggerEventResult = PushBack(result->ReadoutList().Buffer(), result->ReadoutList().BufferSize(), "HLTRDLST", "HLT "/*kAliHLTDataTypeDAQRDOUT|kAliHLTDataOriginOut*/);
+ }
+
+ if (fTriggerEventResult == 0) fDecisionMade = true;
+ return fTriggerEventResult;
+}
+
+
+void AliHLTTrigger::GetInputDataTypes(AliHLTComponentDataTypeList& list)
+{
+ // Calls the const version of this method.
+
+ // Assign to const temporary variable to make sure we call the constant version
+ // of the GetOutputDataTypes method.
+ const AliHLTTrigger* t = this;
+ t->GetInputDataTypes(list);
+}
+
+
+int AliHLTTrigger::GetOutputDataTypes(AliHLTComponentDataTypeList& list)