hbook and root histograms
Now, the same compiled usercode.o (representing the compiled object libraries here) will once produce an Hbook and once a Root histogram.
#include <RootHistogramFactory.h>
RootHistogramFactory *rbf =
RootHistogramFactory::buildFactory();
HistogramFactory * getHF() { return rbf;}
#include <HbookHistogramFactory.h>
HbookHistogramFactory *hbf =
HbookHistogramFactory::buildFactory();
HistogramFactory * getHF(){ return hbf;}