#include <TSpectrum3.h>
Inheritance diagram for TSpectrum3:
Public Types | |
enum | |
enum | |
Public Member Functions | |
TSpectrum3 () | |
TSpectrum3 (Int_t maxpositions, Float_t resolution=1) | |
virtual | ~TSpectrum3 () |
virtual const char * | Background (const TH1 *hist, int niter, Option_t *option="goff") |
const char * | Background (float ***spectrum, Int_t ssizex, Int_t ssizey, Int_t ssizez, Int_t numberIterationsX, Int_t numberIterationsY, Int_t numberIterationsZ, Int_t direction, Int_t filterType) |
const char * | Deconvolution (float ***source, const float ***resp, Int_t ssizex, Int_t ssizey, Int_t ssizez, Int_t numberIterations, Int_t numberRepetitions, Double_t boost) |
TH1 * | GetHistogram () const |
Int_t | GetNPeaks () const |
Float_t * | GetPositionX () const |
Float_t * | GetPositionY () const |
Float_t * | GetPositionZ () const |
virtual void | Print (Option_t *option="") const |
virtual Int_t | Search (const TH1 *hist, Double_t sigma=2, Option_t *option="goff", Double_t threshold=0.05) |
Int_t | SearchFast (const float ***source, float ***dest, Int_t ssizex, Int_t ssizey, Int_t ssizez, Double_t sigma, Double_t threshold, Bool_t markov, Int_t averWindow) |
Int_t | SearchHighRes (const float ***source, float ***dest, Int_t ssizex, Int_t ssizey, Int_t ssizez, Double_t sigma, Double_t threshold, Bool_t backgroundRemove, Int_t deconIterations, Bool_t markov, Int_t averWindow) |
void | SetResolution (Float_t resolution=1) |
const char * | SmoothMarkov (float ***source, Int_t ssizex, Int_t ssizey, Int_t ssizez, Int_t averWindow) |
TSpectrum3 () | |
TSpectrum3 (Int_t maxpositions, Float_t resolution=1) | |
virtual | ~TSpectrum3 () |
virtual const char * | Background (const TH1 *hist, int niter, Option_t *option="goff") |
const char * | Background (float ***spectrum, Int_t ssizex, Int_t ssizey, Int_t ssizez, Int_t numberIterationsX, Int_t numberIterationsY, Int_t numberIterationsZ, Int_t direction, Int_t filterType) |
const char * | Deconvolution (float ***source, const float ***resp, Int_t ssizex, Int_t ssizey, Int_t ssizez, Int_t numberIterations, Int_t numberRepetitions, Double_t boost) |
TH1 * | GetHistogram () const |
Int_t | GetNPeaks () const |
Float_t * | GetPositionX () const |
Float_t * | GetPositionY () const |
Float_t * | GetPositionZ () const |
virtual void | Print (Option_t *option="") const |
virtual Int_t | Search (const TH1 *hist, Double_t sigma=2, Option_t *option="goff", Double_t threshold=0.05) |
Int_t | SearchFast (const float ***source, float ***dest, Int_t ssizex, Int_t ssizey, Int_t ssizez, Double_t sigma, Double_t threshold, Bool_t markov, Int_t averWindow) |
Int_t | SearchHighRes (const float ***source, float ***dest, Int_t ssizex, Int_t ssizey, Int_t ssizez, Double_t sigma, Double_t threshold, Bool_t backgroundRemove, Int_t deconIterations, Bool_t markov, Int_t averWindow) |
void | SetResolution (Float_t resolution=1) |
const char * | SmoothMarkov (float ***source, Int_t ssizex, Int_t ssizey, Int_t ssizez, Int_t averWindow) |
Protected Attributes | |
Int_t | fMaxPeaks |
Int_t | fNPeaks |
Float_t * | fPosition |
Float_t * | fPositionX |
Float_t * | fPositionY |
Float_t * | fPositionZ |
Float_t | fResolution |
TH1 * | fHistogram |
Float_t * | fPosition |
Float_t * | fPositionX |
Float_t * | fPositionY |
Float_t * | fPositionZ |
TH1 * | fHistogram |
Definition at line 20 of file TSpectrum3.h.
anonymous enum |
Definition at line 32 of file TSpectrum3.h.
anonymous enum |
Definition at line 32 of file TSpectrum3.h.
TSpectrum3::TSpectrum3 | ( | ) |
Referenced by G__G__Spectrum_117_0_2(), and G__G__Spectrum_117_0_29().
Definition at line 79 of file TSpectrum3.cxx.
References fHistogram, fMaxPeaks, fNPeaks, fPosition, fPositionX, fPositionY, fPositionZ, TMath::Max(), n, and SetResolution().
TSpectrum3::~TSpectrum3 | ( | ) | [virtual] |
Definition at line 100 of file TSpectrum3.cxx.
References fHistogram, fPosition, fPositionX, fPositionY, and fPositionZ.
TSpectrum3::TSpectrum3 | ( | ) |
virtual TSpectrum3::~TSpectrum3 | ( | ) | [virtual] |
const char * TSpectrum3::Background | ( | const TH1 * | hist, | |
int | niter, | |||
Option_t * | option = "goff" | |||
) | [virtual] |
Definition at line 112 of file TSpectrum3.cxx.
References TObject::Error(), and h.
Referenced by G__G__Spectrum_113_0_13(), G__G__Spectrum_113_0_3(), G__G__Spectrum_117_0_3(), G__G__Spectrum_117_0_4(), G__G__Spectrum_121_0_15(), and G__G__Spectrum_121_0_5().
const char * TSpectrum3::Background | ( | float *** | spectrum, | |
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | ssizez, | |||
Int_t | numberIterationsX, | |||
Int_t | numberIterationsY, | |||
Int_t | numberIterationsZ, | |||
Int_t | direction, | |||
Int_t | filterType | |||
) |
Definition at line 243 of file TSpectrum3.cxx.
References a, b, c, d, i, int, j, kBackDecreasingWindow, kBackIncreasingWindow, kBackOneStepFiltering, kBackSuccessiveFiltering, TMath::Max(), TMath::Min(), p1(), p2(), p3(), p4(), r1, r2, r3, r4, r5, r6, s1, s2, x, and y.
const char * TSpectrum3::Deconvolution | ( | float *** | source, | |
const float *** | resp, | |||
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | ssizez, | |||
Int_t | numberIterations, | |||
Int_t | numberRepetitions, | |||
Double_t | boost | |||
) |
Definition at line 1842 of file TSpectrum3.cxx.
References i, j, k, Rgl::Mc::k1, Rgl::Mc::k2, Rgl::Mc::k3, and TMath::Power().
Referenced by G__G__Spectrum_113_0_15(), G__G__Spectrum_117_0_5(), and G__G__Spectrum_121_0_17().
TH1* TSpectrum3::GetHistogram | ( | ) | const [inline] |
Definition at line 45 of file TSpectrum3.h.
References fHistogram.
Referenced by G__G__Spectrum_113_0_4(), G__G__Spectrum_117_0_6(), and G__G__Spectrum_121_0_6().
Int_t TSpectrum3::GetNPeaks | ( | ) | const [inline] |
Definition at line 46 of file TSpectrum3.h.
References fNPeaks.
Referenced by G__G__Spectrum_113_0_5(), G__G__Spectrum_117_0_7(), and G__G__Spectrum_121_0_7().
Float_t* TSpectrum3::GetPositionX | ( | ) | const [inline] |
Definition at line 47 of file TSpectrum3.h.
References fPositionX.
Referenced by G__G__Spectrum_113_0_6(), G__G__Spectrum_117_0_8(), and G__G__Spectrum_121_0_8().
Float_t* TSpectrum3::GetPositionY | ( | ) | const [inline] |
Definition at line 48 of file TSpectrum3.h.
References fPositionY.
Referenced by G__G__Spectrum_113_0_7(), G__G__Spectrum_117_0_9(), and G__G__Spectrum_121_0_9().
Float_t* TSpectrum3::GetPositionZ | ( | ) | const [inline] |
Definition at line 49 of file TSpectrum3.h.
References fPositionZ.
Referenced by G__G__Spectrum_117_0_10().
void TSpectrum3::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TNamed.
Definition at line 132 of file TSpectrum3.cxx.
References fNPeaks, fPositionX, fPositionY, fPositionZ, and i.
Int_t TSpectrum3::Search | ( | const TH1 * | hist, | |
Double_t | sigma = 2 , |
|||
Option_t * | option = "goff" , |
|||
Double_t | threshold = 0.05 | |||
) | [virtual] |
Definition at line 145 of file TSpectrum3.cxx.
References TObject::Error(), fPositionX, fPositionY, fPositionZ, TAxis::GetBinCenter(), TH1::GetBinContent(), TH1::GetDimension(), TAxis::GetNbins(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), i, j, k, kFALSE, kTRUE, npeaks, and SearchHighRes().
Referenced by G__G__Spectrum_113_0_9(), G__G__Spectrum_117_0_12(), and G__G__Spectrum_121_0_11().
Int_t TSpectrum3::SearchFast | ( | const float *** | source, | |
float *** | dest, | |||
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | ssizez, | |||
Double_t | sigma, | |||
Double_t | threshold, | |||
Bool_t | markov, | |||
Int_t | averWindow | |||
) |
Definition at line 4087 of file TSpectrum3.cxx.
References a, TMath::Abs(), b, c, TObject::Error(), TMath::Exp(), fMaxPeaks, fNPeaks, fPositionX, fPositionY, fPositionZ, i, int, j, k, l, p1(), p2(), p3(), p4(), PEAK_WINDOW, r1, r2, r3, r4, r5, r6, s, s1, s2, spy(), TMath::Sqrt(), sqrt(), val, x, xmax, xmin, y, ymax, and ymin.
Referenced by G__G__Spectrum_117_0_13().
Int_t TSpectrum3::SearchHighRes | ( | const float *** | source, | |
float *** | dest, | |||
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | ssizez, | |||
Double_t | sigma, | |||
Double_t | threshold, | |||
Bool_t | backgroundRemove, | |||
Int_t | deconIterations, | |||
Bool_t | markov, | |||
Int_t | averWindow | |||
) |
Definition at line 2542 of file TSpectrum3.cxx.
References a, TMath::Abs(), b, double, TObject::Error(), TMath::Exp(), exp(), fMaxPeaks, fNPeaks, fPositionX, fPositionY, fPositionZ, i, int, j, k, Rgl::Mc::k1, Rgl::Mc::k2, Rgl::Mc::k3, l, p1(), p2(), p3(), p4(), PEAK_WINDOW, r1, r2, r3, r4, r5, r6, s1, s2, spy(), TMath::Sqrt(), x, xmax, xmin, y, ymax, and ymin.
Referenced by G__G__Spectrum_113_0_16(), G__G__Spectrum_117_0_14(), G__G__Spectrum_121_0_20(), and Search().
void TSpectrum3::SetResolution | ( | Float_t | resolution = 1 |
) |
Definition at line 229 of file TSpectrum3.cxx.
References fResolution.
Referenced by G__G__Spectrum_113_0_12(), G__G__Spectrum_117_0_15(), G__G__Spectrum_121_0_14(), and TSpectrum3().
const char * TSpectrum3::SmoothMarkov | ( | float *** | source, | |
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | ssizez, | |||
Int_t | averWindow | |||
) |
Definition at line 1045 of file TSpectrum3.cxx.
References a, b, TMath::Exp(), i, j, k, l, spy(), TMath::Sqrt(), xmax, xmin, ymax, and ymin.
Referenced by G__G__Spectrum_113_0_14(), G__G__Spectrum_117_0_16(), and G__G__Spectrum_121_0_16().
virtual const char* TSpectrum3::Background | ( | const TH1 * | hist, | |
int | niter, | |||
Option_t * | option = "goff" | |||
) | [virtual] |
const char* TSpectrum3::Background | ( | float *** | spectrum, | |
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | ssizez, | |||
Int_t | numberIterationsX, | |||
Int_t | numberIterationsY, | |||
Int_t | numberIterationsZ, | |||
Int_t | direction, | |||
Int_t | filterType | |||
) |
const char* TSpectrum3::Deconvolution | ( | float *** | source, | |
const float *** | resp, | |||
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | ssizez, | |||
Int_t | numberIterations, | |||
Int_t | numberRepetitions, | |||
Double_t | boost | |||
) |
TH1* TSpectrum3::GetHistogram | ( | ) | const [inline] |
Int_t TSpectrum3::GetNPeaks | ( | ) | const [inline] |
Float_t* TSpectrum3::GetPositionX | ( | ) | const [inline] |
Float_t* TSpectrum3::GetPositionY | ( | ) | const [inline] |
Float_t* TSpectrum3::GetPositionZ | ( | ) | const [inline] |
virtual void TSpectrum3::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TNamed.
virtual Int_t TSpectrum3::Search | ( | const TH1 * | hist, | |
Double_t | sigma = 2 , |
|||
Option_t * | option = "goff" , |
|||
Double_t | threshold = 0.05 | |||
) | [virtual] |
Int_t TSpectrum3::SearchFast | ( | const float *** | source, | |
float *** | dest, | |||
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | ssizez, | |||
Double_t | sigma, | |||
Double_t | threshold, | |||
Bool_t | markov, | |||
Int_t | averWindow | |||
) |
Int_t TSpectrum3::SearchHighRes | ( | const float *** | source, | |
float *** | dest, | |||
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | ssizez, | |||
Double_t | sigma, | |||
Double_t | threshold, | |||
Bool_t | backgroundRemove, | |||
Int_t | deconIterations, | |||
Bool_t | markov, | |||
Int_t | averWindow | |||
) |
void TSpectrum3::SetResolution | ( | Float_t | resolution = 1 |
) |
const char* TSpectrum3::SmoothMarkov | ( | float *** | source, | |
Int_t | ssizex, | |||
Int_t | ssizey, | |||
Int_t | ssizez, | |||
Int_t | averWindow | |||
) |
Int_t TSpectrum3::fMaxPeaks [protected] |
Definition at line 22 of file TSpectrum3.h.
Referenced by SearchFast(), SearchHighRes(), and TSpectrum3().
Int_t TSpectrum3::fNPeaks [protected] |
Definition at line 23 of file TSpectrum3.h.
Referenced by GetNPeaks(), Print(), SearchFast(), SearchHighRes(), and TSpectrum3().
Float_t* TSpectrum3::fPosition [protected] |
Float_t* TSpectrum3::fPositionX [protected] |
Definition at line 25 of file TSpectrum3.h.
Referenced by GetPositionX(), Print(), Search(), SearchFast(), SearchHighRes(), TSpectrum3(), and ~TSpectrum3().
Float_t* TSpectrum3::fPositionY [protected] |
Definition at line 26 of file TSpectrum3.h.
Referenced by GetPositionY(), Print(), Search(), SearchFast(), SearchHighRes(), TSpectrum3(), and ~TSpectrum3().
Float_t* TSpectrum3::fPositionZ [protected] |
Definition at line 27 of file TSpectrum3.h.
Referenced by GetPositionZ(), Print(), Search(), SearchFast(), SearchHighRes(), TSpectrum3(), and ~TSpectrum3().
Float_t TSpectrum3::fResolution [protected] |
TH1* TSpectrum3::fHistogram [protected] |
Definition at line 29 of file TSpectrum3.h.
Referenced by GetHistogram(), TSpectrum3(), and ~TSpectrum3().
Float_t* TSpectrum3::fPosition [protected] |
Definition at line 24 of file TSpectrum3.h.
Float_t* TSpectrum3::fPositionX [protected] |
Definition at line 25 of file TSpectrum3.h.
Float_t* TSpectrum3::fPositionY [protected] |
Definition at line 26 of file TSpectrum3.h.
Float_t* TSpectrum3::fPositionZ [protected] |
Definition at line 27 of file TSpectrum3.h.
TH1* TSpectrum3::fHistogram [protected] |
Definition at line 29 of file TSpectrum3.h.