Facilities for advanced spectral analysis. More...
#include "NcSpectrum.h"
Facilities for advanced spectral analysis.
Definition at line 26 of file NcSpectrum.h.
Public Types | |
| enum | { kBackOrder2 =0 , kBackOrder4 =1 , kBackOrder6 =2 , kBackOrder8 =3 , kBackIncreasingWindow =0 , kBackDecreasingWindow =1 , kBackSmoothing3 =3 , kBackSmoothing5 =5 , kBackSmoothing7 =7 , kBackSmoothing9 =9 , kBackSmoothing11 =11 , kBackSmoothing13 =13 , kBackSmoothing15 =15 } |
Public Member Functions | |
| NcSpectrum () | |
| NcSpectrum (Int_t maxpositions, Float_t resolution=1) | |
| virtual | ~NcSpectrum () |
| virtual TH1 * | Background (const TH1 *hist, Int_t niter=20, Option_t *option="") |
| const char * | Background (float *spectrum, Int_t ssize, Int_t numberIterations, Int_t direction, Int_t filterOrder, bool smoothing, Int_t smoothWindow, bool compton) |
| const char * | Deconvolution (float *source, const float *response, Int_t ssize, Int_t numberIterations, Int_t numberRepetitions, Double_t boost) |
| const char * | DeconvolutionRL (float *source, const float *response, Int_t ssize, Int_t numberIterations, Int_t numberRepetitions, Double_t boost) |
| 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) |
| Int_t | Search1HighRes (float *source, float *destVector, Int_t ssize, float sigma, Double_t threshold, bool backgroundRemove, Int_t deconIterations, bool markov, Int_t averWindow) |
| Int_t | SearchHighRes (float *source, float *destVector, Int_t ssize, float sigma, Double_t threshold, bool backgroundRemove, Int_t deconIterations, bool markov, Int_t averWindow) |
| void | SetResolution (Float_t resolution=1) |
| const char * | SmoothMarkov (float *source, Int_t ssize, Int_t averWindow) |
| const char * | Unfolding (float *source, const float **respMatrix, Int_t ssizex, Int_t ssizey, Int_t numberIterations, Int_t numberRepetitions, Double_t boost) |
Static Public Member Functions | |
| static void | SetAverageWindow (Int_t w=3) |
| static void | SetDeconIterations (Int_t n=3) |
| static TH1 * | StaticBackground (const TH1 *hist, Int_t niter=20, Option_t *option="") |
| static Int_t | StaticSearch (const TH1 *hist, Double_t sigma=2, Option_t *option="goff", Double_t threshold=0.05) |
Protected Attributes | |
| TH1 * | fHistogram |
| Int_t | fMaxPeaks |
| Int_t | fNPeaks |
| Float_t * | fPosition |
| Float_t * | fPositionX |
| Float_t * | fPositionY |
| Float_t | fResolution |
Static Protected Attributes | |
| static Int_t | fgAverageWindow = 3 |
| static Int_t | fgIterations = 3 |
Private Member Functions | |
| NcSpectrum (const NcSpectrum &) | |
| NcSpectrum & | operator= (const NcSpectrum &) |
| anonymous enum |
Definition at line 44 of file NcSpectrum.h.
|
private |
| NcSpectrum::NcSpectrum | ( | ) |
Definition at line 83 of file NcSpectrum.cxx.
| NcSpectrum::NcSpectrum | ( | Int_t | maxpositions, |
| Float_t | resolution = 1 ) |
Definition at line 103 of file NcSpectrum.cxx.
|
virtual |
Definition at line 130 of file NcSpectrum.cxx.
|
virtual |
| const char * NcSpectrum::Background | ( | float * | spectrum, |
| Int_t | ssize, | ||
| Int_t | numberIterations, | ||
| Int_t | direction, | ||
| Int_t | filterOrder, | ||
| bool | smoothing, | ||
| Int_t | smoothWindow, | ||
| bool | compton ) |
| const char * NcSpectrum::Deconvolution | ( | float * | source, |
| const float * | response, | ||
| Int_t | ssize, | ||
| Int_t | numberIterations, | ||
| Int_t | numberRepetitions, | ||
| Double_t | boost ) |
Definition at line 1659 of file NcSpectrum.cxx.
| const char * NcSpectrum::DeconvolutionRL | ( | float * | source, |
| const float * | response, | ||
| Int_t | ssize, | ||
| Int_t | numberIterations, | ||
| Int_t | numberRepetitions, | ||
| Double_t | boost ) |
Definition at line 2063 of file NcSpectrum.cxx.
|
inline |
Definition at line 64 of file NcSpectrum.h.
|
inline |
Definition at line 65 of file NcSpectrum.h.
|
inline |
Definition at line 66 of file NcSpectrum.h.
|
inline |
Definition at line 67 of file NcSpectrum.h.
|
private |
|
virtual |
Definition at line 279 of file NcSpectrum.cxx.
|
virtual |
Definition at line 295 of file NcSpectrum.cxx.
| Int_t NcSpectrum::Search1HighRes | ( | float * | source, |
| float * | destVector, | ||
| Int_t | ssize, | ||
| float | sigma, | ||
| Double_t | threshold, | ||
| bool | backgroundRemove, | ||
| Int_t | deconIterations, | ||
| bool | markov, | ||
| Int_t | averWindow ) |
Definition at line 3215 of file NcSpectrum.cxx.
| Int_t NcSpectrum::SearchHighRes | ( | float * | source, |
| float * | destVector, | ||
| Int_t | ssize, | ||
| float | sigma, | ||
| Double_t | threshold, | ||
| bool | backgroundRemove, | ||
| Int_t | deconIterations, | ||
| bool | markov, | ||
| Int_t | averWindow ) |
Definition at line 2564 of file NcSpectrum.cxx.
|
static |
Definition at line 146 of file NcSpectrum.cxx.
|
static |
Definition at line 160 of file NcSpectrum.cxx.
| void NcSpectrum::SetResolution | ( | Float_t | resolution = 1 | ) |
Definition at line 414 of file NcSpectrum.cxx.
| const char * NcSpectrum::SmoothMarkov | ( | float * | source, |
| Int_t | ssize, | ||
| Int_t | averWindow ) |
Definition at line 1516 of file NcSpectrum.cxx.
|
static |
Definition at line 3247 of file NcSpectrum.cxx.
|
static |
Definition at line 3233 of file NcSpectrum.cxx.
| const char * NcSpectrum::Unfolding | ( | float * | source, |
| const float ** | respMatrix, | ||
| Int_t | ssizex, | ||
| Int_t | ssizey, | ||
| Int_t | numberIterations, | ||
| Int_t | numberRepetitions, | ||
| Double_t | boost ) |
Definition at line 2312 of file NcSpectrum.cxx.
|
staticprotected |
Definition at line 40 of file NcSpectrum.h.
|
staticprotected |
Definition at line 41 of file NcSpectrum.h.
|
protected |
Definition at line 39 of file NcSpectrum.h.
|
protected |
Definition at line 33 of file NcSpectrum.h.
|
protected |
Definition at line 34 of file NcSpectrum.h.
|
protected |
Definition at line 35 of file NcSpectrum.h.
|
protected |
Definition at line 36 of file NcSpectrum.h.
|
protected |
Definition at line 37 of file NcSpectrum.h.
|
protected |
Definition at line 38 of file NcSpectrum.h.