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
23 class AliVZEROTrending : public TH1 {
\r
26 AliVZEROTrending(const char* name, const char* title);
\r
27 virtual ~AliVZEROTrending();
\r
28 AliVZEROTrending(const AliVZEROTrending &trend);
\r
30 Double_t * GetTime(){return fTime;};
\r
31 Double_t * GetChannel(Int_t i){return fData[i];};
\r
32 Double_t GetLastTime(){return fTime[fNEntries-1];};
\r
33 Double_t GetLastChannel(Int_t i){return fData[i][fNEntries];};
\r
34 UInt_t GetNEntries(){return fNEntries;};
\r
35 void AddEntry(Double_t * data, UInt_t time);
\r
36 void PrintEntry(UInt_t entry);
\r
40 AliVZEROTrending& operator= (const AliVZEROTrending & /*trend*/); // Not implemented
\r
41 enum{kDataSize = 500};
\r
42 Double_t fData[8][kDataSize];
\r
43 Double_t fTime[kDataSize];
\r
47 ClassDef( AliVZEROTrending, 1 )
\r
51 #endif // ALIVZEROTRENDING_H
\r