Splitting of the QA maker into simulation and reconstruction dependent parts (Yves)
[u/mrichter/AliRoot.git] / ITS / AliITSQADataMakerRec.h
CommitLineData
04236e67 1#ifndef AliITSQADataMakerRec_H
2#define AliITSQADataMakerRec_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 "AliQADataMakerRec.h"
21class TObjArray;
22class TH1F;
23class TH2D;
24class AliRawReader;
25class AliITSgeomTGeo;
26
27class AliITSQADataMakerRec: public AliQADataMakerRec {
28
29public:
30 AliITSQADataMakerRec(); // ctor
31 AliITSQADataMakerRec(Int_t ldc, Bool_t kMode = kFALSE);
32 AliITSQADataMakerRec(const AliITSQADataMakerRec& qadm);
33 AliITSQADataMakerRec& operator = (const AliITSQADataMakerRec& 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 ~AliITSQADataMakerRec() {;} // dtor
42
43private:
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(AliITSQADataMakerRec,1) // description
62
63};
64
65#endif
66
67