1 #ifndef ALIVZEROTRENDING_H
2 #define ALIVZEROTRENDING_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
6 * See cxx source for full Copyright notice
11 // Class AliVZEROTrending
12 // ---------------------------
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
24 class AliVZEROTrending : public TH1 {
27 AliVZEROTrending(const char* name, const char* title);
28 virtual ~AliVZEROTrending();
29 AliVZEROTrending(const AliVZEROTrending &trend);
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="");
42 AliVZEROTrending& operator= (const AliVZEROTrending & /*trend*/); // Not implemented
43 enum{kDataSize = 500};
44 Double_t fData[8][kDataSize];
45 Double_t fTime[kDataSize];
47 TMultiGraph *fMultiGraphs;
50 ClassDef( AliVZEROTrending, 2 )
54 #endif // ALIVZEROTRENDING_H