Segmentation violation in c/c++ code

ROOT Version: 6.26,10
Platform: Ubuntu 22.04
Compiler: C/C++ code

Hi to every one.I run a code and it show me segmentation violation.When i run it,i use .x myprogram.C .I send the code,the root file
and the result:
the_differents_histograms.root (34.8 KB)

dokimi.C (21.2 KB)

Hello,

Thanks for the code and input file.
Unfortunately the error cannot be reproduced. I attach the plot I obtain.

Cheers,
D

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