Visit our Factories
Histo1d* create1dHistogram (const int id, const char * title,
const int bins, const float xl, const float xh)
{ return new RootHisto1d(id,title, bins,xl,xh); }
Histo2d* create2dHistogram (const int id, const char *title,
const int xbins, const float xl, const float xh,
const int ybins, const float yl, const float yh)
{ return new RootHisto2d(id,title, xbins,xl,xh,ybins, yl, yh ); }
Histo1d* create1dHistogram (const int id, const char * title,
const int bins, const float xl, const float xh)
{ return new HbookHisto1d(id, title, bins,xl,xh); }
Histo2d* create2dHistogram (const int id, const char *title,
const int xbins, const float xl, const float xh,
const int ybins, const float yl, const float yh)
{ return new HbookHisto2d(id, title, xbins,xl,xh,ybins, yl, yh ); }
Those member functions of Root /HbookHistogramFactories override the respective virtual functions in the “HistogramFactory” parent class.