]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HMPID/AliHMPIDQAChecker.h
pi0 Re/Mi histograms added, pi0 parameterization set to PHOS13bcdef
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDQAChecker.h
index fc438a66462516206b47a87ca9ff1de2d2fc6cf8..8ff7e1349cb5ae5da97613ae85eeb0bd051eac2b 100644 (file)
@@ -26,21 +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
-
-   
-  const Double_t Check(AliQA::ALITASK_t index, TObjArray * list) ;
-  const Double_t Check(AliQA::ALITASK_t /*index*/)  {return 0.;} ;
-  const Double_t Check(AliQA::ALITASK_t, TNtupleD *){return 0.;} ;
-
+  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 
 
 };