]>
Commit | Line | Data |
---|---|---|
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 | ||
4e25ac79 | 17 | #include "AliQAv1.h" |
7a0e5776 | 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(); | |
4e25ac79 | 30 | virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray * list); |
7a0e5776 | 31 | virtual ~AliITSQASSDDataMakerSim() {;} // dtor |
eca4fa66 | 32 | virtual Int_t InitDigits(); |
33 | virtual Int_t InitSDigits(); | |
34 | virtual Int_t InitHits(); | |
a1287af5 | 35 | virtual Int_t MakeDigits(TClonesArray * /*digits*/){return 0;} |
36 | virtual Int_t MakeSDigits(TClonesArray * /*sdigits*/){return 0;} | |
37 | virtual Int_t MakeHits (TClonesArray * /*hits*/){return 0;} | |
eca4fa66 | 38 | virtual Int_t MakeDigits(TTree * digits); |
39 | virtual Int_t MakeSDigits(TTree * sdigits); | |
40 | virtual Int_t MakeHits(TTree * hits); | |
4e25ac79 | 41 | Int_t GetOffset(AliQAv1::TASKINDEX_t task); |
eca4fa66 | 42 | void SetOffset(AliQAv1::TASKINDEX_t task, Int_t offset); |
4e25ac79 | 43 | Int_t GetTaskHisto(AliQAv1::TASKINDEX_t task); |
7a0e5776 | 44 | |
45 | private: | |
46 | ||
47 | AliITSQADataMakerSim *fAliITSQADataMakerSim; //pointer to the main ctor | |
48 | ||
49 | Int_t fSSDhHTask; //number of booked SSD histograms for the hit task; | |
50 | Int_t fSSDhSTask; //number of booked SSD histograms for the sdigits task; | |
51 | Int_t fSSDhDTask; //number of booked SSD histograms for the digit task; | |
52 | Int_t fGenOffsetH; // qachecking offset hits | |
53 | Int_t fGenOffsetS; // qachecking offset sdigits | |
54 | Int_t fGenOffsetD; // qachecking offset digits | |
55 | ||
56 | static const Int_t fgkNumberOfPSideStrips = 768; //number of P-side strips | |
57 | ||
58 | ClassDef(AliITSQASSDDataMakerSim,2) // description | |
59 | }; | |
60 | ||
61 | #endif | |
62 | ||
63 |