| v2.10-0 (21000JUN2005) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Basic abtract class for representing data, which should be fitted.
Inner Class Summary | |
public class | TGo4FitData._enum_TGo4FitData_h_35 |
Field Summary | |
protected Bool_t | fbUseBinScale Use binary numbers as scale values. if this flag set, bin numbers are used as scale values |
protected Double_t | fdExcludeLessThen Sets limit for exclude bins, which less then this limit |
protected Double_t | fdSigmaValue Value of sigma when fiTakeSigmasFrom = 2 |
private Int_t | fiBinsSize Number of entries in buffers. |
protected Int_t | fiDataType Specified type of data: 0 - Histogram, 1 - graphics, 2 and so on - user defined |
private Int_t | fiIndexesSize Number of indexes for each point. |
private Int_t | fiScalesSize Number of scales values for each point. |
protected Int_t | fiTakeSigmasFrom Specify sigma source. 0 - no sigmas, 1 - try take from data, 2 - const value (fdSigmaValue) |
protected TObjArray | fxAxisTrans Array of slots for scale transformation objects. |
private Double_t* | fxBinsResult Buffer for complete model of bins values. |
private Int_t* | fxFullIndex Store combination of indexes for each data bins. |
private Double_t* | fxFullScale Array of axis values for each bins. |
private Double_t* | fxFullWidth Array of width values for each bin. |
private Double_t* | fxStandDev Buffer for standard devations of bins values. |
private Double_t* | fxValues Buffer for bins values. |
Fields inherited from class TNamed |
fName, fTitle |
Fields inherited from class Go4Fit.TGo4FitSlotList |
fbUpdateSlotList, fxSlotList |
Constructor Summary | |
TGo4FitData() Default constructor. | |
TGo4FitData(const char * iName, const char * iTitle, Int_t iDataType, Bool_t AddAmpl) Creates TGo4FitData object with given name and title. |
Destructor Summary | |
virtual synchronized | ~TGo4FitData() Destroys TGo4FitData object. |
Method Summary | |
void | AddAxisTrans(TGo4FitAxisTrans* Trans, Bool_t TransOwned) Add transformation object to data. |
void | ApplyRangesForModelMask(TGo4FitComponent* model, Char_t* ModelMask) Exclude points from model according model range conditions. |
protected const Bool_t | BuffersAllocated() Checks, if buffers allocated for data. |
virtual Bool_t | CanAmplTouch() Always return kTRUE. |
TObject* | CreateDrawObject(const char * ObjName) Creates object, which can be drawn on canvas by ROOT. |
Int_t | DefineBinsSize() Define number of selected bins in data Create iterator and secuantially checks all points |
Int_t | DefineDimensions() Define dimension number of data Create iterator and checks number of dimension |
Bool_t | DefineScaleMinMax(Int_t naxis, Double_t& min, Double_t& max) Return scales minimum and maximum for specified axis. |
virtual void | FillSlotList(TSeqCollection* list) Copy pointers on all slots of data object to list. |
protected virtual void | Finalize() Removes all buffers, created in initialize() routine. |
TGo4FitAxisTrans* | GetAxisTrans(Int_t nslot) Return transformation object for given slot. |
TGo4FitSlot* | GetAxisTransSlot(Int_t nslot) Return slot for transformation object. |
protected Double_t* | GetBinsDevs() Returns pointer on buffer with standard deviations for each data bins. |
protected Double_t* | GetBinsResult() Returns pointer on buffer with complete model of data bins. |
protected const Int_t | GetBinsSize() Return number of data bins in buffers. |
protected Double_t* | GetBinsValues() Returns pointer on buffer with data bins values. |
const const Int_t | GetDataType() Returns type of data source. 0 - histogramic, 1 - points (scale values have no width) |
const Double_t | GetExcludeLessThen() Returns limit, which uses to exclude bins, less then this limit. |
protected const const Int_t* | GetFullIndex(Int_t nbin) Return indexes values for specified data bin from buffer. |
protected const Int_t | GetIndexesSize() Returns dimension of indexes arrays. |
Int_t | GetNumberOfTransSlots() Return number of slots for scale transformation objects. |
protected const Int_t | GetScalesSize() Returns number of axis values for each point. |
protected const const Double_t* | GetScaleValues(const Int_t nbin) Return scale values for specified index from buffer. |
const Int_t | GetSigmaSource() Return source of sigma values. |
const Double_t | GetSigmaValue() Return constant sigma value. |
Bool_t | GetUseBinScale() Returns kTRUE, if binary numbers used as scale values. |
protected const const Double_t* | GetWidthValues(const Int_t nbin) Return scales width values for specified index from buffer. |
protected virtual Bool_t | Initialize(Int_t UseBuffers) Initialize data object. |
virtual Bool_t | IsAnyDataTransform() Return kTRUE, if either initial data axis or data bins are transformed by TGo4FitData object. |
Bool_t | IsCompatibleData(TGo4FitData* data) Checks, if data has same dimensions number and size of each dimensions. |
virtual TGo4FitDataIter* | MakeIter() Creates iterator for data object. |
virtual const void | Print(Option_t* option) Display information about data object on standard output. |
private void | ReleaseAllPointers() Release all memory, allocated for buffers. |
private void | ResetAllPoinetrs() Clears (sets to 0) all pointers, used for buffer allocations. |
void | SetAxisTrans(Int_t nslot, TGo4FitAxisTrans* Trans, Bool_t TransOwned) Sets transformation object for given slot. |
void | SetAxisTransNeeded(Int_t nslot, Bool_t iNeeded) Specified, when iNeeded = kTRUE, that trsnaformation object should always be provided to data. |
void | SetExcludeLessThen(Double_t limit) Sets limit to exclude bins, which not less then this limit. |
Bool_t | SetNumberOfTransSlots(Int_t nslots) Sets number of slots for scale transformation objects. |
void | SetSigmaSource(Int_t TakeFrom, Double_t SigmaValue) Sets source of sigma for data. |
void | SetSigmaValue(Double_t SigmaValue) Set constant sigma value. |
void | SetUseBinScale(Bool_t iUseBinScale) If kTRUE, binary numbers will be used as scale values. |
Methods inherited from class Go4Fit.TGo4FitParsList |
AddPar, CanRollbackPars, ClearPars, ClearParsBlocking, CreatePar, Find, Find, Find, FindPar, FindPar, FindPar, Get, GetPar, GetParEpsilon, GetParError, GetParFixed, GetParFullName, GetParIndex, GetParName, GetParRange, GetParsValues, GetParValue, InsertPar, IsAllParsFixed, MemorizePars, NumFixedPars, NumFreePars, NumPars, 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, FindSlot, GetSlot, GetSlotList, IsEmptySlots, IsObjectInSlots, NumSlots, PrepareSlotsForWriting, SetObject, SetObject, SetSaveFlagForObjects, SetUpdateSlotList |
Field Detail |
protected Bool_t fbUseBinScale
protected Double_t fdExcludeLessThen
protected Double_t fdSigmaValue
private Int_t fiBinsSize
protected Int_t fiDataType
private Int_t fiIndexesSize
private Int_t fiScalesSize
protected Int_t fiTakeSigmasFrom
protected TObjArray fxAxisTrans
private Double_t* fxBinsResult
private Int_t* fxFullIndex
private Double_t* fxFullScale
private Double_t* fxFullWidth
private Double_t* fxStandDev
private Double_t* fxValues
Constructor Detail |
public TGo4FitData()
public TGo4FitData(const char * iName, const char * iTitle, Int_t iDataType, Bool_t AddAmpl)
Method Detail |
public virtual synchronized ~TGo4FitData()
Method Detail |
public void AddAxisTrans(TGo4FitAxisTrans* Trans, Bool_t TransOwned)
public void ApplyRangesForModelMask(TGo4FitComponent* model, Char_t* ModelMask)
protected const Bool_t BuffersAllocated()
public virtual Bool_t CanAmplTouch()
public TObject* CreateDrawObject(const char * ObjName)
public Int_t DefineBinsSize()
public Int_t DefineDimensions()
public Bool_t DefineScaleMinMax(Int_t naxis, Double_t& min, Double_t& max)
public virtual void FillSlotList(TSeqCollection* list)
protected virtual void Finalize()
public TGo4FitAxisTrans* GetAxisTrans(Int_t nslot)
public TGo4FitSlot* GetAxisTransSlot(Int_t nslot)
protected Double_t* GetBinsDevs()
protected Double_t* GetBinsResult()
protected const Int_t GetBinsSize()
protected Double_t* GetBinsValues()
public const const Int_t GetDataType()
public const Double_t GetExcludeLessThen()
protected const const Int_t* GetFullIndex(Int_t nbin)
protected const Int_t GetIndexesSize()
public Int_t GetNumberOfTransSlots()
protected const Int_t GetScalesSize()
protected const const Double_t* GetScaleValues(const Int_t nbin)
public const Int_t GetSigmaSource()
public const Double_t GetSigmaValue()
public Bool_t GetUseBinScale()
protected const const Double_t* GetWidthValues(const Int_t nbin)
protected virtual Bool_t Initialize(Int_t UseBuffers)
public virtual Bool_t IsAnyDataTransform()
public Bool_t IsCompatibleData(TGo4FitData* data)
public virtual TGo4FitDataIter* MakeIter()
public virtual const void Print(Option_t* option)
private void ReleaseAllPointers()
private void ResetAllPoinetrs()
public void SetAxisTrans(Int_t nslot, TGo4FitAxisTrans* Trans, Bool_t TransOwned)
public void SetAxisTransNeeded(Int_t nslot, Bool_t iNeeded)
public void SetExcludeLessThen(Double_t limit)
public Bool_t SetNumberOfTransSlots(Int_t nslots)
public void SetSigmaSource(Int_t TakeFrom, Double_t SigmaValue)
public void SetSigmaValue(Double_t SigmaValue)
public void SetUseBinScale(Bool_t iUseBinScale)
Association Links |
to Class TGo4FitAxisTrans
to Class TGo4FitSlot
| J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |