]>
Commit | Line | Data |
---|---|---|
5dfa9b71 | 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 --- | |
4e25ac79 | 22 | #include "AliQAv1.h" |
8db5c9f9 | 23 | #include "AliQAChecker.h" |
24 | #include "AliQACheckerBase.h" | |
25 | ||
26 | ||
5dfa9b71 | 27 | class AliITSLoader ; |
28 | ||
29 | class AliITSQASSDChecker: public TObject { | |
30 | ||
31 | public: | |
80b9610c | 32 | AliITSQASSDChecker():fSubDetOffset(0),fStepBitSSD(NULL),fLowSSDValue(NULL),fHighSSDValue(NULL) {;} // ctor |
5dfa9b71 | 33 | AliITSQASSDChecker& operator = (const AliITSQASSDChecker& qac) ; //operator = |
80b9610c | 34 | virtual ~AliITSQASSDChecker() {if(fStepBitSSD) delete[] fStepBitSSD ;if(fLowSSDValue)delete[]fLowSSDValue;if(fHighSSDValue) delete[]fHighSSDValue; } // dtor |
180e540f | 35 | virtual Double_t Check(AliQAv1::ALITASK_t /*index*/, const TObjArray * list, const AliDetectorRecoParam * recoParam); |
1b724264 | 36 | |
180e540f | 37 | void SetStepBit(const Double_t *steprange); |
38 | Double_t *GetStepBit() const {return fStepBitSSD;}; | |
80b9610c | 39 | |
180e540f | 40 | void CheckRaws(TH1* histo); |
41 | void CheckRecPoints(TH1 * /* histo */) const {return;} | |
3647765c | 42 | void SetTaskOffset(Int_t TaskOffset); |
180e540f | 43 | void SetSSDLimits(const Float_t *lowvalue, const Float_t * highvalue); |
3647765c | 44 | |
8db5c9f9 | 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 | ||
5dfa9b71 | 49 | |
50 | private: | |
51 | ||
80b9610c | 52 | AliITSQASSDChecker(const AliITSQASSDChecker& qac):TObject(),fSubDetOffset(qac.fSubDetOffset),fStepBitSSD(qac.fStepBitSSD),fLowSSDValue(qac.fLowSSDValue),fHighSSDValue(qac.fHighSSDValue) {;} // cpy ctor |
3647765c | 53 | Int_t fSubDetOffset; // checking operation starting point |
180e540f | 54 | Double_t *fStepBitSSD; // step size |
55 | Float_t *fLowSSDValue; // low limit | |
56 | Float_t *fHighSSDValue; // high limit | |
80b9610c | 57 | ClassDef(AliITSQASSDChecker,2) // description |
5dfa9b71 | 58 | |
59 | }; | |
60 | ||
61 | #endif // AliITSQASSDChecker_H |