]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONVQAChecker.h
Coverity fix
[u/mrichter/AliRoot.git] / MUON / AliMUONVQAChecker.h
index a93b61c63aa1695db73d50968fcd90c19ea09236..fece8d54d7297bdf281efc90e8801650c68d65c9 100644 (file)
@@ -22,6 +22,7 @@ class AliMUONRecoParam;
 class AliMUONVQAChecker : public TObject
 {
 public:
+  /// Classification of errors severity
   enum ECheckCode {
     kFatal=-1,  ///< error is really serious
     kError=0,   ///< normal error, i.e. something is wrong
@@ -29,17 +30,24 @@ public:
     kInfo=2     ///< just so you know...
   };
   
+  enum EColor {
+    kInfoColor=kSpring-8, ///< color for information (online convention)
+    kWarningColor=kOrange, ///< color for warning (online convention)
+    kErrorColor=kRed, ///< color for normal error (online convention)
+    kFatalColor=kMagenta+1 ///< color for fatal error (online convention)
+  };
+  
   AliMUONVQAChecker();
   virtual ~AliMUONVQAChecker();
   
   /// Check the QA object(s) for the raw data
-  virtual ECheckCode * CheckRaws(TObjArray** list, AliMUONRecoParam* recoParam) = 0;
+  virtual ECheckCode * CheckRaws(TObjArray** list, const AliMUONRecoParam* recoParam) = 0;
   
   /// Check the QA object(s) for the RecPoints
-  virtual ECheckCode * CheckRecPoints(TObjArray** list, AliMUONRecoParam* recoParam) = 0;
+  virtual ECheckCode * CheckRecPoints(TObjArray** list, const AliMUONRecoParam* recoParam) = 0;
   
   /// Check the QA object(s) for the ESD
-  virtual ECheckCode * CheckESD(TObjArray** list, AliMUONRecoParam* recoParam) = 0;
+  virtual ECheckCode * CheckESD(TObjArray** list, const AliMUONRecoParam* recoParam) = 0;
   
   ClassDef(AliMUONVQAChecker,1) // Interface for a MUON QA checker
 };