]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - VZERO/AliVZEROQAChecker.h
fix finding of pad neighbours; remove methods to write them in OCDB
[u/mrichter/AliRoot.git] / VZERO / AliVZEROQAChecker.h
index 7a4c298070034c64770f752f09ccc8f95fae3985..92dafdc85a895cfe23cef59cc02080196fc5e18a 100644 (file)
@@ -5,11 +5,11 @@
 
 
 /*
-  Checks the quality assurance. 
-  By comparing with reference data
+  Checks the quality of the data
+  by comparing with reference data
+  which should be loaded from QA ref DB
 */
 
-
 // --- ROOT system ---
 class TFile ; 
 class TH1F ; 
@@ -26,20 +26,29 @@ class AliVZEROLoader ;
 class AliVZEROQAChecker: public AliQACheckerBase {
 
 public:
-  AliVZEROQAChecker() : AliQACheckerBase("VZERO","VZERO Quality Assurance Data Checker") {;}          // ctor
-  AliVZEROQAChecker(const AliVZEROQAChecker& qac) : AliQACheckerBase(qac.GetName(), qac.GetTitle()) {;} // cpy ctor   
+  AliVZEROQAChecker();
   virtual ~AliVZEROQAChecker() {;} // destructor
   
-  virtual void   Init(const AliQAv1::DETECTORINDEX_t det) ; 
+  virtual void   Init(const AliQAv1::DETECTORINDEX_t det);
+
+  void SetLowEventCut(Int_t nEvents) {fLowEventCut = nEvents;}
+  void SetORvsANDCut(Double_t cut) {fORvsANDCut = cut;}
+  void SetBGvsBBCut(Double_t cut) {fBGvsBBCut = cut;}
 
 protected:  
   virtual void Check( Double_t * test, AliQAv1::ALITASK_t index, TObjArray ** list, const AliDetectorRecoParam * recoParam);
-  Double_t CheckEntries(TObjArray * list) const ;
+  Double_t CheckRaws(TObjArray * list) const ;
   Double_t CheckEsds(TObjArray * list) const;
   
   virtual void SetQA(AliQAv1::ALITASK_t index, Double_t * value) const ;
   
 private:
+  AliVZEROQAChecker(const AliVZEROQAChecker& qac); // cpy ctor   
+  AliVZEROQAChecker &operator=(const AliVZEROQAChecker& qac); // assignment operator
+
+  Int_t    fLowEventCut; // Minimum number of events required by the QA checker
+  Double_t fORvsANDCut; // VZERO OR vs VZERO AND counters cut
+  Double_t fBGvsBBCut; // VZERO beam-gas vs beam-beam counters cut
   
   ClassDef(AliVZEROQAChecker,1)  // description