using namespace std;
#include "htrendhist.h"
#include <iostream>
#include <iomanip>
ClassImp(HTrendHist)
HTrendHist::HTrendHist(const Char_t* name,
const Char_t* title,
Int_t active,Int_t resetable,
Int_t nbinsX,Float_t xlo,Float_t xup)
: HMonHist(name,title,active,resetable,nbinsX,xlo,xup)
{
}
HTrendHist::HTrendHist(HMonHistAddon& add)
{
copySet(add);
h=0;
create();
}
void HTrendHist::fill(Float_t a, Float_t b)
{
for(Int_t i=0;i<h->GetNbinsX();i++){h->SetBinContent(i,h->GetBinContent(i+1) );}
h->SetBinContent(h->GetNbinsX(),a);
}
HTrendHist::~HTrendHist(){}
Last change: Sat May 22 13:17:08 2010
Last generated: 2010-05-22 13:17
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.