GSI Object Oriented Online Offline (Go4) GO4-6.4.5
Loading...
Searching...
No Matches
TGo4FitPeakFinder Class Reference

Peak finder action. More...

#include <TGo4FitPeakFinder.h>

Inheritance diagram for TGo4FitPeakFinder:

Public Member Functions

 TGo4FitPeakFinder ()
 Default constructor.
 TGo4FitPeakFinder ()
 Default constructor.
 TGo4FitPeakFinder (const char *Name, const char *DataName=nullptr, Bool_t ClearModels=kFALSE, Int_t PolOrder=-1)
 Creates TGo4FitPeakFinder action with provided name and, , (optionally), DataName, clear models mode.
 TGo4FitPeakFinder (const char *Name, const char *DataName=nullptr, Bool_t ClearModels=kFALSE, Int_t PolOrder=-1)
 Creates TGo4FitPeakFinder action with provided name and, , (optionally), DataName, clear models mode.
virtual ~TGo4FitPeakFinder ()
 Destroys TGo4FitPeakFinder object.
virtual ~TGo4FitPeakFinder ()
 Destroys TGo4FitPeakFinder object.
Bool_t CanChangeFitter () const override
Bool_t CanChangeFitter () const override
void DoAction (TGo4FitterAbstract *Fitter) override
void DoAction (TGo4FitterAbstract *Fitter) override
Double_t Get0MaxAmplFactor () const
Double_t Get0MaxAmplFactor () const
Double_t Get0MaxWidth () const
Double_t Get0MaxWidth () const
Double_t Get0MinWidth () const
Double_t Get0MinWidth () const
Double_t Get1LineWidth () const
Double_t Get1LineWidth () const
Int_t Get2ChannelSum () const
Int_t Get2ChannelSum () const
Double_t Get2NoiseFactor () const
Double_t Get2NoiseFactor () const
Double_t Get2NoiseMinimum () const
Double_t Get2NoiseMinimum () const
Bool_t GetClearModels () const
Bool_t GetClearModels () const
const char * GetDataName () const
const char * GetDataName () const
Int_t GetPeakFinderType () const
Int_t GetPeakFinderType () const
Int_t GetPolynomOrder () const
Int_t GetPolynomOrder () const
Bool_t GetUsePolynom () const
Bool_t GetUsePolynom () const
void Print (Option_t *option="") const override
 Print information on standard output.
void Print (Option_t *option="") const override
 Print information on standard output.
void Set0MaxAmplFactor (Double_t factor)
void Set0MaxAmplFactor (Double_t factor)
void Set0MaxWidth (Double_t max)
void Set0MaxWidth (Double_t max)
void Set0MinWidth (Double_t min)
void Set0MinWidth (Double_t min)
void Set1LineWidth (Double_t width)
void Set1LineWidth (Double_t width)
void Set2ChannelSum (Int_t sum)
void Set2ChannelSum (Int_t sum)
void Set2NoiseFactor (Double_t factor)
void Set2NoiseFactor (Double_t factor)
void Set2NoiseMinimum (Double_t min)
void Set2NoiseMinimum (Double_t min)
void SetClearModels (Bool_t clear)
void SetClearModels (Bool_t clear)
void SetDataName (const char *name)
void SetDataName (const char *name)
void SetPeakFinderType (Int_t typ)
void SetPeakFinderType (Int_t typ)
void SetPolynomOrder (Int_t order)
void SetPolynomOrder (Int_t order)
void SetupForFirst (Double_t MaxAmplFactor, Double_t MinWidth, Double_t MaxWidth)
void SetupForFirst (Double_t MaxAmplFactor, Double_t MinWidth, Double_t MaxWidth)
void SetupForSecond (Double_t LineWidth)
void SetupForSecond (Double_t LineWidth)
void SetupForThird (Double_t NoiseFactor, Double_t NoiseMinimum, Int_t ChannelSum)
void SetupForThird (Double_t NoiseFactor, Double_t NoiseMinimum, Int_t ChannelSum)
void SetupPolynomialBackground (Int_t PolynomOrder)
void SetupPolynomialBackground (Int_t PolynomOrder)
void SetUsePolynom (Bool_t use)
void SetUsePolynom (Bool_t use)
Public Member Functions inherited from TGo4FitterAction
 TGo4FitterAction ()
 Default constructor.
 TGo4FitterAction ()
 Default constructor.
 TGo4FitterAction (const char *Name, const char *Title, TNamed *Owner=nullptr)
 Creates TGo4FitterAction object with given name and title.
 TGo4FitterAction (const char *Name, const char *Title, TNamed *Owner=nullptr)
 Creates TGo4FitterAction object with given name and title.
