]>
Commit | Line | Data |
---|---|---|
b990acb3 | 1 | #ifndef ALIHMPIDQACHECKER_H |
2 | #define ALIHMPIDQACHECKER_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | // | |
10 | // Checks the quality assurance. | |
11 | // By comparing with reference data | |
12 | // Skeleton for HMPID | |
13 | // | |
14 | ||
15 | ||
16 | // --- ROOT system --- | |
17 | class TFile ; | |
18 | class TH1F ; | |
fdd7f404 | 19 | class TObjArray ; |
b990acb3 | 20 | |
21 | // --- Standard library --- | |
22 | ||
23 | // --- AliRoot header files --- | |
24 | #include "AliQACheckerBase.h" | |
25 | ||
26 | class AliHMPIDQAChecker: public AliQACheckerBase { | |
27 | ||
28 | public: | |
86017bd8 | 29 | AliHMPIDQAChecker() ; // ctor |
34fbdb5b | 30 | virtual ~AliHMPIDQAChecker() ; // dtor |
31 | ||
86017bd8 | 32 | virtual void Check(Double_t * test, AliQAv1::ALITASK_t index, TObjArray ** list, const AliDetectorRecoParam * recoParam) ; |
632b3830 | 33 | |
fdd7f404 | 34 | Double_t CheckEntries(TObjArray * list) const ; |
2ac899f2 | 35 | Double_t CheckRec(TObjArray *listrec, TObjArray *listref) const ; |
36 | Double_t CheckSim(TObjArray *listsim, TObjArray *listref) const ; | |
fdd7f404 | 37 | |
74db01e8 | 38 | Double_t CheckRaw(Int_t specie, TObjArray* list); |
39 | ||
40 | void InitOnlineThresholds(); | |
41 | void PrintThresholds(); | |
42 | ||
43 | ||
b990acb3 | 44 | private: |
b94da054 | 45 | AliHMPIDQAChecker(const AliHMPIDQAChecker& qac) ; // cpy ctor |
96e065b3 | 46 | AliHMPIDQAChecker& operator= (const AliHMPIDQAChecker&); // Not implemented |
34fbdb5b | 47 | Bool_t fNoReference ; //! flag telling if reference data hqve been found or not |
48 | TObjArray * fQARefRec ; //! Reference data from OCDB | |
74db01e8 | 49 | |
50 | Int_t fHmpQaThr_NumberOfExcludedDDL; // | |
51 | Int_t fHmpQaThr_DataSizeLowerThreshold; // | |
52 | Int_t fHmpQaThr_DataSizeUpperThreshold; // | |
53 | Float_t fHmpQaThr_PadOccupancyLowerThreshold; // | |
54 | Float_t fHmpQaThr_PadOccupancyUpperThreshold; // | |
55 | Int_t fHmpQaThr_SectorGainLossWarningThreshold; // | |
56 | Int_t fHmpQaThr_SectorGainLossErrorThreshold; // | |
57 | Float_t fHmpQaThr_MissingPadFractionWarningThreshold; // | |
58 | Float_t fHmpQaThr_MissingPadFractionErrorThreshold; // | |
59 | Bool_t fIsOnlineThr; // | |
60 | ||
61 | ClassDef(AliHMPIDQAChecker,2) // description | |
b990acb3 | 62 | |
63 | }; | |
64 | ||
65 | #endif // AliHMPIDQAChecker_H |