]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HMPID/AliHMPIDQAChecker.h
Change in comment
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDQAChecker.h
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 ; 
19 class TObjArray ; 
20
21 // --- Standard library ---
22
23 // --- AliRoot header files ---
24 #include "AliQACheckerBase.h"
25
26 class AliHMPIDQAChecker: public AliQACheckerBase {
27
28 public:
29   AliHMPIDQAChecker() ;          // ctor
30   virtual ~AliHMPIDQAChecker() ; // dtor
31   
32   virtual void Check(Double_t * test, AliQAv1::ALITASK_t index, TObjArray ** list, const AliDetectorRecoParam * recoParam) ;
33   
34   Double_t CheckEntries(TObjArray * list) const ;
35   Double_t CheckRec(TObjArray *listrec, TObjArray *listref) const ;
36   Double_t CheckSim(TObjArray *listsim, TObjArray *listref) const ;
37
38   Double_t CheckRaw(Int_t specie, TObjArray* list);
39
40   void    InitOnlineThresholds();
41   void    PrintThresholds();
42   
43   
44 private:
45   AliHMPIDQAChecker(const AliHMPIDQAChecker& qac) ; // cpy ctor   
46   AliHMPIDQAChecker& operator= (const AliHMPIDQAChecker&); // Not implemented
47   Bool_t        fNoReference ; //! flag telling if reference data hqve been found or not  
48   TObjArray *   fQARefRec ;    //! Reference data from OCDB 
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 
62
63 };
64
65 #endif // AliHMPIDQAChecker_H