Correction for numbering of inputs from 1 in cfg file introduced. The most left bit...
authorlietava <lietava@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 12 Jun 2009 14:29:14 +0000 (14:29 +0000)
committerlietava <lietava@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 12 Jun 2009 14:29:14 +0000 (14:29 +0000)
STEER/AliTriggerInput.cxx

index 689c7e8..efa5c75 100644 (file)
@@ -72,7 +72,7 @@ const char* AliTriggerInput::fgkCTPDetectorName[AliDAQ::kNDetectors] = {
 //_____________________________________________________________________________
   AliTriggerInput::AliTriggerInput( TString name, TString det, UChar_t level, Int_t signature, Char_t number ):
     TNamed( name.Data(), det.Data() ),
-    fMask((number >= 0) ? 1 << number : 0 ),
+    fMask((number > 0) ? 1 << (number-1) : 0 ),
     fValue(0),
     fSignature(signature),
     fLevel(level),