#include "TCanvas.h"#include "TMath.h"#include "TH1.h"#include "TF1.h"#include "TRandom.h"#include "TSpectrum.h"#include "TVirtualFitter.h"Go to the source code of this file.
Functions | |
| Double_t | fpeaks (Double_t *x, Double_t *par) |
| void | peaks (Int_t np=10) |
Variables | |
| Int_t | npeaks = 30 |
| void peaks | ( | Int_t | np = 10 |
) |
Definition at line 38 of file peaks.C.
References TMath::Abs(), c1, TCanvas::cd(), TPad::Divide(), TH1::Fit(), TVirtualFitter::Fitter(), fline(), fpeaks(), gRandom, h, h2, npeaks, p, par, TRandom::Rndm(), s, TF1::SetNpx(), TFormula::SetParameters(), TMath::Sqrt(), and TCanvas::Update().
1.5.1