I have a compiled macro where I tried to use the method TCanvas::SaveSource();
The Canvas, among many other things, holds a TPaveText object with a few lines of text.
When reprocessing with CINT the ‘.C’ file obatined, this object is not present.
If I save the Canvas manually from the window menu the problem doesn’t occur.
By diffing the 2 source file I see:
[code]< TPaveText *pt = new TPaveText(0.12,0.58,0.32,0.88,“brNDC”);
TPaveText *pt = new TPaveText(-6.96253e+87,-5.51628e+116,-4.37045e+145,-3.46263e+174,“brNDC”);[/code]
where the first one is the working source. Clearly (to me) the pave is saved with senseless coordinates when done by calling the method in the macro.
Did anybody hit such a strange problem before?