virtual ~TGo4FitterAction ()
virtual ~TGo4FitterAction ()
virtual Bool_t NeedBuffers () const
virtual Bool_t NeedBuffers () const
Public Member Functions inherited from TGo4FitNamed
 TGo4FitNamed ()
 Default constructor.
 TGo4FitNamed ()
 Default constructor.
 TGo4FitNamed (const char *Name, const char *Title, TNamed *Owner=nullptr)
 Creates TGo4FitNamed object and set name and title.
 TGo4FitNamed (const char *Name, const char *Title, TNamed *Owner=nullptr)
 Creates TGo4FitNamed object and set name and title.
virtual ~TGo4FitNamed ()
 Destroy TGo4FitNamed object.
virtual ~TGo4FitNamed ()
 Destroy TGo4FitNamed object.
const char * GetFullName ()
 Returns full name of object.
const char * GetFullName ()
 Returns full name of object.
TNamed * GetOwner ()
 Return owner of object.
TNamed * GetOwner ()
 Return owner of object.
const char * GetOwnerFullName ()
 Return full name of owner.
const char * GetOwnerFullName ()
 Return full name of owner.
void Print (Option_t *option="") const override
void Print (Option_t *option="") const override
void SetOwner (TNamed *iOwner)
 Sets owner of object.
void SetOwner (TNamed *iOwner)
 Sets owner of object.

Private Member Functions

void HansEsselPeakFinder (TGo4Fitter *fitter, TGo4FitData *data, Int_t MaxNumPeaks=50, Int_t ChannelSum=1, Double_t NoiseFactor=2., Double_t NoiseMinimum=10., Int_t MinimasOrder=-1)
 Hans Essel (c) peak finder.
void HansEsselPeakFinder (TGo4Fitter *fitter, TGo4FitData *data, Int_t MaxNumPeaks=50, Int_t ChannelSum=1, Double_t NoiseFactor=2., Double_t NoiseMinimum=10., Int_t MinimasOrder=-1)
 Hans Essel (c) peak finder.
void ROOTPeakFinder (TGo4Fitter *fitter, TGo4FitData *data, Int_t PolynomOrder, Double_t Sigma)
void ROOTPeakFinder (TGo4Fitter *fitter, TGo4FitData *data, Int_t PolynomOrder, Double_t Sigma)
void SergeyLinevPeakFinder (TGo4Fitter *fitter, TGo4FitData *data, Int_t PolOrder, Double_t AmplThreshold, Double_t MinWidth, Double_t MaxWidth)
 Perform simple peak finder algorithm.
void SergeyLinevPeakFinder (TGo4Fitter *fitter, TGo4FitData *data, Int_t PolOrder, Double_t AmplThreshold, Double_t MinWidth, Double_t MaxWidth)
 Perform simple peak finder algorithm.

Static Private Member Functions

