#include <TSpectrum2.h>
Inheritance diagram for TSpectrum2:
Public Types | |
enum | |
enum | |
Public Member Functions | |
TSpectrum2 () | |
TSpectrum2 (Int_t maxpositions, Float_t resolution=1) | |
virtual | ~TSpectrum2 () |
virtual TH1 * | Background (const TH1 *hist, int niter=20, Option_t *option="") |
TH1 * | GetHistogram () const |
Int_t | GetNPeaks () const |
Float_t * | GetPositionX () const |
Float_t * | GetPositionY () const |
virtual void | Print (Option_t *option="") const |
virtual Int_t | Search (const TH1 *hist, Double_t sigma=2, Option_t *option="", Double_t threshold=0.05) |
void | SetResolution (Float_t resolution=1) |
const char * | Background (float **spectrum, Int_t ssizex, Int_t ssizey, Int_t numberIterationsX, Int_t numberIterationsY, Int_t direction, Int_t filterType) |
const char * | SmoothMarkov (float **source, Int_t ssizex, Int_t ssizey, Int_t averWindow) |
const char * | Deconvolution (float **source, float **resp, Int_t ssizex, Int_t ssizey, Int_t numberIterations, Int_t numberRepetitions, Double_t boost) |
Int_t | SearchHighRes (float **source, float **dest, Int_t ssizex, Int_t ssizey, Double_t sigma, Double_t threshold, Bool_t backgroundRemove, Int_t deconIterations, Bool_t markov, Int_t averWindow) |
TSpectrum2 () | |
TSpectrum2 (Int_t maxpositions, Float_t resolution=1) | |
virtual | ~TSpectrum2 () |
virtual TH1 * | Background (const TH1 *hist, int niter=20, Option_t *option="") |
TH1 * | GetHistogram () const |
Int_t | GetNPeaks () const |
Float_t * | GetPositionX () const |
Float_t * | GetPositionY () const |
virtual void | Print (Option_t *option="") const |
virtual Int_t | Search (const TH1 *hist, Double_t sigma=2, Option_t *option="", Double_t threshold=0.05) |
void | SetResolution (Float_t resolution=1) |
const char * | Background (float **spectrum, Int_t ssizex, Int_t ssizey, Int_t numberIterationsX, Int_t numberIterationsY, Int_t direction, Int_t filterType) |
const char * | SmoothMarkov (float **source, Int_t ssizex, Int_t ssizey, Int_t averWindow) |
const char * | Deconvolution (float **source, float **resp, Int_t ssizex, Int_t ssizey, Int_t numberIterations, Int_t numberRepetitions, Double_t boost) |
Int_t | SearchHighRes (float **source, float **dest, Int_t ssizex, Int_t ssizey, Double_t sigma, Double_t threshold, Bool_t backgroundRemove, Int_t deconIterations, Bool_t markov, Int_t averWindow) |
Static Public Member Functions | |
static void | SetAverageWindow (Int_t w=3) |
static void | SetDeconIterations (Int_t n=3) |
static Int_t | StaticSearch (const TH1 *hist, Double_t sigma=2, Option_t *option="goff", Double_t threshold=0.05) |
static TH1 * | StaticBackground (const TH1 *hist, Int_t niter=20, Option_t *option="") |
static void | SetAverageWindow (Int_t w=3) |
static void | SetDeconIterations (Int_t n=3) |
static Int_t | StaticSearch (const TH1 *hist, Double_t sigma=2, Option_t *option="goff", Double_t threshold=0.05) |
static TH1 * | StaticBackground (const TH1 *hist, Int_t niter=20, Option_t *option="") |
Protected Attributes | |
Int_t | fMaxPeaks |
Int_t | fNPeaks |
Float_t * | fPosition |
Float_t * | fPositionX |
Float_t * | fPositionY |
Float_t | fResolution |
TH1 * | fHistogram |
Float_t * | fPosition |
Float_t * | fPositionX |
Float_t * | fPositionY |
TH1 * | fHistogram |
Static Protected Attributes | |
static Int_t | fgAverageWindow |
static Int_t | fgIterations |
Definition at line 20 of file TSpectrum2.h.
anonymous enum |
Definition at line 33 of file TSpectrum2.h.
anonymous enum |
Definition at line 33 of file TSpectrum2.h.
TSpectrum2::TSpectrum2 | ( | ) |
Definition at line 110 of file TSpectrum2.cxx.
References fHistogram, fMaxPeaks, fNPeaks, fPosition, fPositionX, fPositionY, n, and SetResolution().
TSpectrum2::~TSpectrum2 | ( | ) | [virtual] |
Definition at line 131 of file TSpectrum2.cxx.
References fHistogram, fPosition, fPositionX, and fPositionY.
TSpectrum2::TSpectrum2 | ( | ) |
virtual TSpectrum2::~TSpectrum2 | ( | ) | [virtual] |
TH1* TSpectrum2::GetHistogram | ( | ) | const [inline] |
Int_t TSpectrum2::GetNPeaks | ( | ) | const [inline] |
Float_t* TSpectrum2::GetPositionX | ( | ) | const [inline] |
Float_t* TSpectrum2::GetPositionY | ( | ) | const [inline] |
void TSpectrum2::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TNamed.
Definition at line 208 of file TSpectrum2.cxx.
References fNPeaks, fPositionX, fPositionY, and i.
Int_t TSpectrum2::Search | ( | const TH1 * | hist, | |
Double_t | sigma = 2 , |
|||
Option_t * | option = "" , |
|||
Double_t | threshold = 0.05 | |||
) | [virtual] |
Definition at line 221 of file TSpectrum2.cxx.
References TList::Add(), background, TString::Contains(), TObject::Error(), fgAverageWindow, fgIterations, TList::FindObject(), fPositionX, fPositionY, TAxis::GetBinCenter(), TH1::GetBinContent(), TH1::GetDimension(), TH1::GetListOfFunctions(), TAxis::GetNbins(), TH1::GetXaxis(), TH1::GetYaxis(), i, j, kFALSE, kRed, kTRUE, npeaks, TList::Remove(), TString::ReplaceAll(), SearchHighRes(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), and TString::ToLower().
void TSpectrum2::SetAverageWindow | ( | Int_t | w = 3 |
) | [static] |
Definition at line 143 of file TSpectrum2.cxx.
References fgAverageWindow.
Referenced by G__G__Spectrum_113_0_10(), and G__setup_memfuncTSpectrum2().
void TSpectrum2::SetDeconIterations | ( | Int_t | n = 3 |
) | [static] |
Definition at line 152 of file TSpectrum2.cxx.
References fgIterations.
Referenced by G__G__Spectrum_113_0_11(), and G__setup_memfuncTSpectrum2().
void TSpectrum2::SetResolution | ( | Float_t | resolution = 1 |
) |
const char * TSpectrum2::Background | ( | float ** | spectrum, | |
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | numberIterationsX, | |||
Int_t | numberIterationsY, | |||
Int_t | direction, | |||
Int_t | filterType | |||
) |
Definition at line 348 of file TSpectrum2.cxx.
References a, b, i, int, kBackDecreasingWindow, kBackIncreasingWindow, kBackOneStepFiltering, kBackSuccessiveFiltering, TMath::Max(), TMath::Min(), p1(), p2(), p3(), p4(), r1, r2, s1, s2, x, and y.
const char * TSpectrum2::SmoothMarkov | ( | float ** | source, | |
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | averWindow | |||
) |
Definition at line 1005 of file TSpectrum2.cxx.
References a, b, TMath::Exp(), i, j, l, spy(), TMath::Sqrt(), xmax, xmin, ymax, and ymin.
const char * TSpectrum2::Deconvolution | ( | float ** | source, | |
float ** | resp, | |||
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | numberIterations, | |||
Int_t | numberRepetitions, | |||
Double_t | boost | |||
) |
Definition at line 1419 of file TSpectrum2.cxx.
References i, j, Rgl::Mc::k1, Rgl::Mc::k2, and TMath::Power().
Int_t TSpectrum2::SearchHighRes | ( | float ** | source, | |
float ** | dest, | |||
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Double_t | sigma, | |||
Double_t | threshold, | |||
Bool_t | backgroundRemove, | |||
Int_t | deconIterations, | |||
Bool_t | markov, | |||
Int_t | averWindow | |||
) |
Definition at line 2138 of file TSpectrum2.cxx.
References a, TMath::Abs(), b, double, TObject::Error(), TMath::Exp(), fMaxPeaks, fNPeaks, fPositionX, fPositionY, i, int, j, k, Rgl::Mc::k1, Rgl::Mc::k2, l, p1(), p2(), p3(), p4(), PEAK_WINDOW, s1, s2, spy(), TMath::Sqrt(), x, xmax, xmin, y, ymax, and ymin.
Referenced by Search().
Int_t TSpectrum2::StaticSearch | ( | const TH1 * | hist, | |
Double_t | sigma = 2 , |
|||
Option_t * | option = "goff" , |
|||
Double_t | threshold = 0.05 | |||
) | [static] |
Definition at line 3465 of file TSpectrum2.cxx.
Referenced by G__G__Spectrum_113_0_17(), and G__setup_memfuncTSpectrum2().
TH1 * TSpectrum2::StaticBackground | ( | const TH1 * | hist, | |
Int_t | niter = 20 , |
|||
Option_t * | option = "" | |||
) | [static] |
Definition at line 3474 of file TSpectrum2.cxx.
Referenced by G__G__Spectrum_113_0_18(), and G__setup_memfuncTSpectrum2().
virtual TH1* TSpectrum2::Background | ( | const TH1 * | hist, | |
int | niter = 20 , |
|||
Option_t * | option = "" | |||
) | [virtual] |
TH1* TSpectrum2::GetHistogram | ( | ) | const [inline] |
Int_t TSpectrum2::GetNPeaks | ( | ) | const [inline] |
Float_t* TSpectrum2::GetPositionX | ( | ) | const [inline] |
Float_t* TSpectrum2::GetPositionY | ( | ) | const [inline] |
virtual void TSpectrum2::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TNamed.
virtual Int_t TSpectrum2::Search | ( | const TH1 * | hist, | |
Double_t | sigma = 2 , |
|||
Option_t * | option = "" , |
|||
Double_t | threshold = 0.05 | |||
) | [virtual] |
static void TSpectrum2::SetAverageWindow | ( | Int_t | w = 3 |
) | [static] |
static void TSpectrum2::SetDeconIterations | ( | Int_t | n = 3 |
) | [static] |
void TSpectrum2::SetResolution | ( | Float_t | resolution = 1 |
) |
const char* TSpectrum2::Background | ( | float ** | spectrum, | |
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | numberIterationsX, | |||
Int_t | numberIterationsY, | |||
Int_t | direction, | |||
Int_t | filterType | |||
) |
const char* TSpectrum2::SmoothMarkov | ( | float ** | source, | |
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | averWindow | |||
) |
const char* TSpectrum2::Deconvolution | ( | float ** | source, | |
float ** | resp, | |||
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | numberIterations, | |||
Int_t | numberRepetitions, | |||
Double_t | boost | |||
) |
Int_t TSpectrum2::SearchHighRes | ( | float ** | source, | |
float ** | dest, | |||
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Double_t | sigma, | |||
Double_t | threshold, | |||
Bool_t | backgroundRemove, | |||
Int_t | deconIterations, | |||
Bool_t | markov, | |||
Int_t | averWindow | |||
) |
static Int_t TSpectrum2::StaticSearch | ( | const TH1 * | hist, | |
Double_t | sigma = 2 , |
|||
Option_t * | option = "goff" , |
|||
Double_t | threshold = 0.05 | |||
) | [static] |
static TH1* TSpectrum2::StaticBackground | ( | const TH1 * | hist, | |
Int_t | niter = 20 , |
|||
Option_t * | option = "" | |||
) | [static] |
Int_t TSpectrum2::fMaxPeaks [protected] |
Int_t TSpectrum2::fNPeaks [protected] |
Definition at line 23 of file TSpectrum2.h.
Referenced by GetNPeaks(), Print(), SearchHighRes(), and TSpectrum2().
Float_t* TSpectrum2::fPosition [protected] |
Float_t* TSpectrum2::fPositionX [protected] |
Definition at line 25 of file TSpectrum2.h.
Referenced by GetPositionX(), Print(), Search(), SearchHighRes(), TSpectrum2(), and ~TSpectrum2().
Float_t* TSpectrum2::fPositionY [protected] |
Definition at line 26 of file TSpectrum2.h.
Referenced by GetPositionY(), Print(), Search(), SearchHighRes(), TSpectrum2(), and ~TSpectrum2().
Float_t TSpectrum2::fResolution [protected] |
TH1* TSpectrum2::fHistogram [protected] |
Definition at line 28 of file TSpectrum2.h.
Referenced by GetHistogram(), TSpectrum2(), and ~TSpectrum2().
static Int_t TSpectrum2::fgAverageWindow [static, protected] |
static Int_t TSpectrum2::fgIterations [static, protected] |
Float_t* TSpectrum2::fPosition [protected] |
Definition at line 24 of file TSpectrum2.h.
Float_t* TSpectrum2::fPositionX [protected] |
Definition at line 25 of file TSpectrum2.h.
Float_t* TSpectrum2::fPositionY [protected] |
Definition at line 26 of file TSpectrum2.h.
TH1* TSpectrum2::fHistogram [protected] |
Definition at line 28 of file TSpectrum2.h.