]>
Commit | Line | Data |
---|---|---|
c9dd1c4d | 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 | */ | |
ffa78f64 | 8 | #include "AliQACheckerBase.h" |
c9dd1c4d | 9 | class TFile; |
10 | class TH1F; | |
11 | class TH1I; | |
12 | ||
ffa78f64 | 13 | /** @class AliFMDQAChecker |
14 | @brief Quality assurance checker for the FMD */ | |
c9dd1c4d | 15 | class AliFMDQAChecker : public AliQACheckerBase |
16 | { | |
17 | public: | |
ffa78f64 | 18 | /** Constructor */ |
c9dd1c4d | 19 | AliFMDQAChecker() |
20 | : AliQACheckerBase("FMD","FMD Quality Assurance Checker") | |
21 | {} | |
ffa78f64 | 22 | /** Destructor */ |
c9dd1c4d | 23 | virtual ~AliFMDQAChecker() {} |
f26f970e | 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 | */ | |
1706c710 | 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 | ||
05e5e0c1 | 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 | ||
c9dd1c4d | 69 | ClassDef(AliFMDQAChecker,0) // Yves? what to do? |
70 | }; | |
71 | ||
72 | #endif // AliFMDQAChecker_H | |
73 | // Local Variables: | |
74 | // mode: c++ | |
75 | // End: |