]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSQASDDDataMakerRec.h
1.The QA data created on demand according to the event species at filling time. 2...
[u/mrichter/AliRoot.git] / ITS / AliITSQASDDDataMakerRec.h
CommitLineData
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
4e25ac79 17#include "AliQAv1.h"
ebdd0606 18#include "AliITSQADataMakerRec.h"
19
20class TObjArray;
21class AliITSDDLModuleMapSDD;
e41192d7 22class AliITSHLTforSDD;
ebdd0606 23class AliITSQASDDDataMakerRec: public TObject {
24
25public:
26 AliITSQASDDDataMakerRec(AliITSQADataMakerRec *aliITSQADataMakerRec, Bool_t kMode = kFALSE, Short_t ldc = 0);
27 AliITSQASDDDataMakerRec(const AliITSQASDDDataMakerRec& qadm);
28 AliITSQASDDDataMakerRec& operator = (const AliITSQASDDDataMakerRec& qac);
eca4fa66 29 virtual Int_t InitRaws();
30 virtual Int_t InitDigits();
31 virtual Int_t InitRecPoints();
32 virtual Int_t MakeRaws(AliRawReader *rawReader);
33 virtual Int_t MakeDigits(TClonesArray* /*digits*/) {return 0;}
34 virtual Int_t MakeDigits(TTree *clustersTree);
35 virtual Int_t MakeRecPoints(TTree *clustersTree);
ebdd0606 36 virtual void StartOfDetectorCycle();
4e25ac79 37 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray * list);
e41192d7 38
39
ebdd0606 40 virtual ~AliITSQASDDDataMakerRec(); // dtor
4e25ac79 41 Int_t GetOffset(AliQAv1::TASKINDEX_t task);
eca4fa66 42 void SetOffset(AliQAv1::TASKINDEX_t task, Int_t offset);
4e25ac79 43 Int_t GetTaskHisto(AliQAv1::TASKINDEX_t task);
ebdd0606 44
e41192d7 45 void SetHLTMode(Bool_t khltmode=kFALSE){fHLTMode=khltmode;};
46 Bool_t GetHLTMode(){return fHLTMode;};
47 void SetHLTModeFromEnvironment();
48
ebdd0606 49private:
50
e41192d7 51 static const Int_t fgknSDDmodules = 260; // number of SDD modules
52 static const Int_t fgkmodoffset = 240; // number of SPD modules
53 static const Int_t fgknAnode = 256; // anode per half-module
54 static const Int_t fgknSide =2; // side per module
e41192d7 55 static const Int_t fgkDDLIDshift = 0; // necessary option until RawStream Table is complete
56 static const Int_t fgkLADDonLAY3 = 14; // number of ladder on layer 3
57 static const Int_t fgkLADDonLAY4 = 22; // number of ladder on layer 4
ebdd0606 58
e41192d7 59 AliITSQADataMakerRec *fAliITSQADataMakerRec;// pointer to the main ctor
60 Bool_t fkOnline; // online (1) or offline (0) use
61 Int_t fLDC; // LDC number (0 for offline, 1 to 4 for online)
ad300de9 62 Int_t fSDDhRawsTask; // number of histo booked for each the Raws Task SDD
44ed7a66 63 Int_t fSDDhDigitsTask; // number of histo booked for each the RecPoints Task SDD
ad300de9 64 Int_t fSDDhRecPointsTask; // number of histo booked for each the RecPoints Task SDD
ad300de9 65 Int_t fGenRawsOffset; // QAchecking Raws offset
44ed7a66 66 Int_t fGenDigitsOffset; // QAchecking RecPoints offset
ad300de9 67 Int_t fGenRecPointsOffset; // QAchecking RecPoints offset
e41192d7 68 Int_t fTimeBinSize; // time bin width in number of clocks
69 AliITSDDLModuleMapSDD *fDDLModuleMap; // SDD Detector configuration for the decoding
70 Bool_t fHLTMode; // kTRUE mode C kFALSE mode A
71 // Used in online mode only
72 AliITSHLTforSDD *fHLTSDD; // used for offline QA as the HLT mode flag
ad300de9 73 ClassDef(AliITSQASDDDataMakerRec,7) // description
ebdd0606 74
75};
76
77#endif
78