]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDQAChecker.h
Export some headers for AMORE
[u/mrichter/AliRoot.git] / FMD / AliFMDQAChecker.h
index f130bfd86c8cee17bfa091b47c049788339681ca..a5c32bd4aa86d0224b2038ce9b83005001a7e0ce 100644 (file)
@@ -21,8 +21,51 @@ public:
   {}          
   /** Destructor */
   virtual ~AliFMDQAChecker() {}
-  Double_t * Check(AliQAv1::ALITASK_t what, TObjArray ** list);
-private:
+  /** 
+   * Member function called to do the actual checking
+   * 
+   * @param rv   Array of return values. 
+   * @param what What to check 
+   * @param list Array of arrays of histograms.  There's one arrat for
+   *             each 'specie'
+   * @param t    Reconstruction parameters - not used. 
+   */
+  void Check(Double_t* rv, AliQAv1::ALITASK_t what, 
+            TObjArray** list, const AliDetectorRecoParam* t);
+  /** 
+   * Make output images.  This is overridden relative to the base
+   * class so that we can set the log(y) scale and put everything on
+   * the same axis. 
+   * 
+   * @param list  List of specie array of histograms 
+   * @param task  What to show 
+   * @param mode  Mode 
+   */
+  void  MakeImage(TObjArray** list, 
+                 AliQAv1::TASKINDEX_t task, 
+                 AliQAv1::MODE_t mode);
+
+protected:
+  /** 
+   * Check one histogram 
+   * 
+   * @param specie 
+   * @param hist 
+   * 
+   * @return 
+   */
+  Double_t CheckOne(AliQAv1::ALITASK_t          what,
+                   AliRecoParam::EventSpecie_t specie, 
+                   TH1*                        hist) const;
+  Double_t CheckRaw(AliRecoParam::EventSpecie_t specie, 
+                   TH1*                        hist) const;
+  Double_t CheckSim(AliRecoParam::EventSpecie_t specie, 
+                   TH1*                        hist) const;
+  Double_t CheckESD(AliRecoParam::EventSpecie_t specie, 
+                   TH1*                        hist) const;
+  Double_t CheckRec(AliRecoParam::EventSpecie_t specie, 
+                   TH1*                        hist) const;
+
   ClassDef(AliFMDQAChecker,0)  // Yves? what to do? 
 };