]>
Commit | Line | Data |
---|---|---|
ece56eb9 | 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 | /// | |
c442ee61 | 13 | // Author Laurent Aphecetche |
ece56eb9 | 14 | |
15 | #ifndef ROOT_TObject | |
16 | # include "TObject.h" | |
17 | #endif | |
18 | ||
19 | class TObjArray; | |
20 | class AliMUONRecoParam; | |
21 | ||
22 | class AliMUONVQAChecker : public TObject | |
23 | { | |
24 | public: | |
52ce8802 | 25 | /// Classification of errors severity |
ece56eb9 | 26 | enum ECheckCode { |
ca04ed6c | 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... | |
ece56eb9 | 31 | }; |
32 | ||
bd6fae1e | 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 | ||
ece56eb9 | 40 | AliMUONVQAChecker(); |
41 | virtual ~AliMUONVQAChecker(); | |
42 | ||
ca04ed6c | 43 | /// Check the QA object(s) for the raw data |
486788fc | 44 | virtual ECheckCode * CheckRaws(TObjArray** list, const AliMUONRecoParam* recoParam) = 0; |
ca04ed6c | 45 | |
46 | /// Check the QA object(s) for the RecPoints | |
486788fc | 47 | virtual ECheckCode * CheckRecPoints(TObjArray** list, const AliMUONRecoParam* recoParam) = 0; |
ca04ed6c | 48 | |
49 | /// Check the QA object(s) for the ESD | |
486788fc | 50 | virtual ECheckCode * CheckESD(TObjArray** list, const AliMUONRecoParam* recoParam) = 0; |
ece56eb9 | 51 | |
52 | ClassDef(AliMUONVQAChecker,1) // Interface for a MUON QA checker | |
53 | }; | |
54 | ||
55 | #endif |