Test generation of random numbers distributed according to a function defined by the user
Processing /mnt/build/workspace/root-makedoc-v614/rootspi/rdoc/src/v6-14-00-patches/tutorials/fit/qa2.C...
void qa2() {
TF1 *sqroot =
new TF1(
"sqroot",
"x*gaus(0) + [3]*form1",0,10);
TH1F *h1f =
new TH1F(
"h1f",
"Test random numbers",200,0,10);
}
- Author
- Rene Brun
Definition in file qa2.C.