Added FindBadChannelsEmc() and CalibrateEmc(); all possible run types processed separ...
[u/mrichter/AliRoot.git] / ITS / AliITSQASSDDataMakerRec.h
CommitLineData
8c823e5a 1#ifndef AliITSQASSDDataMakerRec_H
2#define AliITSQASSDDataMakerRec_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// W. Ferrarese + P. Cerello Feb 2008
12// INFN Torino
13
14#include "AliQA.h"
15#include "AliITSQADataMakerRec.h"
16
17class TObjArray;
18class TH1D;
19class AliRawReader;
20
21class AliITSQADataMakerRec;
22
23class AliITSQASSDDataMakerRec: public TObject {
24
25public:
26 AliITSQASSDDataMakerRec(AliITSQADataMakerRec *aliITSQADataMakerRec, Bool_t kMode = kFALSE, Int_t ldc=0); //ctor
27 AliITSQASSDDataMakerRec(const AliITSQASSDDataMakerRec& qadm);
28 AliITSQASSDDataMakerRec& operator = (const AliITSQASSDDataMakerRec& 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 task, TObjArray * list);
35 virtual ~AliITSQASSDDataMakerRec() {;} // dtor
36 inline Int_t Raws() { return fSSDhRaws; }
37 inline Int_t Recs() { return fSSDhRecs; }
38
39private:
40
41 Double_t GetSSDOccupancyRaws(TH1 *lHisto);
42
43 static const Int_t fgkSSDMODULES = 1698; //total number of SSD modules
44 static const Int_t fgkSSDMODULESLAYER5 = 748; //total number of SSD modules - layer5
45 static const Int_t fgkSSDMODULESLAYER6 = 950; //total number of SSD modules - layer6
46
47 AliITSQADataMakerRec *fAliITSQADataMakerRec; //pointer to the main ctor
48 Bool_t fkOnline; //online (1) or offline (0) use
49 Int_t fLDC; //LDC number (0 for offline, 1 to 4 for online)
50 Int_t fSSDhRaws; // number of histo booked for Raws SSD
51 Int_t fSSDhRecs; // number of histo booked for Recs SSD
52 Int_t fRawsOffset; // number of histo booked when SSD start
53 Int_t fRecsOffset; // number of histo booked when SSD start
54
55 TH1D *fHistSSDRawSignalModule[fgkSSDMODULES]; //raw signal vs strip number - SSD
56 ClassDef(AliITSQASSDDataMakerRec,1) // description
57
58};
59
60#endif
61
62