Moving required CMake version from 2.8.4 to 2.8.8
[u/mrichter/AliRoot.git] / ITS / AliITSQASSDChecker.h
CommitLineData
5dfa9b71 1#ifndef ALIITSQASSDCHECKER_H
2#define ALIITSQASSDCHECKER_H
3/* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7/* $Id$ */
8
9//
10// Checks the quality assurance.
11// By comparing with reference data
12// INFN Torino
13// P. Cerello - apr 2008
14//
15
16
17// --- ROOT system ---
18class TFile ;
19class TH2F ;
eded565d 20class TCanvas;
5dfa9b71 21
22// --- AliRoot header files ---
4e25ac79 23#include "AliQAv1.h"
8db5c9f9 24#include "AliQAChecker.h"
25#include "AliQACheckerBase.h"
26
27
5dfa9b71 28class AliITSLoader ;
29
30class AliITSQASSDChecker: public TObject {
31
32public:
eded565d 33 AliITSQASSDChecker():fSubDetOffset(0),fStepBitSSD(NULL),fLowSSDValue(NULL),fHighSSDValue(NULL), fImage(NULL) {;} // ctor
5dfa9b71 34 AliITSQASSDChecker& operator = (const AliITSQASSDChecker& qac) ; //operator =
80b9610c 35 virtual ~AliITSQASSDChecker() {if(fStepBitSSD) delete[] fStepBitSSD ;if(fLowSSDValue)delete[]fLowSSDValue;if(fHighSSDValue) delete[]fHighSSDValue; } // dtor
180e540f 36 virtual Double_t Check(AliQAv1::ALITASK_t /*index*/, const TObjArray * list, const AliDetectorRecoParam * recoParam);
1b724264 37
180e540f 38 void SetStepBit(const Double_t *steprange);
39 Double_t *GetStepBit() const {return fStepBitSSD;};
80b9610c 40
180e540f 41 void CheckRaws(TH1* histo);
42 void CheckRecPoints(TH1 * /* histo */) const {return;}
3647765c 43 void SetTaskOffset(Int_t TaskOffset);
180e540f 44 void SetSSDLimits(const Float_t *lowvalue, const Float_t * highvalue);
3647765c 45
eded565d 46 virtual Bool_t MakeSSDImage( TObjArray ** list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode) ;
47 //virtual Bool_t MakeSSDImage( TObjArray ** list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode)
48 //{ AliInfo(Form("Use default MakeImage method for the %s for task %s mode %s \n",list[0]->ClassName(), AliQAv1::GetTaskName(task).Data(), AliQAv1::GetModeName(mode))); return kFALSE;}
49 Bool_t MakeSSDRawsImage(TObjArray ** list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode );//{AliInfo("The method for raw image has been called\n");}
8db5c9f9 50
51
5dfa9b71 52
53private:
54
eded565d 55 AliITSQASSDChecker(const AliITSQASSDChecker& qac):TObject(),fSubDetOffset(qac.fSubDetOffset),fStepBitSSD(qac.fStepBitSSD),fLowSSDValue(qac.fLowSSDValue),fHighSSDValue(qac.fHighSSDValue), fImage(qac.fImage) {;} // cpy ctor
3647765c 56 Int_t fSubDetOffset; // checking operation starting point
180e540f 57 Double_t *fStepBitSSD; // step size
58 Float_t *fLowSSDValue; // low limit
59 Float_t *fHighSSDValue; // high limit
eded565d 60
61 TCanvas ** fImage ; //[AliRecoParam::kNSpecies]
62
63 ClassDef(AliITSQASSDChecker,3) // description
5dfa9b71 64
65};
66
67#endif // AliITSQASSDChecker_H