]>
Commit | Line | Data |
---|---|---|
ebdd0606 | 1 | #ifndef AliITSQASDDDataMakerRec_H |
2 | #define AliITSQASDDDataMakerRec_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 | |
e41192d7 | 13 | // M.Siciliano Aug 2008 QA RecPoints and HLT mode |
ebdd0606 | 14 | |
15 | /* $Id$ */ | |
16 | ||
17 | #include "AliQA.h" | |
18 | #include "AliITSQADataMakerRec.h" | |
19 | ||
20 | class TObjArray; | |
21 | class AliITSDDLModuleMapSDD; | |
e41192d7 | 22 | class AliITSHLTforSDD; |
ebdd0606 | 23 | class AliITSQASDDDataMakerRec: public TObject { |
24 | ||
25 | public: | |
26 | AliITSQASDDDataMakerRec(AliITSQADataMakerRec *aliITSQADataMakerRec, Bool_t kMode = kFALSE, Short_t ldc = 0); | |
27 | AliITSQASDDDataMakerRec(const AliITSQASDDDataMakerRec& qadm); | |
28 | AliITSQASDDDataMakerRec& operator = (const AliITSQASDDDataMakerRec& 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); | |
e41192d7 | 35 | |
36 | ||
ebdd0606 | 37 | virtual ~AliITSQASDDDataMakerRec(); // dtor |
ad300de9 | 38 | Int_t GetOffset(AliQA::TASKINDEX_t task); |
39 | Int_t GetTaskHisto(AliQA::TASKINDEX_t task); | |
ebdd0606 | 40 | |
e41192d7 | 41 | void SetHLTMode(Bool_t khltmode=kFALSE){fHLTMode=khltmode;}; |
42 | Bool_t GetHLTMode(){return fHLTMode;}; | |
43 | void SetHLTModeFromEnvironment(); | |
44 | ||
ebdd0606 | 45 | private: |
46 | ||
e41192d7 | 47 | static const Int_t fgknSDDmodules = 260; // number of SDD modules |
48 | static const Int_t fgkmodoffset = 240; // number of SPD modules | |
49 | static const Int_t fgknAnode = 256; // anode per half-module | |
50 | static const Int_t fgknSide =2; // side per module | |
e41192d7 | 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 | |
ebdd0606 | 54 | |
e41192d7 | 55 | AliITSQADataMakerRec *fAliITSQADataMakerRec;// pointer to the main ctor |
56 | Bool_t fkOnline; // online (1) or offline (0) use | |
57 | Int_t fLDC; // LDC number (0 for offline, 1 to 4 for online) | |
ad300de9 | 58 | Int_t fSDDhRawsTask; // number of histo booked for each the Raws Task SDD |
59 | Int_t fSDDhRecPointsTask; // number of histo booked for each the RecPoints Task SDD | |
ad300de9 | 60 | Int_t fGenRawsOffset; // QAchecking Raws offset |
61 | Int_t fGenRecPointsOffset; // QAchecking RecPoints offset | |
e41192d7 | 62 | Int_t fTimeBinSize; // time bin width in number of clocks |
63 | AliITSDDLModuleMapSDD *fDDLModuleMap; // SDD Detector configuration for the decoding | |
64 | Bool_t fHLTMode; // kTRUE mode C kFALSE mode A | |
65 | // Used in online mode only | |
66 | AliITSHLTforSDD *fHLTSDD; // used for offline QA as the HLT mode flag | |
ad300de9 | 67 | ClassDef(AliITSQASDDDataMakerRec,7) // description |
ebdd0606 | 68 | |
69 | }; | |
70 | ||
71 | #endif | |
72 |