]>
Commit | Line | Data |
---|---|---|
4c68b44f | 1 | #ifndef ALIVZEROTRENDING_H\r |
2 | #define ALIVZEROTRENDING_H\r | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights\r | |
4 | * reserved. \r | |
5 | *\r | |
6 | * See cxx source for full Copyright notice \r | |
7 | */\r | |
8 | \r | |
9 | \r | |
10 | // \r | |
11 | // Class AliVZEROTrending\r | |
12 | // ---------------------------\r | |
13 | // \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 | |
16 | // \r | |
17 | \r | |
18 | \r | |
19 | #include <TH1.h>\r | |
20 | \r | |
21 | class TGraph;\r | |
3dc953e2 | 22 | class TMultiGraph;\r |
4c68b44f | 23 | \r |
24 | class AliVZEROTrending : public TH1 {\r | |
25 | public:\r | |
26 | AliVZEROTrending();\r | |
27 | AliVZEROTrending(const char* name, const char* title);\r | |
28 | virtual ~AliVZEROTrending();\r | |
29 | AliVZEROTrending(const AliVZEROTrending &trend);\r | |
30 | \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 | |
3dc953e2 | 38 | virtual void Draw(Option_t *option="");\r |
4c68b44f | 39 | \r |
40 | private:\r | |
41 | \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 | |
46 | UInt_t fNEntries;\r | |
3dc953e2 | 47 | TMultiGraph *fMultiGraphs;\r |
48 | TGraph * fGraphs[8];\r | |
4c68b44f | 49 | \r |
3dc953e2 | 50 | ClassDef( AliVZEROTrending, 2 ) \r |
4c68b44f | 51 | \r |
52 | };\r | |
53 | \r | |
54 | #endif // ALIVZEROTRENDING_H\r | |
55 | \r |