]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MONITOR/AliMonitor.h
strsep replaced by strtok (HP,Sun,Alpha)
[u/mrichter/AliRoot.git] / MONITOR / AliMonitor.h
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>
9 #include <TFolder.h>
10 #include <TTree.h>
11 #include "AliRunLoader.h"
12 #include "AliRawReader.h"
13 #include "AliMonitorHisto.h"
14 #include "AliMonitorTrend.h"
15
16
17 class AliMonitor : public TObject {
18 public:
19   virtual void     CreateHistos(TFolder* folder) = 0;
20   virtual void     CreateBranches(TTree* tree);
21   virtual void     FillHistos(AliRunLoader* runLoader, 
22                               AliRawReader* rawReader) = 0;
23
24 protected:
25   TFolder*         fFolder;    // sub folder for monitor histograms
26
27   AliMonitorHisto* CreateHisto1(const char* name, const char* title,
28                                 Int_t xBins, Double_t xMin, Double_t xMax,
29                                 const char* xTitle, const char* yTitle,
30                                 AliMonitorHisto::ENorm norm);
31   AliMonitorHisto* CreateHisto2(const char* name, const char* title,
32                                 Int_t xBins, Double_t xMin, Double_t xMax,
33                                 Int_t yBins, Double_t yMin, Double_t yMax,
34                                 const char* xTitle, const char* yTitle,
35                                 const char* zTitle,
36                                 AliMonitorHisto::ENorm norm);
37   AliMonitorTrend* CreateTrend(const char* name, const char* title,
38                                const char* label, 
39                                Double_t min = 0, Double_t max = 0);
40
41   ClassDef(AliMonitor, 0)   // base class for the creation and filling of monitor histograms
42 };
43  
44
45 #endif
46
47
48
49
50
51
52
53
54