static Double_t CalcPolynom (const TArrayD &Coef, Double_t x)
static Double_t CalcPolynom (const TArrayD &Coef, Double_t x)
static void DefinePolynom (Int_t size, Double_t *bins, Double_t *scales, TArrayD &Coef, Double_t *weight=nullptr, Double_t *backgr=nullptr, Char_t *use=nullptr)
static void DefinePolynom (Int_t size, Double_t *bins, Double_t *scales, TArrayD &Coef, Double_t *weight=nullptr, Double_t *backgr=nullptr, Char_t *use=nullptr)
static void DefinePolynomEx (Int_t size, Double_t *bins, Double_t *scales, Double_t *weight, Double_t *backgr, Int_t lbound, Int_t rbound, TArrayD &Coef)
static void DefinePolynomEx (Int_t size, Double_t *bins, Double_t *scales, Double_t *weight, Double_t *backgr, Int_t lbound, Int_t rbound, TArrayD &Coef)

Private Attributes

Bool_t fbClearModels {kFALSE}
Bool_t fbUsePolynom {kFALSE}
Double_t fd0MaxAmplFactor {0}
Double_t fd0MaxWidth {0}
Double_t fd0MinWidth {0}
Double_t fd1LineWidth {0}
Double_t fd2NoiseFactor {0}
Double_t fd2NoiseMinimum {0}
Int_t fi2ChannelSum {0}
Int_t fiPeakFinderType {0}
Int_t fiPolynomOrder {0}
TString fxDataName

Detailed Description

Peak finder action.

Let find and create several peaks in the data

Definition at line 29 of file TGo4FitPeakFinder.h.

Constructor & Destructor Documentation

◆ TGo4FitPeakFinder() [1/4]

TGo4FitPeakFinder::TGo4FitPeakFinder ( )

Default constructor.

Definition at line 27 of file TGo4FitPeakFinder.cxx.

References TGo4FitterAction::TGo4FitterAction().

◆ TGo4FitPeakFinder() [2/4]

TGo4FitPeakFinder::TGo4FitPeakFinder ( const char * Name,
const char * DataName = nullptr,
Bool_t ClearModels = kFALSE,
Int_t PolOrder = -1 )

Creates TGo4FitPeakFinder action with provided name and, , (optionally), DataName, clear models mode.

Definition at line 29 of file TGo4FitPeakFinder.cxx.

References TGo4FitterAction::TGo4FitterAction(), fbClearModels, fbUsePolynom, fd0MaxAmplFactor, fd0MaxWidth, fd0MinWidth, fd1LineWidth, fd2NoiseFactor, fd2NoiseMinimum, fi2ChannelSum, fiPeakFinderType, fiPolynomOrder, and fxDataName.

◆ ~TGo4FitPeakFinder() [1/2]

TGo4FitPeakFinder::~TGo4FitPeakFinder ( )
virtual

Destroys TGo4FitPeakFinder object.

Definition at line 37 of file TGo4FitPeakFinder.cxx.

◆ TGo4FitPeakFinder() [3/4]

TGo4FitPeakFinder::TGo4FitPeakFinder ( )

Default constructor.

◆ TGo4FitPeakFinder() [4/4]

TGo4FitPeakFinder::TGo4FitPeakFinder ( const char * Name,
const char * DataName = nullptr,
Bool_t ClearModels = kFALSE,
Int_t PolOrder = -1 )

Creates TGo4FitPeakFinder action with provided name and, , (optionally), DataName, clear models mode.

◆ ~TGo4FitPeakFinder() [2/2]

virtual TGo4FitPeakFinder::~TGo4FitPeakFinder ( )
virtual

Destroys TGo4FitPeakFinder object.

Member Function Documentation

◆ CalcPolynom() [1/2]

Double_t TGo4FitPeakFinder::CalcPolynom ( const TArrayD & Coef,
Double_t x )
staticprivate

Definition at line 160 of file TGo4FitPeakFinder.cxx.

Referenced by SergeyLinevPeakFinder().

◆ CalcPolynom() [2/2]

Double_t TGo4FitPeakFinder::CalcPolynom ( const TArrayD & Coef,
Double_t x )
staticprivate

References fiPeakFinderType.

◆ CanChangeFitter() [1/2]

Bool_t TGo4FitPeakFinder::CanChangeFitter ( ) const
inlineoverridevirtual

