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 */
9 // Checks the quality assurance.
10 // By comparing with reference data
14 // W. Ferrarese + P. Cerello Feb 2008
15 // SSD QA part: P. Christakoglou
18 class AliITSQADataMakerSim;
22 class AliITSQASSDDataMakerSim : public TObject {
25 AliITSQASSDDataMakerSim(AliITSQADataMakerSim *aliITSQADataMakerSim); //ctor
26 AliITSQASSDDataMakerSim(const AliITSQASSDDataMakerSim& qadm);
27 AliITSQASSDDataMakerSim& operator = (const AliITSQASSDDataMakerSim& qac);
29 virtual void StartOfDetectorCycle();
30 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray ** list);
31 virtual ~AliITSQASSDDataMakerSim() {;} // dtor
32 virtual Int_t InitDigits();
33 virtual Int_t InitSDigits();
34 virtual Int_t InitHits();
35 virtual Int_t MakeDigits(){return 0;}
36 virtual Int_t MakeSDigits(){return 0;}
37 virtual Int_t MakeHits (){return 0;}
38 virtual Int_t MakeDigits(TTree * digits);
39 virtual Int_t MakeSDigits(TTree * sdigits);
40 virtual Int_t MakeHits(TTree * hits);
41 Int_t GetOffset(AliQAv1::TASKINDEX_t task,Int_t specie=0);
42 void SetOffset(AliQAv1::TASKINDEX_t task, Int_t offset,Int_t specie = 0);
43 Int_t GetTaskHisto(AliQAv1::TASKINDEX_t task);
47 AliITSQADataMakerSim *fAliITSQADataMakerSim; //pointer to the main ctor
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
56 static const Int_t fgkNumberOfPSideStrips = 768; //number of P-side strips
58 ClassDef(AliITSQASSDDataMakerSim,3) // description