ROOT logo
(UNKNOWN PRODUCT) » INCLUDE » FitOneDimDialog

class FitOneDimDialog: public TObject

Function Members (Methods)

public:
FitOneDimDialog(const FitOneDimDialog&)
FitOneDimDialog(TH1* hist, Int_t type = 1, Int_t interactive = 1)
FitOneDimDialog(TGraph* graph, Int_t type = 1, Int_t interactive = 1)
virtual~FitOneDimDialog()
voidTObject::AbstractMethod(const char* method) const
voidAddPeaktoList(TF1* func)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
voidCalcStartParExp()
voidCheck4Reselect()
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
voidClearFunctionList()
voidClearMarkers()
virtual TObject*TObject::Clone(const char* newname = "") const
voidCloseDialog()
voidCloseDown(Int_t wid)
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
voidCRButtonPressed(Int_t, Int_t, TObject*)
virtual voidTObject::Delete(Option_t* option = "")MENU
voidDetLinearBackground()
voidDisplayMenu(Int_t type = 1)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
voidDrawExpExecute()
voidDrawFormExecute()
voidDrawPolExecute()
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
voidExecuteGetFunction()
voidExpExecute(Int_t draw_only = 0)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
voidFillHistRandom()
TH1*FindHistInPad()
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
voidFitExpExecute()
voidFitFormExecute()
Bool_tFitGausExecute()
Bool_tFitPeakList()
Bool_tFitPeakListDone()
voidFitPolExecute()
voidFormExecute(Int_t draw_only = 0)
Int_tGetAutoClearMarks()
Int_tGetBackg0()
Int_tGetConfirmStartValues()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tGetFitOptAddAll()
Int_tGetFitOptErrors1()
Int_tGetFitOptIntegral()
Int_tGetFitOptLikelihood()
Int_tGetFitOptMinos()
Int_tGetFitOptNoDraw()
Int_tGetFitOptOneLine()
Int_tGetFitOptQuiet()
Int_tGetFitOptVerbose()
Int_tGetFitPrintCovariance()
Double_tGetFitWindow()
voidGetFunction()
voidGetGaussEstimate(TH1* h, Double_t from, Double_t to, Double_t bg, TArrayD& par)
voidGetGaussEstimate(TGraph* g, Double_t from, Double_t to, Double_t bg, TArrayD& par)
Int_tGetHightail()
virtual const char*TObject::GetIconName() const
Int_tGetLowtail()
Int_tGetMarkers()
Int_tGetMaxBin(TH1* h1, Int_t binl, Int_t binu)
virtual const char*TObject::GetName() const
Int_tGetNevents()
Int_tGetNmarks()
Int_tGetNpeaks()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
Int_tGetOnesig()
virtual Option_t*TObject::GetOption() const
Double_tGetParValue(const char* pname)
Double_tGetPeakSep()
Int_tGetReqNmarks()
voidGetSelectedFunction()
Int_tGetShowcof()
Int_tGetSlope0()
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Int_tGetUsedbg()
Int_tGetUseoldpars()
voidGraphFormExecute()
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
voidIncrementIndex(TString* arg)
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
FitOneDimDialog&operator=(const FitOneDimDialog&)
virtual voidTObject::Paint(Option_t* option = "")
voidPolExecute(Int_t draw_only = 0)
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
voidPrintCorrelation()
voidPrintMarkers()
voidPrintPeakList()
virtual Int_tTObject::Read(const char* name)
virtual voidRecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
voidRestoreDefaults()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
voidSaveDefaults()
voidSaveFunction()
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidSetAutoClearMarks(Int_t autoclearmarks)
voidSetBackg0(Int_t backg0)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetConfirmStartValues(Int_t confirmstartvalues)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetFitOptAddAll(Int_t fitoptaddall)
voidSetFitOptErrors1(Int_t fitopterrors1)
voidSetFitOptIntegral(Int_t fitoptintegral)
voidSetFitOptions()
voidSetFitOptLikelihood(Int_t fitoptlikelihood)
voidSetFitOptMinos(Int_t fitoptminos)
voidSetFitOptNoDraw(Int_t fitoptnodraw)
voidSetFitOptOneLine(Int_t val)
voidSetFitOptQuiet(Int_t fitoptquiet)
voidSetFitOptVerbose(Int_t fitoptverbose)
voidSetFitPrintCovariance(Int_t fitprintcovariance)
voidSetFittingOptions()
voidSetFitWindow(Double_t fitwindow)
voidSetHightail(Int_t hightail)
voidSetLowtail(Int_t lowtail)
Int_tSetMarkers()
voidSetNevents(Int_t nevents)
voidSetNmarks(Int_t nmarks)
voidSetNpeaks(Int_t npeaks)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetOnesig(Int_t onesig)
voidSetPeakSep(Double_t peaksep)
voidSetReqNmarks(Int_t reqnmarks)
voidSetShowcof(Int_t showcof)
voidSetSlope0(Int_t slope0)
voidSetStartParameters()
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetUsedbg(Int_t usedbg)
voidSetUseoldpars(Int_t useoldpars)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
voidWriteoutFunction()
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum EFitHistBits { kSelected
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
private:
Int_tfAdded
Int_tfAutoClearMarksClear marks after fit
Int_tfBackg0Force background = 0
TF1*fCalFunc
TArrayDfChi2List
Color_tfColor
Int_tfConfirmStartValuesPresent a widget with start values before fitting
Double_tfConstant
TArrayDfConstantList
TGMrbValuesAndText*fDialog
Double_tfExpA
Double_tfExpB
Double_tfExpC
Int_tfExpFixA
Int_tfExpFixB
Int_tfExpFixC
Int_tfExpFixO
TStringfExpFuncName
Double_tfExpOOffset
TF1*fFitFunc
Int_tfFitOptAddAllAdd all fitted functions to histogram
Int_tfFitOptErrors1Set all errors to 1`
Int_tfFitOptIntegralUse integral of bin
Int_tfFitOptLikelihoodUse Likelihood method (default chi2)
Int_tfFitOptMinosUse minos to improve fit after migrad
Int_tfFitOptNoDrawdont draw fit result
Int_tfFitOptOneLineOne line / peak
Int_tfFitOptQuietSuppress printout during fitting
Int_tfFitOptVerboseVerbose printout during fitting
Bool_tfFitPeakListDone
Int_tfFitPrintCovariancePrint Correlation matrix (normalized covariance)
Double_tfFitWindowFit window: peak pos += fFitWindow
Int_tfFormFixPar[6]
TStringfFormFuncName
Double_tfFormPar[6]
TStringfFormula
Double_tfFrom
TStringfFuncFromFile
TStringfFuncName
Int_tfFuncNumber
TStringfGausFuncName
Int_tfGaussOnlyPure gauss function, no tail
Int_tfGaussTailPure gauss + tail function
TGraph*fGraph
Int_tfHightailUse high tail
Int_tfInteractiveRun interactivly, ie. really present dialog widgets
Double_tfLinBgConst
Bool_tfLinBgSet
Double_tfLinBgSlope
Int_tfLowtailUse low tail
FhMarkerList*fMarkers
Double_tfMean
Double_tfMeanBondBind variation of gauss mean +- this value
Double_tfMeanError
TArrayDfMeanList
TStringfName
Int_tfNevents
Int_tfNmarks
Int_tfNpeaksnumber peaks used
Int_tfNpeaksList
Int_tfNpeaksListIndex
Int_tfNsegsGraphNumber of segments (np - 1) of a graph
Int_tfOnesigUse same sigma for all peaks ( if fittted together)
TRootCanvas*fParentWindow
Double_tfPeakSepif peaks are closer (unit of sigma) they are fitted together
Int_tfPolFixPar[6]
TStringfPolFuncName
Int_tfPolN
Double_tfPolPar[6]
Int_tfPrintStartValuesPrint start values
Int_tfReqNmarks
TH1*fSelHist
TCanvas*fSelPad
Int_tfShowcofDisplay components of fit
TArrayDfSigmaList
Int_tfSlope0Force background slope = 0 (use constant background)
Style_tfStyle
Int_tfTailOnlyPure tail function, no gauss
Double_tfTo
Int_tfUsedbguse prederminated linear background
Int_tfUseoldparsuse parameters of previous fit
Width_tfWidth

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

FitOneDimDialog(TH1* hist, Int_t type = 1, Int_t interactive = 1)
FitOneDimDialog(TGraph* graph, Int_t type = 1, Int_t interactive = 1)
void DisplayMenu(Int_t type = 1)
virtual ~FitOneDimDialog()
void RecursiveRemove(TObject* obj)
Bool_t FitPeakList()
Bool_t FitGausExecute()
void FitExpExecute()
void DrawExpExecute()
void CalcStartParExp()
void ExpExecute(Int_t draw_only = 0)
void FitPolExecute()
void DrawPolExecute()
void PolExecute(Int_t draw_only = 0)
void PrintCorrelation()
void AddPeaktoList(TF1* func)
Double_t GetParValue(const char* pname)
void PrintPeakList()
void FitFormExecute()
void DrawFormExecute()
void GraphFormExecute()
void FormExecute(Int_t draw_only = 0)
void FillHistRandom()
TH1 * FindHistInPad()
   void AddToCalibration();
void SetFitOptions()
{}
Int_t GetMaxBin(TH1* h1, Int_t binl, Int_t binu)
void GetGaussEstimate(TH1* h, Double_t from, Double_t to, Double_t bg, TArrayD& par)
void DetLinearBackground()
Int_t GetMarkers()
void ClearMarkers()
void ClearFunctionList()
void WriteoutFunction()
void PrintMarkers()
Int_t SetMarkers()
void SetFittingOptions()
Bool_t FitPeakListDone()
{ return fFitPeakListDone; }
void SaveDefaults()
void RestoreDefaults()
void CloseDialog()
void CloseDown(Int_t wid)
void IncrementIndex(TString* arg)
void SaveFunction()
void GetFunction()
void ExecuteGetFunction()
void GetSelectedFunction()
void SetStartParameters()
void SetPeakSep(Double_t peaksep)
{ fPeakSep = peaksep; }
void SetFitWindow(Double_t fitwindow)
{ fFitWindow = fitwindow; }
void SetUseoldpars(Int_t useoldpars)
{ fUseoldpars = useoldpars; }
void SetUsedbg(Int_t usedbg)
{ fUsedbg = usedbg; }
void SetNpeaks(Int_t npeaks)
{ fNpeaks = npeaks; }
void SetReqNmarks(Int_t reqnmarks)
{ fReqNmarks = reqnmarks; }
void SetNmarks(Int_t nmarks)
{ fNmarks = nmarks; }
void SetNevents(Int_t nevents)
{ fNevents = nevents; }
void SetBackg0(Int_t backg0)
{ fBackg0 = backg0; }
void SetSlope0(Int_t slope0)
{ fSlope0 = slope0; }
void SetOnesig(Int_t onesig)
{ fOnesig = onesig; }
void SetLowtail(Int_t lowtail)
{ fLowtail = lowtail; }
void SetHightail(Int_t hightail)
{ fHightail = hightail; }
void SetShowcof(Int_t showcof)
{ fShowcof = showcof; }
void SetAutoClearMarks(Int_t autoclearmarks)
{ fAutoClearMarks = autoclearmarks; }
void SetConfirmStartValues(Int_t confirmstartvalues)
{ fConfirmStartValues = confirmstartvalues; }
void SetFitOptLikelihood(Int_t fitoptlikelihood)
{ fFitOptLikelihood = fitoptlikelihood; }
void SetFitOptQuiet(Int_t fitoptquiet)
{ fFitOptQuiet = fitoptquiet; }
void SetFitOptOneLine(Int_t val)
{fFitOptOneLine = val; }
void SetFitOptVerbose(Int_t fitoptverbose)
{ fFitOptVerbose = fitoptverbose; }
void SetFitOptMinos(Int_t fitoptminos)
{ fFitOptMinos = fitoptminos; }
void SetFitOptErrors1(Int_t fitopterrors1)
{ fFitOptErrors1 = fitopterrors1; }
void SetFitOptIntegral(Int_t fitoptintegral)
{ fFitOptIntegral = fitoptintegral; }
void SetFitOptNoDraw(Int_t fitoptnodraw)
{ fFitOptNoDraw = fitoptnodraw; }
void SetFitOptAddAll(Int_t fitoptaddall)
{ fFitOptAddAll = fitoptaddall; }
void SetFitPrintCovariance(Int_t fitprintcovariance)
{ fFitPrintCovariance = fitprintcovariance; }
Double_t GetPeakSep()
{ return fPeakSep; }
Double_t GetFitWindow()
{ return fFitWindow; }
Int_t GetUseoldpars()
{ return fUseoldpars; }
Int_t GetUsedbg()
{ return fUsedbg; }
Int_t GetNpeaks()
{ return fNpeaks; }
Int_t GetReqNmarks()
{ return fReqNmarks; }
Int_t GetNmarks()
{ return fNmarks; }
Int_t GetNevents()
{ return fNevents; }
Int_t GetBackg0()
{ return fBackg0; }
Int_t GetSlope0()
{ return fSlope0; }
Int_t GetOnesig()
{ return fOnesig; }
Int_t GetLowtail()
{ return fLowtail; }
Int_t GetHightail()
{ return fHightail; }
Int_t GetShowcof()
{ return fShowcof; }
Int_t GetAutoClearMarks()
{ return fAutoClearMarks; }
Int_t GetConfirmStartValues()
Int_t GetFitOptLikelihood()
{ return fFitOptLikelihood; }
Int_t GetFitOptQuiet()
{ return fFitOptQuiet; }
Int_t GetFitOptOneLine()
{return fFitOptOneLine; }
Int_t GetFitOptVerbose()
{ return fFitOptVerbose; }
Int_t GetFitOptMinos()
{ return fFitOptMinos; }
Int_t GetFitOptErrors1()
{ return fFitOptErrors1; }
Int_t GetFitOptIntegral()
{ return fFitOptIntegral; }
Int_t GetFitOptNoDraw()
{ return fFitOptNoDraw; }
Int_t GetFitOptAddAll()
{ return fFitOptAddAll; }
Int_t GetFitPrintCovariance()
void CRButtonPressed(Int_t , Int_t , TObject* )
{}
void Check4Reselect()