]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSQASPDDataMakerSim.h
7687909f835a8a3a69bc6d9b713eb912a40d0444
[u/mrichter/AliRoot.git] / ITS / AliITSQASPDDataMakerSim.h
1 #ifndef AliITSQASPDDataMakerSim_H
2 #define AliITSQASPDDataMakerSim_H
3 /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6
7 //
8 //  Checks the quality assurance. 
9 //  By comparing with reference data
10 //  contained in a DB
11 //
12 //
13 //  W. Ferrarese + P. Cerello Feb 2008
14 //
15
16
17 /* $Id$ */
18
19 #include "AliQA.h"
20 class AliITSQADataMakerSim;
21 class TObjArray;
22 class TClonesArray;
23
24 class AliITSQASPDDataMakerSim : public TObject {
25
26 public:
27   AliITSQASPDDataMakerSim(AliITSQADataMakerSim *aliITSQADataMakerSim); //ctor
28   AliITSQASPDDataMakerSim(const AliITSQASPDDataMakerSim& qadm);
29   AliITSQASPDDataMakerSim& operator = (const AliITSQASPDDataMakerSim& qac);
30
31   virtual void StartOfDetectorCycle();
32   virtual void EndOfDetectorCycle(AliQA::TASKINDEX_t task, TObjArray * list);
33   virtual ~AliITSQASPDDataMakerSim() {;}   // dtor
34   virtual void InitDigits();
35   virtual void InitSDigits();
36   virtual void InitHits();
37   virtual void MakeDigits(TClonesArray * /*digits*/){;}
38   virtual void MakeSDigits(TClonesArray * /*sdigits*/){;}
39   virtual void MakeHits(TClonesArray * /*hits*/){;}
40   virtual void MakeDigits(TTree * digits);
41   virtual void MakeSDigits(TTree * sdigits);
42   virtual void MakeHits(TTree * hits);
43   Int_t GetOffset(AliQA::TASKINDEX_t task);
44   Int_t GetTaskHisto(AliQA::TASKINDEX_t task);
45   //Int_t GetOffsetH() { return fGenOffsetH; }
46   //Int_t GetOffsetS() { return fGenOffsetS; }
47   //Int_t GetOffsetD() { return fGenOffsetD; }
48   //Int_t GetTaskHisto() { return fSPDhTask; }
49
50 private:
51
52   AliITSQADataMakerSim *fAliITSQADataMakerSim;//pointer to the main ctor
53   //  Int_t   fSPDhTask;                        //number of booked SPD histograms for each task;
54   Int_t   fSPDhHTask;                          // number of booked SPD histograms for each task;
55   Int_t   fSPDhSTask;                          // number of booked SPD histograms for each task;
56   Int_t   fSPDhDTask;                          // number of booked SPD histograms for each task;
57   Int_t   fGenOffsetH;                         // qachecking offset       
58   Int_t   fGenOffsetS;                         // qachecking offset       
59   Int_t   fGenOffsetD;                         // qachecking offset       
60   ClassDef(AliITSQASPDDataMakerSim,3)      // description 
61
62 };
63
64 #endif
65