Reimplemented from TGo4FitterAction.

Definition at line 63 of file TGo4FitPeakFinder.h.

◆ CanChangeFitter() [2/2]

Bool_t TGo4FitPeakFinder::CanChangeFitter ( ) const
inlineoverridevirtual

Reimplemented from TGo4FitterAction.

Definition at line 63 of file TGo4FitPeakFinder.h.

◆ DefinePolynom() [1/2]

void TGo4FitPeakFinder::DefinePolynom ( Int_t size,
Double_t * bins,
Double_t * scales,
TArrayD & Coef,
Double_t * weight = nullptr,
Double_t * backgr = nullptr,
Char_t * use = nullptr )
staticprivate

◆ DefinePolynom() [2/2]

void TGo4FitPeakFinder::DefinePolynom ( Int_t size,
Double_t * bins,
Double_t * scales,
TArrayD & Coef,
Double_t * weight = nullptr,
Double_t * backgr = nullptr,
Char_t * use = nullptr )
staticprivate

◆ DefinePolynomEx() [1/2]

void TGo4FitPeakFinder::DefinePolynomEx ( Int_t size,
Double_t * bins,
Double_t * scales,
Double_t * weight,
Double_t * backgr,
Int_t lbound,
Int_t rbound,
TArrayD & Coef )
staticprivate

Definition at line 214 of file TGo4FitPeakFinder.cxx.

References DefinePolynom().

Referenced by SergeyLinevPeakFinder().

◆ DefinePolynomEx() [2/2]

void TGo4FitPeakFinder::DefinePolynomEx ( Int_t size,
Double_t * bins,
Double_t * scales,
Double_t * weight,
Double_t * backgr,
Int_t lbound,
Int_t rbound,
TArrayD & Coef )
staticprivate

◆ DoAction() [1/2]

◆ DoAction() [2/2]

void TGo4FitPeakFinder::DoAction ( TGo4FitterAbstract * Fitter)
overridevirtual

Implements TGo4FitterAction.

◆ Get0MaxAmplFactor() [1/2]

Double_t TGo4FitPeakFinder::Get0MaxAmplFactor ( ) const
inline

◆ Get0MaxAmplFactor() [2/2]

Double_t TGo4FitPeakFinder::Get0MaxAmplFactor ( ) const
inline

Definition at line 78 of file TGo4FitPeakFinder.h.

References fd0MaxAmplFactor.

◆ Get0MaxWidth() [1/2]

Double_t TGo4FitPeakFinder::Get0MaxWidth ( ) const
inline

◆ Get0MaxWidth() [2/2]

Double_t TGo4FitPeakFinder::Get0MaxWidth ( ) const
inline

Definition at line 82 of file TGo4FitPeakFinder.h.

References fd0MaxWidth.

◆ Get0MinWidth() [1/2]

Double_t TGo4FitPeakFinder::Get0MinWidth ( ) const
inline

◆ Get0MinWidth() [2/2]

Double_t TGo4FitPeakFinder::Get0MinWidth ( ) const
inline

Definition at line 80 of file TGo4FitPeakFinder.h.

References fd0MinWidth.

◆ Get1LineWidth() [1/2]

Double_t TGo4FitPeakFinder::Get1LineWidth ( ) const
inline

◆ Get1LineWidth() [2/2]

Double_t TGo4FitPeakFinder::Get1LineWidth ( ) const
inline

Definition at line 85 of file TGo4FitPeakFinder.h.

References fd1LineWidth.

◆ Get2ChannelSum() [1/2]

Int_t TGo4FitPeakFinder::Get2ChannelSum ( ) const
inline

◆ Get2ChannelSum() [2/2]

Int_t TGo4FitPeakFinder::Get2ChannelSum ( ) const
inline

Definition at line 92 of file TGo4FitPeakFinder.h.

References fi2ChannelSum.

◆ Get2NoiseFactor() [1/2]

Double_t TGo4FitPeakFinder::Get2NoiseFactor ( ) const
inline

