]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMDQAChecker.h
Fix a but - initialise fBad array
[u/mrichter/AliRoot.git] / FMD / AliFMDQAChecker.h
1 #ifndef ALIFMDQACHECKER_H
2 #define ALIFMDQACHECKER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
4  * reserved. 
5  *
6  * See cxx source for full Copyright notice                               
7  */
8 #include "AliQACheckerBase.h"
9 class TFile; 
10 class TH1F; 
11 class TH1I; 
12
13 /** @class AliFMDQAChecker 
14     @brief Quality assurance checker for the FMD */
15 class AliFMDQAChecker : public AliQACheckerBase 
16 {
17 public:
18   /** Constructor */
19   AliFMDQAChecker() 
20     : AliQACheckerBase("FMD","FMD Quality Assurance Checker") 
21   {}          
22   /** Destructor */
23   virtual ~AliFMDQAChecker() {}
24   /** 
25    * Member function called to do the actual checking
26    * 
27    * @param rv   Array of return values. 
28    * @param what What to check 
29    * @param list Array of arrays of histograms.  There's one arrat for
30    *             each 'specie'
31    * @param t    Reconstruction parameters - not used. 
32    */
33   void Check(Double_t* rv, AliQAv1::ALITASK_t what, 
34              TObjArray** list, const AliDetectorRecoParam* t);
35   /** 
36    * Make output images.  This is overridden relative to the base
37    * class so that we can set the log(y) scale and put everything on
38    * the same axis. 
39    * 
40    * @param list  List of specie array of histograms 
41    * @param task  What to show 
42    * @param mode  Mode 
43    */
44   void  MakeImage(TObjArray** list, 
45                   AliQAv1::TASKINDEX_t task, 
46                   AliQAv1::MODE_t mode);
47
48 protected:
49   /** 
50    * Check one histogram 
51    * 
52    * @param specie 
53    * @param hist 
54    * 
55    * @return 
56    */
57   Double_t CheckOne(AliQAv1::ALITASK_t          what,
58                     AliRecoParam::EventSpecie_t specie, 
59                     TH1*                        hist) const;
60   Double_t CheckRaw(AliRecoParam::EventSpecie_t specie, 
61                     TH1*                        hist) const;
62   Double_t CheckSim(AliRecoParam::EventSpecie_t specie, 
63                     TH1*                        hist) const;
64   Double_t CheckESD(AliRecoParam::EventSpecie_t specie, 
65                     TH1*                        hist) const;
66   Double_t CheckRec(AliRecoParam::EventSpecie_t specie, 
67                     TH1*                        hist) const;
68
69   ClassDef(AliFMDQAChecker,0)  // Yves? what to do? 
70 };
71
72 #endif // AliFMDQAChecker_H
73 // Local Variables:
74 //  mode: c++
75 // End: