i would like to plot a function f(g(x)). Is it possible to use something similar to TF1->draw but with hidden parameter x? I mean… can i set up the range of x but plot only g(x) and f(g(x)) ?
Not sure I understand your question. If you want to plot a composite function (e.g. a smeared function), then you can set the range for g(x):
TF1 * g = new TF1(“my_g”, my_g, 0., 100.0, N_parameters);
where you define x to be from 0 to 100.
You can then plot function f(y) = f(g(x)) from g_min to g_max.