15#include "TPolyMarker.h"
16#include "TVirtualPad.h"
61 NcSpectrum(Int_t maxpositions, Float_t resolution=1);
63 virtual TH1 *
Background(
const TH1 *hist,Int_t niter=20, Option_t *option=
"");
68 virtual void Print(Option_t *option=
"")
const;
69 virtual Int_t
Search(
const TH1 *hist, Double_t sigma=2, Option_t *option=
"", Double_t threshold=0.05);
75 const char *
Background(
float *spectrum, Int_t ssize,Int_t numberIterations,Int_t direction, Int_t filterOrder,
bool smoothing,Int_t smoothWindow,
bool compton);
76 const char *
SmoothMarkov(
float *source, Int_t ssize, Int_t averWindow);
77 const char *
Deconvolution(
float *source,
const float *response,Int_t ssize, Int_t numberIterations,Int_t numberRepetitions, Double_t boost );
78 const char *
DeconvolutionRL(
float *source,
const float *response,Int_t ssize, Int_t numberIterations,Int_t numberRepetitions, Double_t boost );
79 const char *
Unfolding(
float *source,
const float **respMatrix,Int_t ssizex, Int_t ssizey,Int_t numberIterations,Int_t numberRepetitions, Double_t boost);
80 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);
81 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);
83 static Int_t
StaticSearch(
const TH1 *hist, Double_t sigma=2, Option_t *option=
"goff", Double_t threshold=0.05);
84 static TH1 *
StaticBackground(
const TH1 *hist,Int_t niter=20, Option_t *option=
"");
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)
virtual Int_t Search(const TH1 *hist, Double_t sigma=2, Option_t *option="", Double_t threshold=0.05)
NcSpectrum & operator=(const NcSpectrum &)
static Int_t fgAverageWindow
static void SetDeconIterations(Int_t n=3)
const char * Deconvolution(float *source, const float *response, Int_t ssize, Int_t numberIterations, Int_t numberRepetitions, Double_t boost)
const char * Background(float *spectrum, Int_t ssize, Int_t numberIterations, Int_t direction, Int_t filterOrder, bool smoothing, Int_t smoothWindow, bool compton)
static Int_t fgIterations
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)
NcSpectrum(const NcSpectrum &)
Float_t * GetPositionX() const
virtual void Print(Option_t *option="") const
TH1 * GetHistogram() const
static void SetAverageWindow(Int_t w=3)
const char * SmoothMarkov(float *source, Int_t ssize, Int_t averWindow)
void SetResolution(Float_t resolution=1)
const char * Unfolding(float *source, const float **respMatrix, Int_t ssizex, Int_t ssizey, 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)
Float_t * GetPositionY() const
virtual TH1 * Background(const TH1 *hist, Int_t niter=20, Option_t *option="")