Protection against wrong trigger bc mask pattern
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 Dec 2008 09:45:52 +0000 (09:45 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 Dec 2008 09:45:52 +0000 (09:45 +0000)
STEER/AliTriggerBCMask.cxx

index b6935ee..bb6dc29 100644 (file)
@@ -147,7 +147,8 @@ Bool_t AliTriggerBCMask::CreateMask(TString &mask)
   delete tokens;
 
   if (ibit != kNBits) {
-    AliWarning(Form("Incomplete bunch-crossing mask. Only the first %d bits are filled.",ibit));
+    AliError(Form("Incomplete bunch-crossing mask. Only the first %d bits are filled.",ibit));
+    return kFALSE;
   }
 
   bits.Get(fBCMask);