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