Logo ROOT  
Reference Guide
No Matches
Go to the documentation of this file.
1// @(#)root/ged:$Id$
2// Author: Ilka Antcheva 21/06/04
5 * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
12#ifndef ROOT_TPaveStatsEditor
13#define ROOT_TPaveStatsEditor
16#include "TGedFrame.h"
18class TGCheckButton;
19class TPaveStats;
24 TPaveStats *fPaveStats; ///< TPaveStats object
25 // widgets for stat options
26 TGCheckButton *fHistoName; ///< histo name check box
27 TGCheckButton *fEntries; ///< entries' number check box
28 TGCheckButton *fMean; ///< mean value check box
29 TGCheckButton *fRMS; ///< RMS check box
30 TGCheckButton *fUnderflow; ///< underflow number check box
31 TGCheckButton *fOverflow; ///< overflow number check box
32 TGCheckButton *fIntegral; ///< integral of bins check box
33 TGCheckButton *fSkewness; ///< skewness check box
34 TGCheckButton *fKurtosis; ///< kurtosis check box
35 TGCheckButton *fStatsErrors; ///< statistics error check box
36 // widgets for fit options
37 TGCheckButton *fNameValues; ///< parameters' name/values check box
38 TGCheckButton *fErrors; ///< error check box
39 TGCheckButton *fChisquare; ///< Chisquare check box
40 TGCheckButton *fProbability; ///< probability check box
42 virtual void ConnectSignals2Slots();
45 TPaveStatsEditor(const TGWindow *p = nullptr,
46 Int_t width = 140, Int_t height = 30,
47 UInt_t options = kChildFrame,
49 ~TPaveStatsEditor() override;
51 void SetModel(TObject* obj) override;
52 virtual void DoStatOptions();
53 virtual void DoFitOptions();
54 virtual void SetValuesON(Bool_t on);
56 ClassDefOverride(TPaveStatsEditor,0) // GUI for editing TPaveStats
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Selects different options.
Definition TGButton.h:264
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:683
ROOT GUI Window base class.
Definition TGWindow.h:23
Base frame for implementing GUI - a service class.
Definition TGedFrame.h:27
Mother of all ROOT objects.
Definition TObject.h:41
Implements GUI for editing attributes of TPaveStats objects.
TGCheckButton * fUnderflow
underflow number check box
~TPaveStatsEditor() override
Destructor of fill editor.
virtual void DoStatOptions()
Slot connected to the stat options.
TGCheckButton * fRMS
RMS check box.
TGCheckButton * fNameValues
parameters' name/values check box
virtual void DoFitOptions()
Slot connected to the fit options.
virtual void SetValuesON(Bool_t on)
Slot connected to the selection of the button 'Errors': check button Values should be selected if Err...
TGCheckButton * fErrors
error check box
TPaveStats * fPaveStats
TPaveStats object.
TGCheckButton * fStatsErrors
statistics error check box
TGCheckButton * fIntegral
integral of bins check box
void SetModel(TObject *obj) override
Set GUI widgets according to the used TPaveStats attributes.
TGCheckButton * fChisquare
Chisquare check box.
TGCheckButton * fOverflow
overflow number check box
TGCheckButton * fMean
mean value check box
TGCheckButton * fEntries
entries' number check box
TGCheckButton * fProbability
probability check box
TGCheckButton * fSkewness
skewness check box
virtual void ConnectSignals2Slots()
Connect signals to slots.
TGCheckButton * fKurtosis
kurtosis check box
TGCheckButton * fHistoName
histo name check box
The histogram statistics painter class.
Definition TPaveStats.h:18