Easy way to change the values of a branch in TTree::Draw()

Hi all,

I wonder if there is an easy way to multiply, for example, the value of a branch in the TTree::Draw method, without change the original value of the branch?

I want to do something like this:

I have a tree with the branches var and time:

float b = 2;


When I multiply the branch time by a number 2, it works. But it doesn’t work when I multiply by a variable b.

Thank you.

May be a possible way is:

Double_t b=2.;