3 #ifndef ALIHLTTRIGGERMENUITEM_H
4 #define ALIHLTTRIGGERMENUITEM_H
5 /* This file is property of and copyright by the ALICE HLT Project *
6 * ALICE Experiment at CERN, All rights reserved. *
7 * See cxx source for full Copyright notice */
9 /// @file AliHLTTriggerMenuItem.h
10 /// @author Artur Szostak <artursz@iafrica.com>
12 /// @brief Declaration of the AliHLTTriggerMenuItem class.
19 * \class AliHLTTriggerMenuItem
22 class AliHLTTriggerMenuItem : public TObject
27 * Default constructor.
29 AliHLTTriggerMenuItem();
34 virtual ~AliHLTTriggerMenuItem();
37 * Inherited from TObject, this prints the contents of the menu item.
38 * \param option Can be "compact", which will print in the compact format.
40 virtual void Print(Option_t* option = "") const;
43 * Returns the optional comment string.
45 const char* Description() const { return fDescription.Data(); }
48 * Set the optional comment string.
50 void Description(const char* value) { fDescription = value; }
53 * Returns the trigger condition expression.
55 const char* TriggerCondision() const { return fConditionExpr.Data(); }
58 * Set the trigger condition expression.
60 void TriggerCondision(const char* value) { fConditionExpr = value; }
63 * Returns the trigger domain merging expression.
65 const char* MergeExpression() const { return fDomainExpr.Data(); }
68 * Set the trigger domain merging expression.
70 void MergeExpression(const char* value) { fDomainExpr = value; }
73 * Returns the pre-scalar value.
75 UInt_t PreScalar() const { return fPrescalar; }
78 * Set the pre-scalar value. A value of zero turns off the prescalar.
80 void PreScalar(UInt_t value) { fPrescalar = value; }
84 TString fDescription; /// Optional description or comment string.
85 TString fConditionExpr; /// The trigger condition expression.
86 TString fDomainExpr; /// Trigger domain merging expression.
87 UInt_t fPrescalar; /// Pre-scalar value used to optionally reduce the trigger rate. Every modulus n'th event is triggered, where n equals the pre-scalar value.
89 ClassDef(AliHLTTriggerMenuItem, 2) // Trigger menu item for global HLT trigger.
92 #endif // ALIHLTTRIGGERMENUITEM_H