Error "ResizePad"

Continuing the discussion from Projection on a axis from TH2D:


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Hi everyone!
I make this code but I meet this error:

Please help me how to fix it Try.zip (2.3 MB)

@couet could you please take a look? Thanks!

I do not see this error. I get only:

root [0] 
Processing plot_th23dcp.C...
In file included from input_line_12:1:
/Users/couet/Downloads/Try/plot_th23dcp.C:394:32: warning: implicit conversion from 'double' to 'Width_t' (aka 'short') changes value from 1.85 to 1 [-Wliteral-conversion]
    t2kStyle->SetHistLineWidth(1.85);
              ~~~~~~~~~~~~~~~~ ^~~~

Because the parameter of SetHistLineWidth is an int

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.