Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TPaveStatsEditor.h
Go to the documentation of this file.
1// @(#)root/ged:$Id$
2// Author: Ilka Antcheva 21/06/04
3
4/*************************************************************************
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 *************************************************************************/
11
12#ifndef ROOT_TPaveStatsEditor
13#define ROOT_TPaveStatsEditor
14
15
16#include "TGedFrame.h"
17
18class TGCheckButton;
19class TPaveStats;
20
22
23protected:
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
41
42 virtual void ConnectSignals2Slots();
43
44public:
45 TPaveStatsEditor(const TGWindow *p=0,
46 Int_t width = 140, Int_t height = 30,
47 UInt_t options = kChildFrame,
49 virtual ~TPaveStatsEditor();
50
51 virtual void SetModel(TObject* obj);
52 virtual void DoStatOptions();
53 virtual void DoFitOptions();
54 virtual void SetValuesON(Bool_t on);
55
56 ClassDef(TPaveStatsEditor,0) // GUI for editing TPaveStats
57};
58
59#endif
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
#define ClassDef(name, id)
Definition Rtypes.h:325
include TDocParser_001 C image html pict1_TDocParser_001 png width
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
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
virtual ~TPaveStatsEditor()
Destructor of fill editor.
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 SetModel(TObject *obj)
Set GUI widgets according to the used TPaveStats attributes.
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