11 #ifndef ROOT_TSpectrum3 12 #define ROOT_TSpectrum3 51 Int_t SearchHighRes(
const Double_t ***source,
Double_t ***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(Double_t resolution=1)
NOT USED resolution: determines resolution of the neighbouring peaks default value is 1 correspond to...
Double_t * fPosition
[fNPeaks] array of current peak positions
Int_t fNPeaks
number of peaks found
Int_t SearchFast(const Double_t ***source, Double_t ***dest, Int_t ssizex, Int_t ssizey, Int_t ssizez, Double_t sigma, Double_t threshold, Bool_t markov, Int_t averWindow)
THREE-DIMENSIONAL CLASSICAL PEAK SEARCH FUNCTION This function searches for peaks in source spectrum ...
Double_t * GetPositionY() const
const char * SmoothMarkov(Double_t ***source, Int_t ssizex, Int_t ssizey, Int_t ssizez, Int_t averWindow)
This function calculates smoothed spectrum from source spectrum based on Markov chain method...
const char * Deconvolution(Double_t ***source, const Double_t ***resp, Int_t ssizex, Int_t ssizey, Int_t ssizez, Int_t numberIterations, Int_t numberRepetitions, Double_t boost)
This function calculates deconvolution from source spectrum according to response spectrum The result...
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
Double_t * fPositionZ
[fNPeaks] Z positions of peaks
virtual const char * Background(const TH1 *hist, Int_t niter, Option_t *option="goff")
This function calculates background spectrum from source in h.
Double_t * fPositionY
[fNPeaks] Y positions of peaks
Double_t fResolution
NOT USED resolution of the neighboring peaks
TH1 * GetHistogram() const
Double_t * GetPositionZ() const
LVector boost(const LVector &v, const BoostVector &b)
Boost a generic Lorentz Vector class using a generic 3D Vector class describing the boost The only re...
Advanced 3-dimensional spectra processing functions.
Int_t fMaxPeaks
Maximum number of peaks to be found.
Int_t SearchHighRes(const Double_t ***source, Double_t ***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)
This function searches for peaks in source spectrum It is based on deconvolution method.
TH1 * fHistogram
resulting histogram
Double_t * fPositionX
[fNPeaks] X positions of peaks
#define dest(otri, vertexptr)
virtual Int_t Search(const TH1 *hist, Double_t sigma=2, Option_t *option="goff", Double_t threshold=0.05)
This function searches for peaks in source spectrum in hin The number of found peaks and their positi...
Double_t * GetPositionX() const
virtual void Print(Option_t *option="") const
Print the array of positions.
virtual ~TSpectrum3()
Destructor.