-#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>
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();
//
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);
};
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