◆ Get2NoiseFactor() [2/2]

Double_t TGo4FitPeakFinder::Get2NoiseFactor ( ) const
inline

Definition at line 88 of file TGo4FitPeakFinder.h.

References fd2NoiseFactor.

◆ Get2NoiseMinimum() [1/2]

Double_t TGo4FitPeakFinder::Get2NoiseMinimum ( ) const
inline

◆ Get2NoiseMinimum() [2/2]

Double_t TGo4FitPeakFinder::Get2NoiseMinimum ( ) const
inline

Definition at line 90 of file TGo4FitPeakFinder.h.

References fd2NoiseMinimum.

◆ GetClearModels() [1/2]

Bool_t TGo4FitPeakFinder::GetClearModels ( ) const
inline

Definition at line 51 of file TGo4FitPeakFinder.h.

References fbClearModels.

Referenced by DoAction(), and QFitPeakFinderWidget::FillSpecificData().

◆ GetClearModels() [2/2]

Bool_t TGo4FitPeakFinder::GetClearModels ( ) const
inline

Definition at line 51 of file TGo4FitPeakFinder.h.

References fbClearModels.

◆ GetDataName() [1/2]

const char * TGo4FitPeakFinder::GetDataName ( ) const
inline

Definition at line 49 of file TGo4FitPeakFinder.h.

References fxDataName.

Referenced by DoAction(), and QFitPeakFinderWidget::FillSpecificData().

◆ GetDataName() [2/2]

const char * TGo4FitPeakFinder::GetDataName ( ) const
inline

Definition at line 49 of file TGo4FitPeakFinder.h.

References fxDataName.

◆ GetPeakFinderType() [1/2]

Int_t TGo4FitPeakFinder::GetPeakFinderType ( ) const
inline

◆ GetPeakFinderType() [2/2]

Int_t TGo4FitPeakFinder::GetPeakFinderType ( ) const
inline

Definition at line 75 of file TGo4FitPeakFinder.h.

References fiPeakFinderType.

◆ GetPolynomOrder() [1/2]

Int_t TGo4FitPeakFinder::GetPolynomOrder ( ) const
inline

◆ GetPolynomOrder() [2/2]

Int_t TGo4FitPeakFinder::GetPolynomOrder ( ) const
inline

Definition at line 72 of file TGo4FitPeakFinder.h.

References fiPolynomOrder.

◆ GetUsePolynom() [1/2]

Bool_t TGo4FitPeakFinder::GetUsePolynom ( ) const
inline

◆ GetUsePolynom() [2/2]

Bool_t TGo4FitPeakFinder::GetUsePolynom ( ) const
inline

Definition at line 70 of file TGo4FitPeakFinder.h.

References fbUsePolynom.

◆ HansEsselPeakFinder() [1/2]

void TGo4FitPeakFinder::HansEsselPeakFinder ( TGo4Fitter * fitter,
TGo4FitData * data,
Int_t MaxNumPeaks = 50,
Int_t ChannelSum = 1,
Double_t NoiseFactor = 2.,
Double_t NoiseMinimum = 10.,
Int_t MinimasOrder = -1 )
private

◆ HansEsselPeakFinder() [2/2]

void TGo4FitPeakFinder::HansEsselPeakFinder ( TGo4Fitter * fitter,
TGo4FitData * data,
Int_t MaxNumPeaks = 50,
Int_t ChannelSum = 1,
Double_t NoiseFactor = 2.,
Double_t NoiseMinimum = 10.,
Int_t MinimasOrder = -1 )
private

Hans Essel (c) peak finder.

◆ Print() [1/2]

void TGo4FitPeakFinder::Print ( Option_t * option = "") const
override

Print information on standard output.

Definition at line 96 of file TGo4FitPeakFinder.cxx.

References TGo4FitNamed::Print().

◆ Print() [2/2]

void TGo4FitPeakFinder::Print ( Option_t * option = "") const
override

Print information on standard output.

◆ ROOTPeakFinder() [1/2]

