Fixing coding convention
[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;
8db5c9f9 34class AliQAv1;
5dfa9b71 35
8db5c9f9 36class AliITSQASDDChecker: public TObject{
5dfa9b71 37
38public:
78fb0b3d 39 AliITSQASDDChecker():
8db5c9f9 40 fSubDetOffset(0),
78fb0b3d 41 fStepBitSDD(NULL),
42 fLowSDDValue(NULL),
43 fHighSDDValue(NULL),
44 fCalibration(NULL),
78fb0b3d 45 fThresholdForRelativeOccupancy(0.01),
8db5c9f9 46 fThresholdForRecToRawRatio(0.04),
47 fImage(NULL)
78fb0b3d 48 {;} // ctor
5dfa9b71 49 AliITSQASDDChecker& operator = (const AliITSQASDDChecker& qac) ; //operator =
78fb0b3d 50 virtual ~AliITSQASDDChecker(); // dtor
f09c0b42 51 virtual Double_t Check(AliQAv1::ALITASK_t index, const TObjArray * list, const AliDetectorRecoParam * recoParam);
80b9610c 52 virtual void SetTaskOffset(Int_t taskoffset);
f09c0b42 53 virtual void SetStepBit(const Double_t *steprange);
80b9610c 54 virtual Double_t *GetStepBit(){return fStepBitSDD;};
f09c0b42 55 virtual void SetSDDLimits(const Float_t *lowvalue, const Float_t * highvalue);
6bf3d857 56
8db5c9f9 57 virtual Bool_t MakeSDDImage( TObjArray ** list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode) ;
58 Bool_t MakeSDDRawsImage(TObjArray ** list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode );//{AliInfo("The method for raw image has been called\n");}
59 Bool_t MakeSDDRecPointsImage(TObjArray ** list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode);//{AliInfo("The method for recpoint image has been called\n");}
60
61
62 private:
63
64 AliITSQASDDChecker(const AliITSQASDDChecker& qac):TObject(),
65 fSubDetOffset(qac.fSubDetOffset),
66 fStepBitSDD(qac.fStepBitSDD),
67 fLowSDDValue(qac.fLowSDDValue),
68 fHighSDDValue(qac.fHighSDDValue),
69 fCalibration(qac.fCalibration),
70 fThresholdForRelativeOccupancy(qac.fThresholdForRelativeOccupancy),
71 fThresholdForRecToRawRatio(qac.fThresholdForRecToRawRatio),
72 fImage(qac.fImage)
73 {;} // cpy ctor
6bf3d857 74
8db5c9f9 75 Int_t fSubDetOffset; // checking operation starting point
76 Double_t *fStepBitSDD; //step size for each QAbit(kINFO, kWARNING,kERROR,kFATAL)
77 Float_t *fLowSDDValue; //low value of each QA bit range
78 Float_t *fHighSDDValue; //High value of each QA bit range
79 TObjArray *fCalibration; //TObjArray with Calibration SDD Objects
80
81
82 Float_t fThresholdForRelativeOccupancy; // ThresholdForRelativeOccupancy (by module)
83 Float_t fThresholdForRecToRawRatio; // ThresholdForRecToRawRatio (by module)
84
85 TCanvas ** fImage ; //[AliRecoParam::kNSpecies]
80b9610c 86
8db5c9f9 87 static const Int_t fgknSDDmodules = 260; // number of SDD modules
88 static const Int_t fgkmodoffset = 240; // number of SPD modules
5dfa9b71 89
8db5c9f9 90 ClassDef(AliITSQASDDChecker,5) // description
91
5dfa9b71 92};
93
94#endif // AliITSQASDDChecker_H