#include "TSpectrum2.h"#include "TCanvas.h"#include "TRandom.h"#include "TH2.h"#include "TF2.h"#include "TMath.h"#include "TROOT.h"Go to the source code of this file.
Functions | |
| Double_t | fpeaks2 (Double_t *x, Double_t *par) |
| void | findPeak2 () |
| void | peaks2 (Int_t maxpeaks=50) |
Variables | |
| TSpectrum2 * | s |
| TH2F * | h2 = 0 |
| Int_t | npeaks = 30 |
| void findPeak2 | ( | ) |
Definition at line 39 of file peaks2.C.
References TMath::Abs(), c1, f2, TH2::FillRandom(), TCollection::FindObject(), fpeaks2(), TROOT::GetListOfCanvases(), gRandom, gROOT, h2, nf, npeaks, p, par, s, TF1::SetNpx(), TF2::SetNpy(), TFormula::SetParameters(), TH1::SetStats(), TRandom::Uniform(), TCanvas::Update(), TPad::WaitPrimitive(), xmax, xmin, ymax, and ymin.
Referenced by peaks2().
| void peaks2 | ( | Int_t | maxpeaks = 50 |
) |
Definition at line 103 of file peaks2.C.
References findPeak2(), gRandom, i, npeaks, s, and TRandom::Uniform().
1.5.1