Diapositive PPT
- On a vu comment faire un fit sur un spectre avec l'interface graphique...
- Comment fitter à partir de la ligne de commande ? ou dans un script ?
gStyle->SetOptFit(kTRUE)
TH1F *h = new TH1F("h","Un exemple de fit",100,-2,2)
h->FillRandom("gaus",10000)
h->Fit("gaus","V","E1",-1,1.5)
options d'affichage du spectre (p.36)