Dear all,
I’m running root 5.28 on Mac OS X ( 10.6.8 ).
I have a macro that saves the final TCanvas as .png and .C.
The saved macro (see attachment MPV_MPP_radComp.C) doesn’t work:
What happens is that the
TH1F *t_MPP1_July_deg0_fl0e151__1
is created (line 29) but then it is passed to a TGraph with the wrong name (line 34, indeed):
gre->SetHistogram(t_MPP1_July_deg0_fl0e151);
This is true for alle the histos.
I attach also my macro (loopMPV.C).
Any input will be really appreciated.
Many thanks in advance,
Marco
loopMPV.C (3.93 KB)
MPV_MPP_radComp.C (6.96 KB)