- Reading of packed TRAP config from raw data for full half-chamber
[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
16
17// --- ROOT system ---
18class TFile ;
19class TH2F ;
20
21// --- AliRoot header files ---
4e25ac79 22#include "AliQAv1.h"
5dfa9b71 23#include "AliQACheckerBase.h"
24#include "AliITSQAChecker.h"
80b9610c 25#include "AliITSCalibrationSDD.h"
5dfa9b71 26class AliITSLoader ;
27
28class AliITSQASDDChecker: public TObject {
29
30public:
80b9610c 31 AliITSQASDDChecker():fSubDetOffset(0),fStepBitSDD(NULL),fLowSDDValue(NULL),fHighSDDValue(NULL),fCalibration(NULL) {;} // ctor
5dfa9b71 32 AliITSQASDDChecker& operator = (const AliITSQASDDChecker& qac) ; //operator =
80b9610c 33 virtual ~AliITSQASDDChecker(); /*{if(fStepBitSDD) delete[] fStepBitSDD ;if(fLowSDDValue)delete[]fLowSDDValue;if(fHighSDDValue) delete[]fHighSDDValue;if(fCalibration)delete fCalibration;} */// dtor
486788fc 34 virtual Double_t Check(AliQAv1::ALITASK_t index, TObjArray * list, const AliDetectorRecoParam * recoParam);
80b9610c 35 virtual void SetTaskOffset(Int_t taskoffset);
36 virtual void SetStepBit(Double_t *steprange);
37 virtual Double_t *GetStepBit(){return fStepBitSDD;};
38 virtual void SetSDDLimits(Float_t *lowvalue, Float_t * highvalue);
5dfa9b71 39private:
80b9610c 40 AliITSQASDDChecker(const AliITSQASDDChecker& qac):TObject(),fSubDetOffset(qac.fSubDetOffset),fStepBitSDD(qac.fStepBitSDD),fLowSDDValue(qac.fLowSDDValue),fHighSDDValue(qac.fHighSDDValue),fCalibration(qac.fCalibration) {;} // cpy ctor
3647765c 41 Int_t fSubDetOffset; // checking operation starting point
80b9610c 42 Double_t *fStepBitSDD;
43 Float_t *fLowSDDValue;
44 Float_t *fHighSDDValue;
45 TObjArray *fCalibration;
46
47 static const Int_t fgknSDDmodules = 260; // number of SDD modules
48 static const Int_t fgkmodoffset = 240; // number of SPD modules
49 ClassDef(AliITSQASDDChecker,2) // description
5dfa9b71 50
51};
52
53#endif // AliITSQASDDChecker_H