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 */
6 /* $Id: AliTRDqaBlackEvents.h 23387 2008-01-17 17:25:16Z cblume $ */
8 ////////////////////////////////////////////////////////////////////////////
10 // QA of black events //
13 // Sylwester Radomski (radomski@physi.uni-heidelberg.de) //
15 ////////////////////////////////////////////////////////////////////////////
22 class AliTRDrawStreamTB;
24 class AliTRDqaBlackEvents : public TObject {
28 AliTRDqaBlackEvents();
29 AliTRDqaBlackEvents(const AliTRDqaBlackEvents &qa);
30 ~AliTRDqaBlackEvents() {}
31 AliTRDqaBlackEvents& operator = (const AliTRDqaBlackEvents& /*qa*/) { return *this; };
35 Int_t AddEvent(AliTRDrawStreamTB *data);
36 void Process(const char* filename);
38 //TH2D *GetChamberPedestal(Int_t sm, Int_t layer, Int_t stack) {return 0;}
39 TH2D *GetChamberPedestal(Int_t det) {return fChPed[det];}
41 //TH2D *GetChamberNoise(Int_t sm, Int_t layer, Int_t stack) {return 0;}
42 TH2D *GetChamberNoise(Int_t det) {return fChNoise[det];}
44 void SetNoiseLevel(Double_t min, Double_t max) {fMinNoise = min; fMaxNoise = max;}
46 void DrawChamber(const char *filename, Int_t det, Int_t w=700, Int_t h=400);
47 //void ScanChamber(const char *filename, Int_t first, Int_t last);
48 void DrawSm(const char *filename, Int_t sm, Int_t w=900, Int_t h=700);
52 TH1D *fPed[540]; // Some histograms
53 TH1D *fNoise[540]; // Some histograms
54 TH2D *fChPed[540]; // Some histograms
55 TH2D *fChNoise[540]; // Some histograms
56 TH3D *fData[540]; // Some histograms
57 TH1D *fSignal[540]; // Some histograms
59 Double_t fMinNoise; // Minimum noise
60 Double_t fMaxNoise; // Maximum noise
62 ClassDef(AliTRDqaBlackEvents,0) // QA for black events