]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSQASPDDataMakerSim.h
updated
[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   const Int_t Digits() { return fSPDhDigits; }
44   const Int_t SDigits() { return fSPDhSDigits; }
45   const Int_t Hits() { return fSPDhHits; }
46
47 private:
48
49   AliITSQADataMakerSim *fAliITSQADataMakerSim;//pointer to the main ctor
50   Int_t   fSPDhDigits;                        //number of booked SPD Digits histograms;
51   Int_t   fSPDhSDigits;                       //number of booked SPD SDigits histograms;
52   Int_t   fSPDhHits;                          //number of booked SPD Hits histograms;
53   Int_t   fDigitsOffset;                      // number of histo booked when SPD start
54   Int_t   fSDigitsOffset;                     // number of histo booked when SPD start
55   Int_t   fHitsOffset;                        // number of histo booked when SPD start
56   ClassDef(AliITSQASPDDataMakerSim,1)      // description 
57
58 };
59
60 #endif
61