void iAIDA::AIDA_HBookStore::HBook::bookFixedBin2DHisto(const int& id, const std::string title, const int& nbx, const float& lowX, const float& highX, const int& nby, const float& lowY, const float& highY) { int tid = id; std::string ttitle = title; int nx = nbx; int ny = nby; float lx = lowX; float hx = highX; float ly = lowY; float hy = highY; float words = 0; hbook2_(&tid, const_cast<char*>(ttitle.c_str()), &nx, &lx, &hx, &ny, &ly, &hy, &words, ttitle.length()); }
void hbook2(int no, char*name, int xbins, float xmin, float xmax, int ybins, float ymin, float ymax, float weight) { hbook2_(&no, name, &xbins, &xmin, &xmax, &ybins,&ymin, &ymax, &weight, strlen(name)); }