ROOT logo
#ifndef HTRENDHIST_H
#define HTRENDHIST_H
#include "TNamed.h"
#include "TString.h"
#include "TArrayI.h"
#include "TH1.h"
#include "honlinemonhist.h"

/** 1-Dim Trend Histogram.
 * Each call of the fill function moves the
 * content of the histogram by one bin to the left
 * and the new value is added in the right most bin.
*/
class HOnlineTrendHist: public HOnlineMonHist {
protected:
public:
    HOnlineTrendHist(const Char_t* name   ="",
	       const Char_t* title  ="",
	       Int_t active=0,Int_t resetable=0,
	       Int_t nBinsX=0,Float_t Xlo=0,Float_t Xup=0);
    HOnlineTrendHist(HOnlineMonHistAddon&);
    /// fill value (including moving the content)
    void    fill   (Stat_t i,Stat_t j = 0);
    virtual ~HOnlineTrendHist();
    void    getMinMax(Double_t& min,Double_t& max) ;


    ClassDef(HOnlineTrendHist,1) // trend hist
};

#endif  /*!HTRENDHIST_H*/
 honlinetrendhist.h:1
 honlinetrendhist.h:2
 honlinetrendhist.h:3
 honlinetrendhist.h:4
 honlinetrendhist.h:5
 honlinetrendhist.h:6
 honlinetrendhist.h:7
 honlinetrendhist.h:8
 honlinetrendhist.h:9
 honlinetrendhist.h:10
 honlinetrendhist.h:11
 honlinetrendhist.h:12
 honlinetrendhist.h:13
 honlinetrendhist.h:14
 honlinetrendhist.h:15
 honlinetrendhist.h:16
 honlinetrendhist.h:17
 honlinetrendhist.h:18
 honlinetrendhist.h:19
 honlinetrendhist.h:20
 honlinetrendhist.h:21
 honlinetrendhist.h:22
 honlinetrendhist.h:23
 honlinetrendhist.h:24
 honlinetrendhist.h:25
 honlinetrendhist.h:26
 honlinetrendhist.h:27
 honlinetrendhist.h:28
 honlinetrendhist.h:29
 honlinetrendhist.h:30
 honlinetrendhist.h:31