void TGo4FitPeakFinder::ROOTPeakFinder ( TGo4Fitter * fitter,
TGo4FitData * data,
Int_t PolynomOrder,
Double_t Sigma )
private

◆ ROOTPeakFinder() [2/2]

void TGo4FitPeakFinder::ROOTPeakFinder ( TGo4Fitter * fitter,
TGo4FitData * data,
Int_t PolynomOrder,
Double_t Sigma )
private

◆ SergeyLinevPeakFinder() [1/2]

void TGo4FitPeakFinder::SergeyLinevPeakFinder ( TGo4Fitter * fitter,
TGo4FitData * data,
Int_t PolOrder,
Double_t AmplThreshold,
Double_t MinWidth,
Double_t MaxWidth )
private

Perform simple peak finder algorithm.

Seeks for gaussians with amplitude more than given threshold (AmplThreshold introduced relative to maximum data value, from 0 to 1), with width in range between MinWidth and MaxWidth. Polynomial approximation can be applied for background approximation(PolOrder >= 0) or not used (PolOrder<0). Only selected by range conditions data part will be used by peak finder. Appropriate number of gaussians will be placed in list of models and associate with data.

Definition at line 240 of file TGo4FitPeakFinder.cxx.

References TGo4Fitter::AddGauss1(), TGo4Fitter::AddPolynomX(), CalcPolynom(), TGo4FitDataIter::CountPoints(), DefinePolynom(), DefinePolynomEx(), TGo4Fitter::FindNextName(), FindValue(), TGo4FitComponent::GetAmplValue(), TGo4FitData::MakeIter(), and usage().

Referenced by DoAction().

◆ SergeyLinevPeakFinder() [2/2]

void TGo4FitPeakFinder::SergeyLinevPeakFinder ( TGo4Fitter * fitter,
TGo4FitData * data,
Int_t PolOrder,
Double_t AmplThreshold,
Double_t MinWidth,
Double_t MaxWidth )
private

Perform simple peak finder algorithm.

Seeks for gaussians with amplitude more than given threshold (AmplThreshold introduced relative to maximum data value, from 0 to 1), with width in range between MinWidth and MaxWidth. Polynomial approximation can be applied for background approximation(PolOrder >= 0) or not used (PolOrder<0). Only selected by range conditions data part will be used by peak finder. Appropriate number of gaussians will be placed in list of models and associate with data.

◆ Set0MaxAmplFactor() [1/2]

void TGo4FitPeakFinder::Set0MaxAmplFactor ( Double_t factor)
inline

◆ Set0MaxAmplFactor() [2/2]

void TGo4FitPeakFinder::Set0MaxAmplFactor ( Double_t factor)
inline

Definition at line 77 of file TGo4FitPeakFinder.h.

References fd0MaxAmplFactor.

◆ Set0MaxWidth() [1/2]

void TGo4FitPeakFinder::Set0MaxWidth ( Double_t max)
inline

◆ Set0MaxWidth() [2/2]

void TGo4FitPeakFinder::Set0MaxWidth ( Double_t max)
inline

Definition at line 81 of file TGo4FitPeakFinder.h.

References fd0MaxWidth.

◆ Set0MinWidth() [1/2]

void TGo4FitPeakFinder::Set0MinWidth ( Double_t min)
inline

◆ Set0MinWidth() [2/2]

void TGo4FitPeakFinder::Set0MinWidth ( Double_t min)
inline

Definition at line 79 of file TGo4FitPeakFinder.h.

References fd0MinWidth.

◆ Set1LineWidth() [1/2]

void TGo4FitPeakFinder::Set1LineWidth ( Double_t width)
inline

◆ Set1LineWidth() [2/2]

void TGo4FitPeakFinder::Set1LineWidth ( Double_t width)
inline

Definition at line 84 of file TGo4FitPeakFinder.h.

References fd1LineWidth.

◆ Set2ChannelSum() [1/2]

