]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSQADataMaker.h
Additional protection needed by AliRawReaderMemory (Henrik)
[u/mrichter/AliRoot.git] / ITS / AliITSQADataMaker.h
1 #ifndef ALIITSQADATAMAKER_H
2 #define ALIITSQADATAMAKER_H
3 /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6
7 /* $Id$ */
8
9 //
10 //  Checks the quality assurance. 
11 //  By comparing with reference data
12 //  contained in a DB
13 //
14 //
15 //  W. Ferrarese Nov 2007
16
17
18
19
20 #include "AliQADataMaker.h"
21 class TObjArray;
22 class TH1F;
23 class TH2D;
24 class AliRawReader;
25 class AliITSgeomTGeo;
26
27 class AliITSQADataMaker: public AliQADataMaker {
28
29 public:
30   AliITSQADataMaker();          // ctor
31   AliITSQADataMaker(Int_t ldc, Bool_t kMode = kFALSE);
32   AliITSQADataMaker(const AliITSQADataMaker& qadm);
33   AliITSQADataMaker& operator = (const AliITSQADataMaker& qac);
34   virtual void StartOfDetectorCycle() const;
35   virtual void EndOfDetectorCycle(AliQA::TASKINDEX task, TObjArray * list);
36   virtual void EndOfDetectorCycle(const char * fgDataName);
37   virtual void InitRaws();
38   virtual void InitRecPoints();
39   virtual void MakeRaws(AliRawReader *rawReader);
40   virtual void MakeRecPoints(TTree *clustersTree);
41   virtual ~AliITSQADataMaker() {;} // dtor
42
43 private:
44
45   static const Int_t fgknSDDmodules = 260; //number of SDD modules
46   static const Int_t fgkmodoffset = 240;   //number of SPD modules
47   static const Int_t fgknAnode = 256;      //anode per half-module
48   static const Int_t fgknSide =2;          //side per module
49   static const Int_t fgkeqOffset = 256;    //DDL offset
50   static const Int_t fgkDDLidRange = 24;   //number of DDL:so DDL range is 257-280
51   static const Int_t fgkDDLIDshift = 0;    //necessary option until RawStream Table is complete
52   static const Int_t fgkLADDonLAY3 = 14;   //number of ladder on layer 3
53   static const Int_t fgkLADDonLAY4 = 22;   //number of ladder on layer 4
54         
55   Bool_t  fkOnline;                         //online (1) or offline (0) use
56   Int_t   fLDC;                            //LDC number (0 for offline, 1 to 4 for online) 
57   Int_t   fnSDDHistos;                     // number of histogrma booked for SDDs
58   TH2D *fModuleChargeMap[2*fgknSDDmodules];//module map
59   TH1D *fmonoD[2*fgknSDDmodules] ;         //histo used as support
60  
61   ClassDef(AliITSQADataMaker,1)  // description 
62
63 };
64
65 #endif
66
67