#include "Boo.h" #include "TH1F.h" Boo::Boo() { hh=new TH1F("Boo","Boo",100, -1000, 1000); } Boo::Boo(const char* name, const char* title, int nBins, float xLow, float xHigh) { hh=new TH1F(name,title,nBins,xLow,xHigh); } void Boo::Fill(float x, float w) { hh->Fill(x,w); } TH1F* Boo::GetHisto() { return hh; }