8 #include "TVirtualPad.h"
15 void CbmQaCanvas::Streamer(TBuffer& R__b) {
20 if (R__b.IsReading()) {
21 R__b.ReadClassBuffer(CbmQaCanvas::Class(),
this);
23 R__b.WriteClassBuffer(CbmQaCanvas::Class(),
this);
30 if (nPads < 1) nPads = 1;
31 int rows = (int)
sqrt(nPads);
32 int cols = nPads / rows;
33 if (cols * rows < nPads) cols++;
34 TCanvas::Divide(cols, rows);