]> 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 f470a3035b2e4826eae402c120cb45265c9a7421..8ff7e1349cb5ae5da97613ae85eeb0bd051eac2b 100644 (file)
@@ -16,6 +16,7 @@
 // --- ROOT system ---
 class TFile ; 
 class TH1F ; 
+class TObjArray ; 
 
 // --- Standard library ---
 
@@ -25,14 +26,39 @@ class TH1F ;
 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   
-  AliHMPIDQAChecker& operator = (const AliHMPIDQAChecker& qac) ;
-  virtual ~AliHMPIDQAChecker() {;} // dtor
+  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 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 
 
 };