]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HMPID/AliHMPIDQAChecker.h
ATO-98 bfield(omega tau) used for the diestortion calculation used as an argument...
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDQAChecker.h
index 73182e187c24d5a3baf868bc8a9b0984431f73e1..8ff7e1349cb5ae5da97613ae85eeb0bd051eac2b 100644 (file)
@@ -26,19 +26,39 @@ class TObjArray ;
 class AliHMPIDQAChecker: public AliQACheckerBase {
 
 public:
-  AliHMPIDQAChecker() : AliQACheckerBase("HMPID","HMPID Quality Assurance Data Checker") {;}          // ctor
-  AliHMPIDQAChecker(const AliHMPIDQAChecker& qac) : AliQACheckerBase(qac.GetName(), qac.GetTitle()) {;} // cpy ctor   
-  virtual ~AliHMPIDQAChecker() {;} // dtor
-
-  virtual Double_t * Check(AliQA::ALITASK_t /*index*/) ;
-  virtual Double_t * Check(AliQA::ALITASK_t index, TObjArray ** list) ;
+  AliHMPIDQAChecker() ;          // ctor
+  virtual ~AliHMPIDQAChecker() ; // dtor
+  
+  virtual void Check(Double_t * test, AliQAv1::ALITASK_t index, TObjArray ** list, const AliDetectorRecoParam * recoParam) ;
   
   Double_t CheckEntries(TObjArray * list) const ;
-  Double_t CheckRecPoints(TObjArray *listrec, TObjArray *listref) const ;
+  Double_t CheckRec(TObjArray *listrec, TObjArray *listref) const ;
+  Double_t CheckSim(TObjArray *listsim, TObjArray *listref) const ;
+
+  Double_t CheckRaw(Int_t specie, TObjArray* list);
 
+  void    InitOnlineThresholds();
+  void    PrintThresholds();
+  
+  
 private:
+  AliHMPIDQAChecker(const AliHMPIDQAChecker& qac) ; // cpy ctor   
+  AliHMPIDQAChecker& operator= (const AliHMPIDQAChecker&); // Not implemented
+  Bool_t        fNoReference ; //! flag telling if reference data hqve been found or not  
+  TObjArray *   fQARefRec ;    //! Reference data from OCDB 
+  
+  Int_t         fHmpQaThr_NumberOfExcludedDDL;                //
+  Int_t         fHmpQaThr_DataSizeLowerThreshold;             //
+  Int_t         fHmpQaThr_DataSizeUpperThreshold;             //
+  Float_t       fHmpQaThr_PadOccupancyLowerThreshold;         //
+  Float_t       fHmpQaThr_PadOccupancyUpperThreshold;         //
+  Int_t         fHmpQaThr_SectorGainLossWarningThreshold;     //
+  Int_t         fHmpQaThr_SectorGainLossErrorThreshold;       //
+  Float_t       fHmpQaThr_MissingPadFractionWarningThreshold; //
+  Float_t       fHmpQaThr_MissingPadFractionErrorThreshold;   //
+  Bool_t        fIsOnlineThr;                                 // 
   
-  ClassDef(AliHMPIDQAChecker,1)  // description 
+  ClassDef(AliHMPIDQAChecker,2)  // description 
 
 };