]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSQASSDDataMakerSim.h
New class for dE/dx analysis (comparison with Bethe-Bloch, check of response function...
[u/mrichter/AliRoot.git] / ITS / AliITSQASSDDataMakerSim.h
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 "AliQAv1.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(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(TClonesArray * /*digits*/){;}
36   virtual Int_t MakeSDigits(TClonesArray * /*sdigits*/){;}
37   virtual Int_t MakeHits (TClonesArray * /*hits*/){;}
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);
42   void  SetOffset(AliQAv1::TASKINDEX_t task, Int_t offset);
43   Int_t GetTaskHisto(AliQAv1::TASKINDEX_t task);
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