Hello,
I am trying to figure out how to use a skewed gaussian to fit my data. In the process of searching for how to implement this in root, I came across the following resource that seems relevant, but I am unsure about one thing.
Resource:
https://root.cern.ch/root/roottalk/roottalk04/att-2524/01-fnc.C
My question:
What does (x<[1])
do in the following line?
TF1 *sgf = new TF1("sgf","[0]*exp(-0.5*pow((x-[1])/([2]+(x<[1])*[3]*(x-[1])),2))");
Does anyone have a better recommendation of how to implement a skewed gaussian?
Thank you very much for your help!