void TGo4FitPeakFinder::Set2ChannelSum ( Int_t sum)
inline

◆ Set2ChannelSum() [2/2]

void TGo4FitPeakFinder::Set2ChannelSum ( Int_t sum)
inline

Definition at line 91 of file TGo4FitPeakFinder.h.

References fi2ChannelSum.

◆ Set2NoiseFactor() [1/2]

void TGo4FitPeakFinder::Set2NoiseFactor ( Double_t factor)
inline

◆ Set2NoiseFactor() [2/2]

void TGo4FitPeakFinder::Set2NoiseFactor ( Double_t factor)
inline

Definition at line 87 of file TGo4FitPeakFinder.h.

References fd2NoiseFactor.

◆ Set2NoiseMinimum() [1/2]

void TGo4FitPeakFinder::Set2NoiseMinimum ( Double_t min)
inline

◆ Set2NoiseMinimum() [2/2]

void TGo4FitPeakFinder::Set2NoiseMinimum ( Double_t min)
inline

Definition at line 89 of file TGo4FitPeakFinder.h.

References fd2NoiseMinimum.

◆ SetClearModels() [1/2]

void TGo4FitPeakFinder::SetClearModels ( Bool_t clear)
inline

◆ SetClearModels() [2/2]

void TGo4FitPeakFinder::SetClearModels ( Bool_t clear)
inline

Definition at line 50 of file TGo4FitPeakFinder.h.

References fbClearModels.

◆ SetDataName() [1/2]

void TGo4FitPeakFinder::SetDataName ( const char * name)
inline

◆ SetDataName() [2/2]

void TGo4FitPeakFinder::SetDataName ( const char * name)
inline

Definition at line 48 of file TGo4FitPeakFinder.h.

References fxDataName.

◆ SetPeakFinderType() [1/2]

void TGo4FitPeakFinder::SetPeakFinderType ( Int_t typ)
inline

◆ SetPeakFinderType() [2/2]

void TGo4FitPeakFinder::SetPeakFinderType ( Int_t typ)
inline

Definition at line 74 of file TGo4FitPeakFinder.h.

References fiPeakFinderType.

◆ SetPolynomOrder() [1/2]

void TGo4FitPeakFinder::SetPolynomOrder ( Int_t order)
inline

◆ SetPolynomOrder() [2/2]

void TGo4FitPeakFinder::SetPolynomOrder ( Int_t order)
inline

Definition at line 71 of file TGo4FitPeakFinder.h.

References fiPolynomOrder.

◆ SetupForFirst() [1/2]

void TGo4FitPeakFinder::SetupForFirst ( Double_t MaxAmplFactor,
Double_t MinWidth,
Double_t MaxWidth )

Definition at line 49 of file TGo4FitPeakFinder.cxx.

References Set0MaxAmplFactor(), Set0MaxWidth(), Set0MinWidth(), and SetPeakFinderType().

Referenced by Example11().

◆ SetupForFirst() [2/2]

void TGo4FitPeakFinder::SetupForFirst ( Double_t MaxAmplFactor,
Double_t MinWidth,
Double_t MaxWidth )

◆ SetupForSecond() [1/2]

void TGo4FitPeakFinder::SetupForSecond ( Double_t LineWidth)

Definition at line 57 of file TGo4FitPeakFinder.cxx.

References Set1LineWidth(), and SetPeakFinderType().

◆ SetupForSecond() [2/2]

void TGo4FitPeakFinder::SetupForSecond ( Double_t LineWidth)

◆ SetupForThird() [1/2]

void TGo4FitPeakFinder::SetupForThird ( Double_t NoiseFactor,
Double_t NoiseMinimum,
Int_t ChannelSum )

◆ SetupForThird() [2/2]

void TGo4FitPeakFinder::SetupForThird ( Double_t NoiseFactor,
Double_t NoiseMinimum,
Int_t ChannelSum )

◆ SetupPolynomialBackground() [1/2]

void TGo4FitPeakFinder::SetupPolynomialBackground ( Int_t PolynomOrder)

