1 #ifndef ALIHLTTRIGGERMENUITEM_H
2 #define ALIHLTTRIGGERMENUITEM_H
3 /* This file is property of and copyright by the ALICE HLT Project *
4 * ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 /// @file AliHLTTriggerMenuItem.h
8 /// @author Artur Szostak <artursz@iafrica.com>
10 /// @brief Declaration of the AliHLTTriggerMenuItem class.
17 * \class AliHLTTriggerMenuItem
20 class AliHLTTriggerMenuItem : public TObject
25 * Default constructor.
27 AliHLTTriggerMenuItem();
32 virtual ~AliHLTTriggerMenuItem();
35 * Inherited from TObject, this prints the contents of the menu item.
36 * \param option Can be "compact", which will print in the compact format.
38 virtual void Print(Option_t* option = "") const;
41 * Returns the trigger condition expression.
43 const char* TriggerCondision() const { return fConditionExpr.Data(); }
46 * Set the trigger condition expression.
48 void TriggerCondision(const char* value) { fConditionExpr = value; }
51 * Returns the trigger domain merging expression.
53 const char* MergeExpression() const { return fDomainExpr.Data(); }
56 * Set the trigger domain merging expression.
58 void MergeExpression(const char* value) { fDomainExpr = value; }
61 * Returns the pre-scalar value.
63 UInt_t PreScalar() const { return fPrescalar; }
66 * Set the pre-scalar value. A value of zero turns off the prescalar.
68 void PreScalar(UInt_t value) { fPrescalar = value; }
72 TString fConditionExpr; /// The trigger condition expression.
73 TString fDomainExpr; /// Trigger domain merging expression.
74 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.
76 ClassDef(AliHLTTriggerMenuItem, 1) // Trigger menu item for global HLT trigger.
79 #endif // ALIHLTTRIGGERMENUITEM_H