]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSQASPDDataMakerRec.h
SPD RecPoints QA (M. Nicassio)
[u/mrichter/AliRoot.git] / ITS / AliITSQASPDDataMakerRec.h
1 #ifndef AliITSQASPDDataMakerRec_H
2 #define AliITSQASPDDataMakerRec_H
3 /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 //
7 //  Checks the quality assurance. 
8 //  By comparing with reference data
9 //  contained in a DB
10 //
11 //
12 //  W. Ferrarese + P. Cerello Feb 2008
13 //  M. Nicassio D. Elia INFN Bari March 2008
14 //  maria.nicassio@ba.infn.it
15
16 /* $Id:$  */
17
18 class TObjArray;
19 class AliRawReader;
20 class AliITSQADataMakerRec;
21 class AliQA;
22
23 class AliITSQASPDDataMakerRec : public TObject {
24
25 public:
26   AliITSQASPDDataMakerRec(AliITSQADataMakerRec *aliITSQADataMakerRec, Bool_t kMode = kFALSE, Short_t ldc = 0); //ctor
27   AliITSQASPDDataMakerRec(const AliITSQASPDDataMakerRec& qadm);
28   AliITSQASPDDataMakerRec& operator = (const AliITSQASPDDataMakerRec& qac);
29   virtual void InitRaws();
30   virtual void InitRecPoints();
31   virtual void MakeRaws(AliRawReader *rawReader);
32   virtual void MakeRecPoints(TTree *clustersTree);
33   virtual void StartOfDetectorCycle();
34   virtual void EndOfDetectorCycle(AliQA::TASKINDEX_t task, TObjArray * list);
35   virtual ~AliITSQASPDDataMakerRec();   // dtor
36   Int_t Raws() const { return fSPDhRaws; }
37   Int_t Recs() const { return fSPDhRecs; }
38
39 private: 
40
41   static const Int_t fgknSPDmodules = 240;   //number of SPD modules
42   static const Int_t fgkLADDonLay1 = 80;     //number of modules on layer 1
43   static const Int_t fgkLADDonLay2 = 160;    //number of modules on layer 2
44
45
46   AliITSQADataMakerRec *fAliITSQADataMakerRec;//pointer to the main ctor
47   Bool_t  fkOnline;                           //online (1) or offline (0) use
48   Int_t   fLDC;                               //LDC number (0 for offline, 1 to 4 for online) 
49   Int_t   fSPDhRaws;                          //number of booked SPD Raws histograms;
50   Int_t   fSPDhRecs;                          //number of booked SPD Recs histograms;
51   Int_t   fRawsOffset;                        // number of histo booked when SPD start 
52   Int_t   fRecsOffset;                        // number of histo booked when SPD start
53   
54
55   ClassDef(AliITSQASPDDataMakerRec,2)      // description 
56
57 };
58
59 #endif
60