3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 #include "AliMonitorHisto.h"
16 class AliMonitorTrend;
19 class AliMonitor : public TObject {
22 virtual ~AliMonitor() {};
24 virtual void CreateHistos(TFolder* folder) = 0;
25 virtual void CreateBranches(TTree* tree);
26 virtual void FillHistos(AliRunLoader* runLoader,
27 AliRawReader* rawReader,
28 AliESDEvent* esd) = 0;
31 TFolder* fFolder; // sub folder for monitor histograms
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,
42 AliMonitorHisto::ENorm norm);
43 AliMonitorTrend* CreateTrend(const char* name, const char* title,
45 Double_t min = 0, Double_t max = 0);
48 AliMonitor(const AliMonitor& monitor);
49 AliMonitor& operator = (const AliMonitor& monitor);
51 ClassDef(AliMonitor, 0) // base class for the creation and filling of monitor histograms