]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTTriggerDecision.h
Fixing generation of bit mask for TObject::fBits field.
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTTriggerDecision.h
index 0ae161c0de13c04f90764d0a9d23a6150519162e..73db6630bbd0b8d9457ad962a0b810a2bf0e75f0 100644 (file)
@@ -100,7 +100,7 @@ class AliHLTTriggerDecision : public TObject
    * The decision is stored in bit 15 of the fBits field.
    * \returns true if the event was triggered and should be readout.
    */
-  bool Result() const { return TestBit(15) == 1; }
+  bool Result() const { return TestBit(BIT(15)) == 1; }
   
   /**
    * Sets the result of the trigger decision.
@@ -108,7 +108,7 @@ class AliHLTTriggerDecision : public TObject
    * \param value  The value to set; true if the event triggered and should be
    *     readout and false otherwise.
    */
-  void Result(bool value) { SetBit(15, value); }
+  void Result(bool value) { SetBit(BIT(15), value); }
   
   /**
    * Returns the name of the trigger decision.
@@ -140,7 +140,7 @@ class AliHLTTriggerDecision : public TObject
    */
   void ReadoutList(const AliHLTReadoutList& value)
   {
-    fTriggerDomain.Remove("DAQRDOUT", kAliHLTDataOriginAny);
+    fTriggerDomain.Remove(kAliHLTDAQRDOUTDataTypeID, kAliHLTDataOriginAny);
     fTriggerDomain.Add(value);
   }