]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 b6935ee290136200fe8895054d60b9674096a530..bb6dc29dc0fb7e5ea618679ca2a133445ef77324 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);