In hepconvertv1.3.3 the hepconvert add CLI API runs without errors, though it seems to produce a file that, while does contain valid bin contents, can't be visualized correctly.
root [2] Warning in <TCanvas::ResizePad>: Inf/NaN propagated to the pad. Check drawn objects.
Warning in <TCanvas::ResizePad>: Canvas_1 width changed from 0 to 10
Error in <TGaxis::PaintAxis>: wmin (0.000000) == wmax (0.000000)
As a secondary check, if I use my local version of ROOT
$ root --version
ROOT Version: 6.30/02
Built for linuxx8664gcc on Jan 11 2024, 05:45:32
From tags/v6-30-02@
$ command -v root
/home/feickert/bin/root-cern/bin/root
$ command -v hadd
/home/feickert/bin/root-cern/bin/hadd
Aside: If I call the visualization commands from the ROOT repl, I get similar, but different errors:
$ root -l output.root
root [0]
Attaching file output.root as _file0...
(TFile *) 0x6194b30ae0c0
root [1] hist = (TH1F*) _file0->Get("name")
(TH1F *) 0x6194b30ac180
root [2] hist->Draw()
Info in <TCanvas::MakeDefCanvas>: created default TCanvas with name c1
Warning in <TCanvas::ResizePad>: Inf/NaN propagated to the pad. Check drawn objects.
Warning in <TCanvas::ResizePad>: c1 width changed from 0 to 10
Error in <TGaxis::PaintAxis>: wmin (0.000000) == wmax (0.000000)
root [3] Warning in <TCanvas::ResizePad>: Inf/NaN propagated to the pad. Check drawn objects.
Warning in <TCanvas::ResizePad>: c1 width changed from 0 to 10
Warning in <TCanvas::ResizePad>: Inf/NaN propagated to the pad. Check drawn objects.
Warning in <TCanvas::ResizePad>: c1 width changed from 0 to 10
root [3]
In
hepconvert
v1.3.3
thehepconvert add
CLI API runs without errors, though it seems to produce a file that, while does contain valid bin contents, can't be visualized correctly.Minimal reproducible example:
The histogram in the file does have valid bin content:
but when I try to inspect it with a
TBrowser
, the histogram fails to render on theTCanvas
and
root
gives a warning in the terminalAs a secondary check, if I use my local version of ROOT
to try to do the same thing with
hadd
then things work fine as expected
Aside: If I call the visualization commands from the ROOT repl, I get similar, but different errors: