]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - VZERO/AliVZEROTrending.h
typo fixed
[u/mrichter/AliRoot.git] / VZERO / AliVZEROTrending.h
index cd5a3ce7a6e01a569f36193598e8cdb9a16947e8..0ada23d965d266375092ff518b1868f295e8e5fc 100644 (file)
@@ -1,53 +1,55 @@
-#ifndef ALIVZEROTRENDING_H\r
-#define ALIVZEROTRENDING_H\r
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights\r
- * reserved. \r
- *\r
- * See cxx source for full Copyright notice                               \r
- */\r
-\r
-\r
-// \r
-// Class AliVZEROTrending\r
-// ---------------------------\r
-// \r
-//  class used in QA to publish variables evolution versus time in AMORE. \r
-//  These histo are the one which will be looked at by QA Shifter\r
-// \r
-\r
-\r
-#include <TH1.h>\r
-\r
-class TGraph;\r
-\r
-class AliVZEROTrending  : public TH1 {\r
-public:\r
-       AliVZEROTrending();\r
-       AliVZEROTrending(const char* name, const char* title);\r
-       virtual ~AliVZEROTrending();\r
-       AliVZEROTrending(const AliVZEROTrending &trend);\r
-               \r
-       Double_t * GetTime(){return fTime;};\r
-       Double_t * GetChannel(Int_t i){return fData[i];};\r
-       Double_t  GetLastTime(){return fTime[fNEntries-1];};\r
-       Double_t  GetLastChannel(Int_t i){return fData[i][fNEntries];};\r
-       UInt_t GetNEntries(){return fNEntries;};\r
-       void AddEntry(Double_t * data, UInt_t time);\r
-       void PrintEntry(UInt_t entry);  \r
-\r
-private:\r
-       \r
-       AliVZEROTrending& operator= (const AliVZEROTrending & /*trend*/); // Not implemented\r
-       enum{kDataSize = 500};\r
-       Double_t fData[8][kDataSize];\r
-       Double_t fTime[kDataSize];\r
-       UInt_t fNEntries;\r
-       \r
-       \r
-       ClassDef( AliVZEROTrending, 1 )  \r
-       \r
-};\r
-\r
-#endif // ALIVZEROTRENDING_H\r
-\r
-\r
+#ifndef ALIVZEROTRENDING_H
+#define ALIVZEROTRENDING_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
+ * reserved. 
+ *
+ * See cxx source for full Copyright notice                               
+ */
+
+
+// 
+// Class AliVZEROTrending
+// ---------------------------
+// 
+//  class used in QA to publish variables evolution versus time in AMORE. 
+//  These histo are the one which will be looked at by QA Shifter
+// 
+
+
+#include <TH1.h>
+
+class TGraph;
+class TMultiGraph;
+
+class AliVZEROTrending  : public TH1 {
+public:
+       AliVZEROTrending();
+       AliVZEROTrending(const char* name, const char* title);
+       virtual ~AliVZEROTrending();
+       AliVZEROTrending(const AliVZEROTrending &trend);
+               
+       Double_t * GetTime(){return fTime;};
+       Double_t * GetChannel(Int_t i){return fData[i];};
+       Double_t  GetLastTime(){return fTime[fNEntries-1];};
+       Double_t  GetLastChannel(Int_t i){return fData[i][fNEntries];};
+       UInt_t GetNEntries(){return fNEntries;};
+       void AddEntry(Double_t * data, UInt_t time);
+       void PrintEntry(UInt_t entry);  
+       virtual void Draw(Option_t  *option="");
+
+private:
+       
+       AliVZEROTrending& operator= (const AliVZEROTrending & /*trend*/); // Not implemented
+       enum{kDataSize = 500};
+       Double_t fData[8][kDataSize];
+       Double_t fTime[kDataSize];
+       UInt_t fNEntries;
+       TMultiGraph *fMultiGraphs;
+       TGraph * fGraphs[8];
+       
+       ClassDef( AliVZEROTrending, 2 )  
+       
+};
+
+#endif // ALIVZEROTRENDING_H
+