]>
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 | |
22 | \r | |
23 | class AliVZEROTrending : public TH1 {\r | |
24 | public:\r | |
25 | AliVZEROTrending();\r | |
26 | AliVZEROTrending(const char* name, const char* title);\r | |
27 | virtual ~AliVZEROTrending();\r | |
28 | AliVZEROTrending(const AliVZEROTrending &trend);\r | |
29 | \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 | |
37 | \r | |
38 | private:\r | |
39 | \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 | |
44 | UInt_t fNEntries;\r | |
45 | \r | |
46 | \r | |
47 | ClassDef( AliVZEROTrending, 1 ) \r | |
48 | \r | |
49 | };\r | |
50 | \r | |
51 | #endif // ALIVZEROTRENDING_H\r | |
52 | \r | |
53 | \r |