]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSQASDDDataMakerRec.h
Create the rec-point branch even in the case of no digits. Please review and fix...
[u/mrichter/AliRoot.git] / ITS / AliITSQASDDDataMakerRec.h
CommitLineData
8c823e5a 1#ifndef AliITSQASDDDataMakerRec_H\r
2#define AliITSQASDDDataMakerRec_H\r
3/* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *\r
4 * See cxx source for full Copyright notice */\r
5\r
6//\r
7// Checks the quality assurance. \r
8// By comparing with reference data\r
9// contained in a DB\r
10//\r
11//\r
12// W. Ferrarese + P. Cerello Feb 2008\r
13\r
35b6918d 14/* $Id$ */\r
15\r
8c823e5a 16#include "AliQA.h"\r
17#include "AliITSQADataMakerRec.h"\r
18class TObjArray;\r
19class TH1D;\r
2d1354e5 20class TProfile2D;\r
8c823e5a 21class AliRawReader;\r
22class AliITSgeomTGeo;\r
23class AliITSDDLModuleMapSDD;\r
24\r
25class AliITSQADataMakerRec;\r
26\r
27class AliITSQASDDDataMakerRec: public TObject {\r
28\r
29public:\r
30 AliITSQASDDDataMakerRec(AliITSQADataMakerRec *aliITSQADataMakerRec, Bool_t kMode = kFALSE, Short_t ldc = 0);\r
31 AliITSQASDDDataMakerRec(const AliITSQASDDDataMakerRec& qadm);\r
32 AliITSQASDDDataMakerRec& operator = (const AliITSQASDDDataMakerRec& qac);\r
33 virtual void InitRaws();\r
34 virtual void InitRecPoints();\r
35 virtual void MakeRaws(AliRawReader *rawReader);\r
36 virtual void MakeRecPoints(TTree *clustersTree);\r
37 virtual void StartOfDetectorCycle();\r
92a357bf 38 virtual void EndOfDetectorCycle(AliQA::TASKINDEX_t task, TObjArray * list);\r
8c823e5a 39 virtual ~AliITSQASDDDataMakerRec(); // dtor\r
40 inline Int_t Raws() { return fSDDhRaws; }\r
41 inline Int_t Recs() { return fSDDhRecs; }\r
42\r
43private:\r
44\r
45 static const Int_t fgknSDDmodules = 260; //number of SDD modules\r
46 static const Int_t fgkmodoffset = 240; //number of SPD modules\r
47 static const Int_t fgknAnode = 256; //anode per half-module\r
48 static const Int_t fgknSide =2; //side per module\r
49 static const Int_t fgkeqOffset = 256; //DDL offset\r
50 static const Int_t fgkDDLidRange = 24; //number of DDL:so DDL range is 257-280\r
51 static const Int_t fgkDDLIDshift = 0; //necessary option until RawStream Table is complete\r
52 static const Int_t fgkLADDonLAY3 = 14; //number of ladder on layer 3\r
53 static const Int_t fgkLADDonLAY4 = 22; //number of ladder on layer 4\r
54\r
55 AliITSQADataMakerRec *fAliITSQADataMakerRec;//pointer to the main ctor\r
56 Bool_t fkOnline; //online (1) or offline (0) use\r
57 Int_t fLDC; //LDC number (0 for offline, 1 to 4 for online) \r
58 Int_t fSDDhRaws; // number of histo booked for Raws SDD\r
59 Int_t fSDDhRecs; // number of histo booked for Recs SDD\r
60 Int_t fRawsOffset; // number of histo booked when SDD start\r
61 Int_t fRecsOffset; // number of histo booked when SDD start\r
cab24fe6 62 AliITSDDLModuleMapSDD *fDDLModuleMap;// SDD Detector configuration for the decoding\r
2d1354e5 63/*\r
64 TProfile2D *fModuleChargeMap[2*fgknSDDmodules];//module map\r
65 TProfile2D *fModuleChargeMapFSE[2*fgknSDDmodules];//module map for one event \r
66*/ \r
67 ClassDef(AliITSQASDDDataMakerRec,3) // description \r
8c823e5a 68\r
69};\r
70\r
71#endif\r
72\r
73\r