]>
Commit | Line | Data |
---|---|---|
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 | ||
19 | class TH1D; | |
20 | class TH2D; | |
21 | class TH3D; | |
22 | class AliTRDrawStreamTB; | |
23 | ||
24 | class 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;} | |
45 | ||
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); | |
49 | ||
50 | private: | |
51 | ||
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 | |
58 | ||
59 | Double_t fMinNoise; // Minimum noise | |
60 | Double_t fMaxNoise; // Maximum noise | |
61 | ||
62 | ClassDef(AliTRDqaBlackEvents,0) // QA for black events | |
63 | ||
64 | }; | |
65 | #endif |