How to print the formula expression used in generic pdf from a workspace

Hi all,

In the following attached code, the generic pdf is imported to a workspace and saved to a root file. In the next step, I need to access the workspace and change the coefficients in the formula expression and then rewrite to the workspace. Is it possible ? A small (generalised) code and the output root file are attached here.

thank you.
cheers - Niladri
wspace_signal.root (7.48 KB) (739 Bytes)


You should be able to write a new generic pdf and replace it in the workspace. For doing this you can use the EDIT functionality of the workspace. See for example the tutorial