fix in calling of gaussian spread function
[u/mrichter/AliRoot.git] / ITS / AliITSQASDDChecker.h
CommitLineData
5dfa9b71 1#ifndef ALIITSQASDDCHECKER_H
2#define ALIITSQASDDCHECKER_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
f09c0b42 16#include "AliQAv1.h"
9b94f977 17//#include "TPad.h"
5dfa9b71 18// --- ROOT system ---
f09c0b42 19class TFile;
20class TH2F;
5dfa9b71 21
22// --- AliRoot header files ---
f09c0b42 23
24class AliQACheckerBase;
8db5c9f9 25class AliQAChecker;
f09c0b42 26class AliITSQAChecker;
27class AliITSCalibrationSDD;
28class AliITSLoader;
29class TSystem;
30class AliQAManager;
31class AliLog;
32class TF1;
33class TCanvas;
9f07b791 34class TPaveText;
8db5c9f9 35class AliQAv1;
5dfa9b71 36
8db5c9f9 37class AliITSQASDDChecker: public TObject{
5dfa9b71 38
39public:
2abfa09f 40
41 AliITSQASDDChecker(); // ctor
78fb0b3d 42 virtual ~AliITSQASDDChecker(); // dtor
f09c0b42 43 virtual Double_t Check(AliQAv1::ALITASK_t index, const TObjArray * list, const AliDetectorRecoParam * recoParam);
80b9610c 44 virtual void SetTaskOffset(Int_t taskoffset);
f09c0b42 45 virtual void SetStepBit(const Double_t *steprange);
80b9610c 46 virtual Double_t *GetStepBit(){return fStepBitSDD;};
f09c0b42 47 virtual void SetSDDLimits(const Float_t *lowvalue, const Float_t * highvalue);
25b4170b 48 void SetEventSpecieForCheck(Int_t esforcheck=0){ fESforCheck=esforcheck;}
f1b15b8d 49 Int_t GetEventSpecieForCheck() const {return fESforCheck;}
6bf3d857 50
8db5c9f9 51 virtual Bool_t MakeSDDImage( TObjArray ** list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode) ;
52 Bool_t MakeSDDRawsImage(TObjArray ** list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode );//{AliInfo("The method for raw image has been called\n");}
53 Bool_t MakeSDDRecPointsImage(TObjArray ** list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode);//{AliInfo("The method for recpoint image has been called\n");}
54
55
56 private:
57
cef66441 58 AliITSQASDDChecker(const AliITSQASDDChecker& qac);
59 AliITSQASDDChecker& operator = (const AliITSQASDDChecker& qac) ;
8db5c9f9 60 Int_t fSubDetOffset; // checking operation starting point
61 Double_t *fStepBitSDD; //step size for each QAbit(kINFO, kWARNING,kERROR,kFATAL)
62 Float_t *fLowSDDValue; //low value of each QA bit range
63 Float_t *fHighSDDValue; //High value of each QA bit range
64 TObjArray *fCalibration; //TObjArray with Calibration SDD Objects
65
66
67 Float_t fThresholdForRelativeOccupancy; // ThresholdForRelativeOccupancy (by module)
68 Float_t fThresholdForRecToRawRatio; // ThresholdForRecToRawRatio (by module)
69
70 TCanvas ** fImage ; //[AliRecoParam::kNSpecies]
9f07b791 71 TPaveText * fPaveText[AliRecoParam::kNSpecies] ; //[AliRecoParam::kNSpecies]
80b9610c 72
25b4170b 73 Int_t fESforCheck; //eventspecie of the list to check
74
8db5c9f9 75 static const Int_t fgknSDDmodules = 260; // number of SDD modules
76 static const Int_t fgkmodoffset = 240; // number of SPD modules
5dfa9b71 77
f81e865d 78 ClassDef(AliITSQASDDChecker,8) // description
8db5c9f9 79
5dfa9b71 80};
81
f81e865d 82#endif // AliITSQASDDChecker_H