Add a line a existing histogram

Dear experts, I have a problem: I have already get all my histograms from my code that I have with geant4 now I want to add a line on each histogram which will show the nominal value excepted and will overlay a red line on each plot indicating the expected value. Please can you have any about this, I attach the code in order that you appreciates.

great thanks advance

D1.24.07.2018.tar.gz (494.7 KB)

The simplest is to draw a TLine.

Dear Olivier great Thanks, it has help me.

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