v2.10-0 (21000JUN2005)

Go4Fit
Class TGo4FitModelGauss1


class TGo4FitModelGauss1
derived from TGo4FitModel

One dimensional gaussian peak.

Has foolowing parameters :
"Ampl" - amplitude,
"Pos" - position of gaussian peak,
"Width" - width of gaussian.
In constructor initial values of these parameter and number of selected axis (0 - x axis, 1 - y axis and so on) should be setup:

TGo4FitModelGauss1 *g = new TGo4FitModelGauss1("Gauss", 10., 5., 1);

where "Gauss" - name of model component, "10." - peak position, "5." - peak width, "1" - selected axis (here - y).


Field Summary
 protected Int_tfiNaxis
          Number of selected axis, where gaussian wil be build.
 private Double_tPar_k
          Temporary variable for EvalN() function.
 private Double_tPar_x0
          Temporary variable for EvalN() function.

Fields inherited from class Go4Fit.TGo4FitModel
fbAbsoluteEps, fbIntegrScaling, fdIntegrEps, fiMaxIntegrDepth, fiMinIntegrDepth

Fields inherited from class TNamed
fName, fTitle

Fields inherited from class Go4Fit.TGo4FitSlotList
fbUpdateSlotList, fxSlotList

Constructor Summary
TGo4FitModelGauss1()
          Default constructor.
TGo4FitModelGauss1(const char * iName, Double_t iPosition, Double_t iWidth, Int_t iNaxis)
          Creates TGo4FitModelGauss1 with given name.

Destructor Summary
 virtual synchronized ~TGo4FitModelGauss1()
          Destroys TGo4FitModelGauss1 object.

Method Summary
 virtual Bool_tBeforeEval(Int_t ndim)
           
 virtual Double_tEvalN(const Double_t* v)
           
 Int_tGetNumAxis()
          Return number of axis, where gauss will be build.
 protected virtual Int_tGetPosParIndex(Int_t naxis)
           
 protected virtual Int_tGetWidthParIndex(Int_t naxis)
           
 virtual Double_tIntegral()
           
 virtual const voidPrint(Option_t* option)
          Print information to standard output.
 voidSetNumAxis(Int_t n)
          Sets number of selected axis.

Methods inherited from class Go4Fit.TGo4FitModel
AddModelToDataResult, AfterEval, AssignmentName, AssignToData, BuffersAllocated, ChangeDataNameInAssignments, ClearAssigmentTo, ClearAssignments, ClearAssignmentTo, ConnectToDataIfAssigned, Evaluate, Evaluate, Evaluate, Evaluate, EvaluateAndIntegrate, EvaluateAtPoint, EvaluateAtPoint, Finalize, Get, GetAssignedConnection, GetDataFullIndex, GetDataIndexesSize, GetGroupIndex, GetModelBins, GetPosition, GetPosPar, GetRatioValueFor, GetWidth, GetWidthPar, Initialize, IsAssignTo, NeedIntegration, NumAssigments, NumPars, RebuildShape, SetBackgroundGroupIndex, SetGroupIndex, SetIntegrationsProperty, SetNeedToRebuild, SetPosition, SetWidth, UserFunction

Methods inherited from class Go4Fit.TGo4FitComponent
AddRangeCondition, AddRangeCut, CanAmplTouch, CheckRangeConditions, ClearRanges, CollectParsTo, ExcludeRange, GetAmplError, GetAmplFullName, GetAmplIndex, GetAmplName, GetAmplPar, GetAmplValue, GetNumRangeCondition, GetNumRangeCut, GetRangeCondition, GetRangeCut, GetRangeMax, GetRangeMin, GetUseBuffers, IsAnyRangeLimits, IsRangeCutExcluding, MakeAmpl, NewAmplitude, NewParameter, RemoveAmpl, RemoveRangeCondition, RemoveRangeCut, SetAmplError, SetAmplIndex, SetAmplValue, SetRange, SetRangeCondition, SetRangeCutExcluding, SetRangeMax, SetRangeMin, SetUseBuffers

Methods inherited from class Go4Fit.TGo4FitParsList
AddPar, CanRollbackPars, ClearPars, ClearParsBlocking, CreatePar, Find, Find, Find, FindPar, FindPar, FindPar, GetPar, GetParEpsilon, GetParError, GetParFixed, GetParFullName, GetParIndex, GetParName, GetParRange, GetParsValues, GetParValue, InsertPar, IsAllParsFixed, MemorizePars, NumFixedPars, NumFreePars, PrintPars, RememberPars, RemovePar, RemovePar, RemoveParByIndex, SetParEpsilon, SetParError, SetParFixed, SetParName, SetParRange, SetParsNames, SetParsOwner, SetParsValues, SetParsValues, SetParValue

Methods inherited from class Go4Fit.TGo4FitNamed
GetFullName, GetOwner, GetOwnerFullName, SetOwner

Methods inherited from class TNamed
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine

Methods inherited from class Go4Fit.TGo4FitSlotList
CheckDuplicatesOnSlot, CheckObjects, ClearObjects, ClearSlot, ConnectSlots, ConnectSlots, FillSlotList, FindSlot, GetSlot, GetSlotList, IsEmptySlots, IsObjectInSlots, NumSlots, PrepareSlotsForWriting, SetObject, SetObject, SetSaveFlagForObjects, SetUpdateSlotList

Field Detail

fiNaxis

protected Int_t fiNaxis
Number of selected axis, where gaussian wil be build.

Par_k

private Double_t Par_k
Temporary variable for EvalN() function.

Par_x0

private Double_t Par_x0
Temporary variable for EvalN() function.
Constructor Detail

TGo4FitModelGauss1

public TGo4FitModelGauss1()
Default constructor.

TGo4FitModelGauss1

public TGo4FitModelGauss1(const char * iName, Double_t iPosition, Double_t iWidth, Int_t iNaxis)
Creates TGo4FitModelGauss1 with given name.
Position of gaussian, width and number of selected axis can be specified.
Method Detail

~TGo4FitModelGauss1

public virtual synchronized ~TGo4FitModelGauss1()
Destroys TGo4FitModelGauss1 object.
Method Detail

BeforeEval

public virtual Bool_t BeforeEval(Int_t ndim)

EvalN

public virtual Double_t EvalN(const Double_t* v)

GetNumAxis

public Int_t GetNumAxis()
Return number of axis, where gauss will be build.

GetPosParIndex

protected virtual Int_t GetPosParIndex(Int_t naxis)

GetWidthParIndex

protected virtual Int_t GetWidthParIndex(Int_t naxis)

Integral

public virtual Double_t Integral()

Print

public virtual const void Print(Option_t* option)
Print information to standard output.

SetNumAxis

public void SetNumAxis(Int_t n)
Sets number of selected axis.

J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005