Updates on the class to calculate distortions due to ROC z misalignment
[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"
5dfa9b71 17// --- ROOT system ---
f09c0b42 18class TFile;
19class TH2F;
5dfa9b71 20
21// --- AliRoot header files ---
f09c0b42 22
23class AliQACheckerBase;
24class AliITSQAChecker;
25class AliITSCalibrationSDD;
26class AliITSLoader;
27class TSystem;
28class AliQAManager;
29class AliLog;
30class TF1;
31class TCanvas;
5dfa9b71 32
33class AliITSQASDDChecker: public TObject {
34
35public:
78fb0b3d 36 AliITSQASDDChecker():
37 fSubDetOffset(0),
38 fStepBitSDD(NULL),
39 fLowSDDValue(NULL),
40 fHighSDDValue(NULL),
41 fCalibration(NULL),
78fb0b3d 42 fThresholdForRelativeOccupancy(0.01),
78fb0b3d 43 fThresholdForRecToRawRatio(0.04)
44 {;} // ctor
5dfa9b71 45 AliITSQASDDChecker& operator = (const AliITSQASDDChecker& qac) ; //operator =
78fb0b3d 46 virtual ~AliITSQASDDChecker(); // dtor
f09c0b42 47 virtual Double_t Check(AliQAv1::ALITASK_t index, const TObjArray * list, const AliDetectorRecoParam * recoParam);
80b9610c 48 virtual void SetTaskOffset(Int_t taskoffset);
f09c0b42 49 virtual void SetStepBit(const Double_t *steprange);
80b9610c 50 virtual Double_t *GetStepBit(){return fStepBitSDD;};
f09c0b42 51 virtual void SetSDDLimits(const Float_t *lowvalue, const Float_t * highvalue);
5dfa9b71 52private:
78fb0b3d 53 AliITSQASDDChecker(const AliITSQASDDChecker& qac):TObject(),
54 fSubDetOffset(qac.fSubDetOffset),
55 fStepBitSDD(qac.fStepBitSDD),
56 fLowSDDValue(qac.fLowSDDValue),
57 fHighSDDValue(qac.fHighSDDValue),
58 fCalibration(qac.fCalibration),
78fb0b3d 59 fThresholdForRelativeOccupancy(qac.fThresholdForRelativeOccupancy),
78fb0b3d 60 fThresholdForRecToRawRatio(qac.fThresholdForRecToRawRatio)
61 {;} // cpy ctor
3647765c 62 Int_t fSubDetOffset; // checking operation starting point
f09c0b42 63 Double_t *fStepBitSDD; //step size for each QAbit(kINFO, kWARNING,kERROR,kFATAL)
64 Float_t *fLowSDDValue; //low value of each QA bit range
65 Float_t *fHighSDDValue; //High value of each QA bit range
66 TObjArray *fCalibration; //TObjArray with Calibration SDD Objects
78fb0b3d 67
6bf3d857 68
69
78fb0b3d 70 Float_t fThresholdForRelativeOccupancy; // ThresholdForRelativeOccupancy (by module)
78fb0b3d 71 Float_t fThresholdForRecToRawRatio; // ThresholdForRecToRawRatio (by module)
80b9610c 72
73 static const Int_t fgknSDDmodules = 260; // number of SDD modules
74 static const Int_t fgkmodoffset = 240; // number of SPD modules
6bf3d857 75 ClassDef(AliITSQASDDChecker,4) // description
5dfa9b71 76
77};
78
79#endif // AliITSQASDDChecker_H