Definition at line 39 of file TGo4FitPeakFinder.cxx.

References SetPolynomOrder(), and SetUsePolynom().

◆ SetupPolynomialBackground() [2/2]

void TGo4FitPeakFinder::SetupPolynomialBackground ( Int_t PolynomOrder)

◆ SetUsePolynom() [1/2]

void TGo4FitPeakFinder::SetUsePolynom ( Bool_t use)
inline

◆ SetUsePolynom() [2/2]

void TGo4FitPeakFinder::SetUsePolynom ( Bool_t use)
inline

Definition at line 69 of file TGo4FitPeakFinder.h.

References fbUsePolynom.

Field Documentation

◆ fbClearModels

Bool_t TGo4FitPeakFinder::fbClearModels {kFALSE}
private

Definition at line 150 of file TGo4FitPeakFinder.h.

Referenced by TGo4FitPeakFinder(), GetClearModels(), and SetClearModels().

◆ fbUsePolynom

Bool_t TGo4FitPeakFinder::fbUsePolynom {kFALSE}
private

Definition at line 152 of file TGo4FitPeakFinder.h.

Referenced by TGo4FitPeakFinder(), GetUsePolynom(), and SetUsePolynom().

◆ fd0MaxAmplFactor

Double_t TGo4FitPeakFinder::fd0MaxAmplFactor {0}
private

Definition at line 157 of file TGo4FitPeakFinder.h.

Referenced by TGo4FitPeakFinder(), Get0MaxAmplFactor(), and Set0MaxAmplFactor().

◆ fd0MaxWidth

Double_t TGo4FitPeakFinder::fd0MaxWidth {0}
private

Definition at line 156 of file TGo4FitPeakFinder.h.

Referenced by TGo4FitPeakFinder(), Get0MaxWidth(), and Set0MaxWidth().

◆ fd0MinWidth

Double_t TGo4FitPeakFinder::fd0MinWidth {0}
private

Definition at line 155 of file TGo4FitPeakFinder.h.

Referenced by TGo4FitPeakFinder(), Get0MinWidth(), and Set0MinWidth().

◆ fd1LineWidth

Double_t TGo4FitPeakFinder::fd1LineWidth {0}
private

Definition at line 159 of file TGo4FitPeakFinder.h.

Referenced by TGo4FitPeakFinder(), Get1LineWidth(), and Set1LineWidth().

◆ fd2NoiseFactor

Double_t TGo4FitPeakFinder::fd2NoiseFactor {0}
private

Definition at line 161 of file TGo4FitPeakFinder.h.

Referenced by TGo4FitPeakFinder(), Get2NoiseFactor(), and Set2NoiseFactor().

◆ fd2NoiseMinimum

Double_t TGo4FitPeakFinder::fd2NoiseMinimum {0}
private

Definition at line 162 of file TGo4FitPeakFinder.h.

Referenced by TGo4FitPeakFinder(), Get2NoiseMinimum(), and Set2NoiseMinimum().

◆ fi2ChannelSum

Int_t TGo4FitPeakFinder::fi2ChannelSum {0}
private

Definition at line 163 of file TGo4FitPeakFinder.h.

Referenced by TGo4FitPeakFinder(), Get2ChannelSum(), and Set2ChannelSum().

◆ fiPeakFinderType

Int_t TGo4FitPeakFinder::fiPeakFinderType {0}
private

◆ fiPolynomOrder

Int_t TGo4FitPeakFinder::fiPolynomOrder {0}
private

Definition at line 153 of file TGo4FitPeakFinder.h.

Referenced by TGo4FitPeakFinder(), GetPolynomOrder(), and SetPolynomOrder().

◆ fxDataName

TString TGo4FitPeakFinder::fxDataName
private

Definition at line 148 of file TGo4FitPeakFinder.h.

Referenced by TGo4FitPeakFinder(), GetDataName(), and SetDataName().


The documentation for this class was generated from the following files: