7a0e5776 |
1 | #ifndef AliITSQASSDDataMakerSim_H |
2 | #define AliITSQASSDDataMakerSim_H |
3 | /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ |
5 | |
6 | /* $Id$ */ |
7 | |
8 | // |
9 | // Checks the quality assurance. |
10 | // By comparing with reference data |
11 | // contained in a DB |
12 | // |
13 | // |
14 | // W. Ferrarese + P. Cerello Feb 2008 |
15 | // SSD QA part: P. Christakoglou |
16 | |
17 | #include "AliQA.h" |
18 | class AliITSQADataMakerSim; |
19 | class TObjArray; |
20 | class TClonesArray; |
21 | |
22 | class AliITSQASSDDataMakerSim : public TObject { |
23 | |
24 | public: |
25 | AliITSQASSDDataMakerSim(AliITSQADataMakerSim *aliITSQADataMakerSim); //ctor |
26 | AliITSQASSDDataMakerSim(const AliITSQASSDDataMakerSim& qadm); |
27 | AliITSQASSDDataMakerSim& operator = (const AliITSQASSDDataMakerSim& qac); |
28 | |
29 | virtual void StartOfDetectorCycle(); |
30 | virtual void EndOfDetectorCycle(AliQA::TASKINDEX_t task, TObjArray * list); |
31 | virtual ~AliITSQASSDDataMakerSim() {;} // dtor |
32 | virtual void InitDigits(); |
33 | virtual void InitSDigits(); |
34 | virtual void InitHits(); |
35 | virtual void MakeDigits(TClonesArray * /*digits*/){;} |
36 | virtual void MakeSDigits(TClonesArray * /*sdigits*/){;} |
37 | virtual void MakeHits (TClonesArray * /*hits*/){;} |
38 | virtual void MakeDigits(TTree * digits); |
39 | virtual void MakeSDigits(TTree * sdigits); |
40 | virtual void MakeHits(TTree * hits); |
41 | Int_t GetOffset(AliQA::TASKINDEX_t task); |
42 | Int_t GetTaskHisto(AliQA::TASKINDEX_t task); |
43 | |
44 | private: |
45 | |
46 | AliITSQADataMakerSim *fAliITSQADataMakerSim; //pointer to the main ctor |
47 | |
48 | Int_t fSSDhHTask; //number of booked SSD histograms for the hit task; |
49 | Int_t fSSDhSTask; //number of booked SSD histograms for the sdigits task; |
50 | Int_t fSSDhDTask; //number of booked SSD histograms for the digit task; |
51 | Int_t fGenOffsetH; // qachecking offset hits |
52 | Int_t fGenOffsetS; // qachecking offset sdigits |
53 | Int_t fGenOffsetD; // qachecking offset digits |
54 | |
55 | static const Int_t fgkNumberOfPSideStrips = 768; //number of P-side strips |
56 | |
57 | ClassDef(AliITSQASSDDataMakerSim,2) // description |
58 | }; |
59 | |
60 | #endif |
61 | |
62 | |