15#ifndef TGO4ROLLINGGRAPH_H
16#define TGO4ROLLINGGRAPH_H
18#include "TGraphErrors.h"
32 virtual void Fill (Double_t value, Double_t xerror=-1, Double_t yerror=-1);
33 void Clear (Option_t *option =
"")
override;
Graphs that renew themselves iteratively to monitor a value.
Int_t fiUpdateInterval
Number of Fill() functions to call before a new average is started.
void Clear(Option_t *option="") override
Int_t GetUpdateInterval() const
Returns interval of entries when a new bin is opened.
Int_t fiNumPoints
Nominal size of the graph, i.e. number of points to display.
Long64_t fiCounter
No. of values filled in total.
ClassDefOverride(TGo4RollingGraph, 1)
TGo4RollingGraph(Int_t NumPoints, Int_t UpdateInterval=1)
Double_t fdSum
Summed total value in the current Bin.
Int_t GetNumPoints() const
Returns number of displayed points.
virtual ~TGo4RollingGraph()
Double_t fdSumAveraged
Averaged summed total value in the current Bin.
virtual void Fill(Double_t value, Double_t xerror=-1, Double_t yerror=-1)