TFractionFitter


class description - source file - inheritance tree

class TFractionFitter : public TObject

    private:
void CheckConsistency() void CheckParNo(Int_t parm) const void ComputeFCN(Int_t& npar, Double_t* gin, Double_t& f, Double_t* par, Int_t flag) void FindPrediction(int bin, double* fractions, double& Ti, int& k0, double& Aki) const void GetRanges(Int_t& minX, Int_t& maxX, Int_t& minY, Int_t& maxY, Int_t& minZ, Int_t& maxZ) const public:
TFractionFitter(TH1* data, TObjArray* MCs) TFractionFitter() virtual ~TFractionFitter() static TClass* Class() void Constrain(Int_t parm, Double_t low, Double_t high) void ErrorAnalysis(Double_t UP) Int_t Fit() TVirtualFitter* GetFitter() const TH1* GetPlot() void GetResult(Int_t parm, Double_t& value, Double_t& error) const virtual TClass* IsA() const void ReleaseRangeX() void ReleaseRangeY() void ReleaseRangeZ() void SetData(TH1* data) void SetMC(Int_t parm, TH1* MC) void SetRangeX(Int_t low, Int_t high) void SetRangeY(Int_t low, Int_t high) void SetRangeZ(Int_t low, Int_t high) void SetWeight(Int_t parm, TH1* weight) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void UnConstrain(Int_t parm)

Data Members


    protected:
Bool_t fFitDone flags whether a valid fit has been performed Int_t fLowLimitX first bin in X dimension Int_t fHighLimitX last bin in X dimension Int_t fLowLimitY first bin in Y dimension Int_t fHighLimitY last bin in Y dimension Int_t fLowLimitZ first bin in Z dimension Int_t fHighLimitZ last bin in Z dimension TH1* fData pointer to the "data" histogram to be fitted to TObjArray fMCs array of pointers to template histograms TObjArray fWeights array of pointers to corresponding weight factors (may be null) Double_t fIntegralData "data" histogram content integral over allowed fit range Double_t* fIntegralMCs same for template histograms (weights not taken into account) Double_t* fFractions template fractions scaled to the "data" histogram statistics TH1* fPlot pointer to histogram containing summed template predictions Int_t fNpar number of fit parameters

Class Description



Last update: Fri May 14 13:32:38 2004


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.