83 if (!strcmp(
"Gather", select->
GetTitle())) {
84 Info(
"",
"On fit tous les pics gaussiens");
98 for (
Int_t ii = 0; ii < nfin; ii += 1) {
99 ff.
Form(
"gaus(%d)", ii * 3);
105 TF1* fsum =
new TF1(
"sum", expr.
Data(), xdeb, xfin);
113 hfit->
Fit(fsum,
"0N",
"", xdeb, xfin);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t np
char * Form(const char *fmt,...)
Manage SemiAutomatic Fits.
KVHashList * lfunc
liste des fonctions de fit
Double_t Xmax
Borne en X du fit.
TH1 * hfit
histogramme analyse
TCanvas * c1
Canvas ou est trace l histo a analyse.
TH1 * hclone
clone de histogramme analyse
TF1 * f1Dfit
fonction de fit une dimension
Handle semi-automatic fit to 1D Gaussian distributions.
virtual ~KVGaus1D()
Destructor.
KVGaus1D(Bool_t batch=kFALSE)
Default constructor.
virtual void Add(TObject *obj)
virtual void SetLineWidth(Width_t lwidth)
virtual void SetLineColor(Color_t lcolor)
virtual void SetRangeUser(Double_t ufirst, Double_t ulast)
virtual Int_t GetEntries() const
virtual Double_t GetParameter(const TString &name) const
virtual Int_t GetNpar() const
void Draw(Option_t *option="") override
virtual void SetParameters(const Double_t *params)
virtual void SetParameter(const TString &name, Double_t value)
virtual Double_t GetMean(Int_t axis=1) const
virtual TFitResultPtr Fit(const char *formula, Option_t *option="", Option_t *goption="", Double_t xmin=0, Double_t xmax=0)
Double_t GetRMS(Int_t axis=1) const
virtual Double_t Integral(Int_t binx1, Int_t binx2, Option_t *option="") const
virtual const char * GetTitle() const
virtual void Info(const char *method, const char *msgfmt,...) const
TFrame * GetFrame() override
const char * Data() const
void Form(const char *fmt,...)