]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliCentralTrigger.cxx
Unneeded error message (Andrea)
[u/mrichter/AliRoot.git] / STEER / AliCentralTrigger.cxx
index 0d7c9e1e702fa1513bb0b4c64c4a652695a29498..01fb66ea9ede7d1f49d661a07d1e03b985891ed0 100644 (file)
@@ -415,11 +415,17 @@ Bool_t AliCentralTrigger::CheckTriggeredDetectors() const
     }
     // Compare the stored cluster mask with the one
     // that we get from trigger classes
-    // To be enables after we store the cluster mask in the trigger tree
     if (clusterMask != fClusterMask) {
-      AliError(Form("Wrong cluster mask from trigger classes (%x), expecting (%x)! Loaded trigger configuration is possibly wrong!",
-                   (UInt_t)clusterMask,(UInt_t)fClusterMask));
-      return kFALSE;
+      if ((clusterMask & fClusterMask) == clusterMask) {
+       AliInfo(Form("Cluster mask from trigger classes (%x) and from data (%x) differ. Concurrent DAQ run(s) could be the reason.",
+                    (UInt_t)clusterMask,(UInt_t)fClusterMask));
+       return kTRUE;
+      }
+      else {
+       AliError(Form("Wrong cluster mask from trigger classes (%x), expecting (%x)! Loaded trigger configuration is possibly wrong!",
+                     (UInt_t)clusterMask,(UInt_t)fClusterMask));
+       return kFALSE;
+      }
     }
   }