Adding include path to allow compilation of CleanGeom task
[u/mrichter/AliRoot.git] / VZERO / AliVZEROTrending.h
CommitLineData
a65a7e70 1#ifndef ALIVZEROTRENDING_H
2#define ALIVZEROTRENDING_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
4 * reserved.
5 *
6 * See cxx source for full Copyright notice
7 */
8
9
10//
11// Class AliVZEROTrending
12// ---------------------------
13//
14// class used in QA to publish variables evolution versus time in AMORE.
15// These histo are the one which will be looked at by QA Shifter
16//
17
18
19#include <TH1.h>
20
21class TGraph;
22class TMultiGraph;
23
24class AliVZEROTrending : public TH1 {
25public:
26 AliVZEROTrending();
27 AliVZEROTrending(const char* name, const char* title);
28 virtual ~AliVZEROTrending();
29 AliVZEROTrending(const AliVZEROTrending &trend);
30
31 Double_t * GetTime(){return fTime;};
32 Double_t * GetChannel(Int_t i){return fData[i];};
33 Double_t GetLastTime(){return fTime[fNEntries-1];};
34 Double_t GetLastChannel(Int_t i){return fData[i][fNEntries];};
35 UInt_t GetNEntries(){return fNEntries;};
36 void AddEntry(Double_t * data, UInt_t time);
37 void PrintEntry(UInt_t entry);
38 virtual void Draw(Option_t *option="");
39
40private:
41
42 AliVZEROTrending& operator= (const AliVZEROTrending & /*trend*/); // Not implemented
43 enum{kDataSize = 500};
44 Double_t fData[8][kDataSize];
45 Double_t fTime[kDataSize];
46 UInt_t fNEntries;
47 TMultiGraph *fMultiGraphs;
48 TGraph * fGraphs[8];
49
50 ClassDef( AliVZEROTrending, 2 )
51
52};
53
54#endif // ALIVZEROTRENDING_H
55