1 #ifndef ALIVZEROTRENDING_H
\r
2 #define ALIVZEROTRENDING_H
\r
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
\r
6 * See cxx source for full Copyright notice
\r
11 // Class AliVZEROTrending
\r
12 // ---------------------------
\r
14 // class used in QA to publish variables evolution versus time in AMORE.
\r
15 // These histo are the one which will be looked at by QA Shifter
\r
24 class AliVZEROTrending : public TH1 {
\r
27 AliVZEROTrending(const char* name, const char* title);
\r
28 virtual ~AliVZEROTrending();
\r
29 AliVZEROTrending(const AliVZEROTrending &trend);
\r
31 Double_t * GetTime(){return fTime;};
\r
32 Double_t * GetChannel(Int_t i){return fData[i];};
\r
33 Double_t GetLastTime(){return fTime[fNEntries-1];};
\r
34 Double_t GetLastChannel(Int_t i){return fData[i][fNEntries];};
\r
35 UInt_t GetNEntries(){return fNEntries;};
\r
36 void AddEntry(Double_t * data, UInt_t time);
\r
37 void PrintEntry(UInt_t entry);
\r
38 virtual void Draw(Option_t *option="");
\r
42 AliVZEROTrending& operator= (const AliVZEROTrending & /*trend*/); // Not implemented
\r
43 enum{kDataSize = 500};
\r
44 Double_t fData[8][kDataSize];
\r
45 Double_t fTime[kDataSize];
\r
47 TMultiGraph *fMultiGraphs;
\r
48 TGraph * fGraphs[8];
\r
50 ClassDef( AliVZEROTrending, 2 )
\r
54 #endif // ALIVZEROTRENDING_H
\r