]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSQASPDDataMakerRec.h
Changes requested in report #61429: PID: Separating response functions from ESD ...
[u/mrichter/AliRoot.git] / ITS / AliITSQASPDDataMakerRec.h
CommitLineData
096292ae 1#ifndef AliITSQASPDDataMakerRec_H
2#define AliITSQASPDDataMakerRec_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
13// M. Nicassio D. Elia INFN Bari March 2008
14// maria.nicassio@ba.infn.it
15
3647765c 16/* $Id$ */
096292ae 17
18class TObjArray;
19class AliRawReader;
379510c2 20class AliITSRawStreamSPDErrorLog;
096292ae 21class AliITSQADataMakerRec;
4e25ac79 22class AliQAv1;
096292ae 23
24class AliITSQASPDDataMakerRec : public TObject {
25
26public:
379510c2 27 AliITSQASPDDataMakerRec(AliITSQADataMakerRec *aliITSQADataMakerRec, Bool_t kMode = kFALSE, Short_t ldc = 0,
28 AliITSRawStreamSPDErrorLog *aliITSRawStreamSPDErrorLog = NULL); //ctor
096292ae 29 AliITSQASPDDataMakerRec(const AliITSQASPDDataMakerRec& qadm);
30 AliITSQASPDDataMakerRec& operator = (const AliITSQASPDDataMakerRec& qac);
eca4fa66 31 virtual Int_t InitRaws();
32 virtual Int_t InitDigits();
33 virtual Int_t InitRecPoints();
34 virtual Int_t MakeRaws(AliRawReader *rawReader);
35 virtual Int_t MakeRecPoints(TTree *clustersTree);
6252ceeb 36 virtual Int_t MakeDigits() {return 0;}
eca4fa66 37 virtual Int_t MakeDigits(TTree *clustersTree);
38 virtual void StartOfDetectorCycle();
39 virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray * list);
096292ae 40 virtual ~AliITSQASPDDataMakerRec(); // dtor
80b9610c 41 Int_t GetOffset(AliQAv1::TASKINDEX_t task,Int_t specie=0);
8b7e858c 42 void SetOffset(AliQAv1::TASKINDEX_t task, Int_t offset, Int_t specie = 0);
4e25ac79 43 Int_t GetTaskHisto(AliQAv1::TASKINDEX_t task);
096292ae 44
66133c2f 45 enum {kAmoreFoOffset = 8, kAmoreErrorsOffset=21};
46
096292ae 47private:
48
66133c2f 49 static const Short_t fgknSPDmodules = 240; //number of SPD modules
50 static const Short_t fgkLADDonLay1 = 80; //number of modules on layer 1
51 static const Short_t fgkLADDonLay2 = 160; //number of modules on layer 2
52 static const Short_t fgkSPDchips = 1200; //number of chips
096292ae 53
096292ae 54 AliITSQADataMakerRec *fAliITSQADataMakerRec;//pointer to the main ctor
55 Bool_t fkOnline; //online (1) or offline (0) use
56 Int_t fLDC; //LDC number (0 for offline, 1 to 4 for online)
7a0e5776 57 Int_t fSPDhRawsTask; // number of booked SPD histograms for the Raws Task
44ed7a66 58 Int_t fSPDhDigitsTask; // number of booked SPD histograms for the RecPoints Task
7a0e5776 59 Int_t fSPDhRecPointsTask; // number of booked SPD histograms for the RecPoints Task
8b7e858c 60 Int_t *fGenRawsOffset; // QAchecking Raws offset
4a903927 61 Int_t *fGenDigitsOffset; // QAchecking Digits offset
8b7e858c 62 Int_t *fGenRecPointsOffset; // QAchecking RecPoints offset
379510c2 63 AliITSRawStreamSPDErrorLog *fAdvLogger; // pointer to special error logger object
096292ae 64
4a903927 65 ClassDef(AliITSQASPDDataMakerRec,6) // description
096292ae 66
67};
68
69#endif