Line data Source code
1 : #ifndef ALIMUONVQACHECKER_H
2 : #define ALIMUONVQACHECKER_H
3 :
4 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 : * See cxx source for full Copyright notice */
6 :
7 : // $Id$
8 :
9 : /// \ingroup rec
10 : /// \class AliMUONVQAChecker
11 : /// \brief Base class for a MUON QA checker
12 : ///
13 : // Author Laurent Aphecetche
14 :
15 : #ifndef ROOT_TObject
16 : # include "TObject.h"
17 : #endif
18 :
19 : class TObjArray;
20 : class AliMUONRecoParam;
21 :
22 0 : class AliMUONVQAChecker : public TObject
23 : {
24 : public:
25 : /// Classification of errors severity
26 : enum ECheckCode {
27 : kFatal=-1, ///< error is really serious
28 : kError=0, ///< normal error, i.e. something is wrong
29 : kWarning=1, ///< warning, i.e. might become an error later on
30 : kInfo=2 ///< just so you know...
31 : };
32 :
33 : enum EColor {
34 : kInfoColor=kSpring-8, ///< color for information (online convention)
35 : kWarningColor=kOrange, ///< color for warning (online convention)
36 : kErrorColor=kRed, ///< color for normal error (online convention)
37 : kFatalColor=kMagenta+1 ///< color for fatal error (online convention)
38 : };
39 :
40 : AliMUONVQAChecker();
41 : virtual ~AliMUONVQAChecker();
42 :
43 : /// Check the QA object(s) for the raw data
44 : virtual ECheckCode * CheckRaws(TObjArray** list, const AliMUONRecoParam* recoParam) = 0;
45 :
46 : /// Check the QA object(s) for the RecPoints
47 : virtual ECheckCode * CheckRecPoints(TObjArray** list, const AliMUONRecoParam* recoParam) = 0;
48 :
49 : /// Check the QA object(s) for the ESD
50 : virtual ECheckCode * CheckESD(TObjArray** list, const AliMUONRecoParam* recoParam) = 0;
51 :
52 18 : ClassDef(AliMUONVQAChecker,1) // Interface for a MUON QA checker
53 : };
54 :
55 : #endif
|