]>
Commit | Line | Data |
---|---|---|
096292ae | 1 | #ifndef AliITSQASPDDataMakerRec_H |
2 | #define AliITSQASPDDataMakerRec_H | |
3 | /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | // | |
7 | // Checks the quality assurance. | |
8 | // By comparing with reference data | |
9 | // contained in a DB | |
10 | // | |
11 | // | |
12 | // W. Ferrarese + P. Cerello Feb 2008 | |
13 | // M. Nicassio D. Elia INFN Bari March 2008 | |
14 | // maria.nicassio@ba.infn.it | |
15 | ||
3647765c | 16 | /* $Id$ */ |
096292ae | 17 | |
18 | class TObjArray; | |
19 | class AliRawReader; | |
379510c2 | 20 | class AliITSRawStreamSPDErrorLog; |
096292ae | 21 | class AliITSQADataMakerRec; |
22 | class AliQA; | |
23 | ||
24 | class AliITSQASPDDataMakerRec : public TObject { | |
25 | ||
26 | public: | |
379510c2 | 27 | AliITSQASPDDataMakerRec(AliITSQADataMakerRec *aliITSQADataMakerRec, Bool_t kMode = kFALSE, Short_t ldc = 0, |
28 | AliITSRawStreamSPDErrorLog *aliITSRawStreamSPDErrorLog = NULL); //ctor | |
096292ae | 29 | AliITSQASPDDataMakerRec(const AliITSQASPDDataMakerRec& qadm); |
30 | AliITSQASPDDataMakerRec& operator = (const AliITSQASPDDataMakerRec& qac); | |
31 | virtual void InitRaws(); | |
32 | virtual void InitRecPoints(); | |
33 | virtual void MakeRaws(AliRawReader *rawReader); | |
34 | virtual void MakeRecPoints(TTree *clustersTree); | |
35 | virtual void StartOfDetectorCycle(); | |
36 | virtual void EndOfDetectorCycle(AliQA::TASKINDEX_t task, TObjArray * list); | |
37 | virtual ~AliITSQASPDDataMakerRec(); // dtor | |
c71529b0 | 38 | Int_t GetOffset() { return fGenOffset; } |
3647765c | 39 | Int_t GetTaskHisto() { return fSPDhTask; } |
096292ae | 40 | |
41 | private: | |
42 | ||
43 | static const Int_t fgknSPDmodules = 240; //number of SPD modules | |
44 | static const Int_t fgkLADDonLay1 = 80; //number of modules on layer 1 | |
45 | static const Int_t fgkLADDonLay2 = 160; //number of modules on layer 2 | |
46 | ||
096292ae | 47 | AliITSQADataMakerRec *fAliITSQADataMakerRec;//pointer to the main ctor |
48 | Bool_t fkOnline; //online (1) or offline (0) use | |
49 | Int_t fLDC; //LDC number (0 for offline, 1 to 4 for online) | |
3647765c | 50 | Int_t fSPDhTask; //number of booked SPD histograms for each task; |
51 | Int_t fGenOffset; // qachecking offset | |
c71529b0 | 52 | |
379510c2 | 53 | AliITSRawStreamSPDErrorLog *fAdvLogger; // pointer to special error logger object |
096292ae | 54 | |
55 | ClassDef(AliITSQASPDDataMakerRec,2) // description | |
56 | ||
57 | }; | |
58 | ||
59 | #endif |