]>
Commit | Line | Data |
---|---|---|
04fa961a | 1 | #ifndef ALIMONITOR_H |
2 | #define ALIMONITOR_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | #include <TObject.h> | |
04fa961a | 9 | #include "AliMonitorHisto.h" |
c4bd737c | 10 | |
11 | class TFolder; | |
12 | class TTree; | |
13 | class AliRunLoader; | |
14 | class AliRawReader; | |
af885e0f | 15 | class AliESDEvent; |
c4bd737c | 16 | class AliMonitorTrend; |
04fa961a | 17 | |
18 | ||
19 | class AliMonitor : public TObject { | |
20 | public: | |
c4bd737c | 21 | AliMonitor(); |
c4bd737c | 22 | virtual ~AliMonitor() {}; |
23 | ||
04fa961a | 24 | virtual void CreateHistos(TFolder* folder) = 0; |
25 | virtual void CreateBranches(TTree* tree); | |
26 | virtual void FillHistos(AliRunLoader* runLoader, | |
b6a3610d | 27 | AliRawReader* rawReader, |
af885e0f | 28 | AliESDEvent* esd) = 0; |
04fa961a | 29 | |
30 | protected: | |
31 | TFolder* fFolder; // sub folder for monitor histograms | |
32 | ||
33 | AliMonitorHisto* CreateHisto1(const char* name, const char* title, | |
34 | Int_t xBins, Double_t xMin, Double_t xMax, | |
35 | const char* xTitle, const char* yTitle, | |
36 | AliMonitorHisto::ENorm norm); | |
37 | AliMonitorHisto* CreateHisto2(const char* name, const char* title, | |
38 | Int_t xBins, Double_t xMin, Double_t xMax, | |
39 | Int_t yBins, Double_t yMin, Double_t yMax, | |
40 | const char* xTitle, const char* yTitle, | |
41 | const char* zTitle, | |
42 | AliMonitorHisto::ENorm norm); | |
43 | AliMonitorTrend* CreateTrend(const char* name, const char* title, | |
44 | const char* label, | |
45 | Double_t min = 0, Double_t max = 0); | |
46 | ||
17c3cc9e | 47 | private: |
48 | AliMonitor(const AliMonitor& monitor); | |
49 | AliMonitor& operator = (const AliMonitor& monitor); | |
50 | ||
04fa961a | 51 | ClassDef(AliMonitor, 0) // base class for the creation and filling of monitor histograms |
52 | }; | |
53 | ||
54 | ||
55 | #endif | |
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 |