]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDqaBlackEvents.h
AliACORDEDataDCS added
[u/mrichter/AliRoot.git] / TRD / AliTRDqaBlackEvents.h
CommitLineData
0f772b9f 1#ifndef ALITRDQABLACKEVENTS_H
2#define ALITRDQABLACKEVENTS_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id: AliTRDqaBlackEvents.h 23387 2008-01-17 17:25:16Z cblume $ */
7
8////////////////////////////////////////////////////////////////////////////
9// //
10// QA of black events //
11// //
12// Author: //
13// Sylwester Radomski (radomski@physi.uni-heidelberg.de) //
14// //
15////////////////////////////////////////////////////////////////////////////
16
17#include "TObject.h"
18
19class TH1D;
20class TH2D;
21class TH3D;
22class AliTRDrawStreamTB;
23
24class AliTRDqaBlackEvents : public TObject {
25
26 public:
27
28 AliTRDqaBlackEvents();
29 AliTRDqaBlackEvents(const AliTRDqaBlackEvents &qa);
30 ~AliTRDqaBlackEvents() {}
31 AliTRDqaBlackEvents& operator = (const AliTRDqaBlackEvents& /*qa*/) { return *this; };
32
33 void Init();
34 void Reset();
35 Int_t AddEvent(AliTRDrawStreamTB *data);
36 void Process(const char* filename);
37
38 //TH2D *GetChamberPedestal(Int_t sm, Int_t layer, Int_t stack) {return 0;}
39 TH2D *GetChamberPedestal(Int_t det) {return fChPed[det];}
40
41 //TH2D *GetChamberNoise(Int_t sm, Int_t layer, Int_t stack) {return 0;}
42 TH2D *GetChamberNoise(Int_t det) {return fChNoise[det];}
43
44 void SetNoiseLevel(Double_t min, Double_t max) {fMinNoise = min; fMaxNoise = max;}
9b99c029 45 void SetFitMethod(Int_t fit) {fFitType = fit;}
0f772b9f 46
47 void DrawChamber(const char *filename, Int_t det, Int_t w=700, Int_t h=400);
48 //void ScanChamber(const char *filename, Int_t first, Int_t last);
49 void DrawSm(const char *filename, Int_t sm, Int_t w=900, Int_t h=700);
50
51 private:
9b99c029 52
c29b11ff 53 Int_t fnEvents; // number of events processed
f5fd37e8 54
9b99c029 55 TH1D *fOccupancy; // how many times is a pad present in data
0f772b9f 56
9b99c029 57 TH1D *fPed[540]; // reconstructed pedestals distribution (on hist per chamber)
58 TH1D *fNoise[540]; // reconstructed noise distribution (on hist per chamber)
59 TH1D *fNPointDist[540]; // distributin of the number of points
60 TH2D *fChPed[540]; // Some histograms
61 TH2D *fChNoise[540]; // Some histograms
62 TH2D *fNPoint[540]; // number of data points
63 TH3D *fData[540]; // Some histograms
64 TH1D *fSignal[540]; // Some histograms
c29b11ff 65 TH2D *fnEntriesRM[540]; // number of entries for ROB - MCM
66 TH1D *fnEntriesRMDist[540]; // distribtion of number of entries per ROB-MCM
67
f5fd37e8 68 Int_t fFitType;
0f772b9f 69
70 Double_t fMinNoise; // Minimum noise
71 Double_t fMaxNoise; // Maximum noise
72
73 ClassDef(AliTRDqaBlackEvents,0) // QA for black events
74
75};
76#endif