]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCCalibQAChecker.h
cout removed
[u/mrichter/AliRoot.git] / TPC / AliTPCCalibQAChecker.h
index 28aa91f073ce70e56bc9ffc124d4a66d91011670..bb71bf417b272b405ca6b76134de04ab9ced94de 100644 (file)
@@ -1,8 +1,14 @@
-#ifndef AliTPCCalibQAChecker_H
-#define AliTPCCalibQAChecker_H
+#ifndef ALITPCCALIBQACHECKER_H
+#define ALITPCCALIBQACHECKER_H
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
+/////////////////////////////////////////////////////////////////////////////////////////
+//                                                                                     //
+//                  QA checking class                                                  //
+//                                                                                     //
+/////////////////////////////////////////////////////////////////////////////////////////
+
 #include <TNamed.h>
 #include <TString.h>
 #include <TH1.h>
@@ -29,7 +35,7 @@ public:
   void SetTreeChecker(TTree* &tree)       {fTreePtr=&tree;}
   void SetHistChecker(TH1* &hist)         {fHistPtr=&hist;}
   void SetGraphChecker(TGraph* &graph)    {fGraphPtr=&graph;}
-  void SetNumberChecker(Double_t &number) {fNumberPtr=&number;}
+  void SetNumberChecker(Double_t & number) {fNumberPtr=&number;}
 
   const AliTPCCalibQAChecker* GetSubChecker(const char* name, Bool_t recursive=kTRUE) const;
   AliTPCCalibQAChecker* NextSubChecker();
@@ -121,14 +127,14 @@ public:
   //
   Int_t DrawInPad(TVirtualPad *pad, Int_t sub=1);
   void DrawSubNodes(Option_t *option);
-  void DrawRepresentationHist(Option_t *option);
+  void DrawRepresentationHist(const Option_t *option);
   void AddQualityLines(TH1 *hist);
   //
   AliTPCCalibQAChecker(const AliTPCCalibQAChecker &cfg);
   AliTPCCalibQAChecker& operator = (const AliTPCCalibQAChecker &cfg);
   
   QualityFlag_t GetQuality(Double_t value) const;
-  QualityFlag_t GetQuality(Int_t n, Double_t *arr) const;
+  QualityFlag_t GetQuality(Int_t n, const Double_t *arr) const;
   
   ClassDef(AliTPCCalibQAChecker,1);
 };
@@ -153,7 +159,7 @@ inline AliTPCCalibQAChecker::QualityFlag_t AliTPCCalibQAChecker::GetQuality(Doub
   return quality;
 }
 //_________________________________________________________________________
-inline AliTPCCalibQAChecker::QualityFlag_t AliTPCCalibQAChecker::GetQuality(Int_t n, Double_t *arr) const
+inline AliTPCCalibQAChecker::QualityFlag_t AliTPCCalibQAChecker::GetQuality(Int_t n, const Double_t *arr) const
 {
   //
   // check quality of an array