]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSQASSDChecker.h
Set of fixes for the DA + updated documentation (Johny)
[u/mrichter/AliRoot.git] / ITS / AliITSQASSDChecker.h
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 ---
18 class TFile ; 
19 class TH2F ;  
20
21 // --- AliRoot header files ---
22 #include "AliQAv1.h"
23 #include "AliQAChecker.h"
24 #include "AliQACheckerBase.h"
25
26
27 class AliITSLoader ; 
28
29 class AliITSQASSDChecker: public TObject {
30
31 public:
32   AliITSQASSDChecker():fSubDetOffset(0),fStepBitSSD(NULL),fLowSSDValue(NULL),fHighSSDValue(NULL) {;}          // ctor
33   AliITSQASSDChecker& operator = (const AliITSQASSDChecker& qac) ; //operator =
34   virtual ~AliITSQASSDChecker() {if(fStepBitSSD) delete[] fStepBitSSD ;if(fLowSSDValue)delete[]fLowSSDValue;if(fHighSSDValue) delete[]fHighSSDValue; } // dtor
35   virtual Double_t Check(AliQAv1::ALITASK_t /*index*/, const TObjArray * list, const AliDetectorRecoParam * recoParam);
36
37   void SetStepBit(const Double_t *steprange);
38   Double_t *GetStepBit() const {return fStepBitSSD;};
39
40   void CheckRaws(TH1* histo);
41   void CheckRecPoints(TH1 * /* histo */) const {return;}
42   void SetTaskOffset(Int_t TaskOffset);
43   void SetSSDLimits(const Float_t *lowvalue, const Float_t * highvalue);
44
45   virtual  Bool_t   MakeSSDImage( TObjArray ** list, AliQAv1::TASKINDEX_t task, AliQAv1::MODE_t mode) 
46   { 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;} 
47
48
49
50 private:
51   
52   AliITSQASSDChecker(const AliITSQASSDChecker& qac):TObject(),fSubDetOffset(qac.fSubDetOffset),fStepBitSSD(qac.fStepBitSSD),fLowSSDValue(qac.fLowSSDValue),fHighSSDValue(qac.fHighSSDValue) {;} // cpy ctor   
53   Int_t fSubDetOffset;            // checking operation starting point
54   Double_t *fStepBitSSD;          // step size 
55   Float_t *fLowSSDValue;          // low limit
56   Float_t *fHighSSDValue;         // high limit
57   ClassDef(AliITSQASSDChecker,2)  // description 
58
59 };
60
61 #endif // AliITSQASSDChecker_H