]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSQASSDChecker.h
Fixing compilation warnings
[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 class AliITSLoader ; 
24
25 class AliITSQASSDChecker: public TObject {
26
27 public:
28   AliITSQASSDChecker():fSubDetOffset(0),fStepBitSSD(NULL),fLowSSDValue(NULL),fHighSSDValue(NULL) {;}          // ctor
29   AliITSQASSDChecker& operator = (const AliITSQASSDChecker& qac) ; //operator =
30   virtual ~AliITSQASSDChecker() {if(fStepBitSSD) delete[] fStepBitSSD ;if(fLowSSDValue)delete[]fLowSSDValue;if(fHighSSDValue) delete[]fHighSSDValue; } // dtor
31   virtual Double_t Check(AliQAv1::ALITASK_t /*index*/, const TObjArray * list, const AliDetectorRecoParam * recoParam);
32
33   void SetStepBit(const Double_t *steprange);
34   Double_t *GetStepBit() const {return fStepBitSSD;};
35
36   void CheckRaws(TH1* histo);
37   void CheckRecPoints(TH1 * /* histo */) const {return;}
38   void SetTaskOffset(Int_t TaskOffset);
39   void SetSSDLimits(const Float_t *lowvalue, const Float_t * highvalue);
40
41
42 private:
43   
44   AliITSQASSDChecker(const AliITSQASSDChecker& qac):TObject(),fSubDetOffset(qac.fSubDetOffset),fStepBitSSD(qac.fStepBitSSD),fLowSSDValue(qac.fLowSSDValue),fHighSSDValue(qac.fHighSSDValue) {;} // cpy ctor   
45   Int_t fSubDetOffset;            // checking operation starting point
46   Double_t *fStepBitSSD;          // step size 
47   Float_t *fLowSSDValue;          // low limit
48   Float_t *fHighSSDValue;         // high limit
49   ClassDef(AliITSQASSDChecker,2)  // description 
50
51 };
52
53 #endif // AliITSQASSDChecker_H