ULong_t Pixel_t
Pixel value.
#define ClassDef(name, id)
include TDocParser_001 C image html pict1_TDocParser_001 png width
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
The base class for composite widgets (menu bars, list boxes, etc.).
Dragging the slider will generate the event:
A subclasses of TGWindow, and is used as base class for some simple widgets (buttons,...
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Concrete class for horizontal slider.
This class describes layout hints used by the layout classes.
TGNumberEntry is a number entry input widget with up/down buttons.
Yield an action as soon as it is clicked.
A TGTextEntry is a one line text input widget.
ROOT GUI Window base class.
Base frame for implementing GUI - a service class.
Editor for changing TH1 histogram attributes, rebinning & fitting.
static TGComboBox * BuildHistAddComboBox(TGFrame *parent, Int_t id)
Create Line/Bar combo box.
TGNumberEntryField * fSldMin
Contains the minimum value of the x-Axis.
virtual void DoHistChanges()
Slot connected to the histogram type, the coordinate type, the error type and the Add combo box.
virtual void DoBinReleased1()
Slot connected to the BinNumber Slider in case of a ntuple histogram (does the Rebinning of the histo...
TGTextButton * fApply
Apply-Button to accept the rebinned histogram.
TGHSlider * fBinOffsetSld
Add an offset to the origin of the histogram.
TGNumberEntryField * fBinNumberEntry
Label which shows the rebinned bin number.
TGCompositeFrame * fBinCont
Contains the Rebin Widgets for case 1.
TGCheckButton * fAddSimple
Draw a simple histogram (==HIST draw option)
TH1 * fHist
histogram object
TGCheckButton * fAddMarker
Draw a Marker on top of each bin.
TString GetHistTypeLabel()
Returns the selected histogram type (HIST, LEGO1-2, SURF1-5).
virtual void DoOffsetMoved(Int_t num)
Slot connected to the OffSetSlider.
void ChangeErrorCombo(Int_t i)
Change the error combo box entry.
TGNumberEntry * fBarWidth
Change the Bar Width.
TGHSlider * fBinSlider1
Slider to set rebinning integer value for ntuple histogram.
TGNumberEntryField * fSldMax
Contains the maximum value of the x-Axis.
TGDoubleHSlider * fSlider
Slider to set x-axis range.
TGCompositeFrame * f11
Contains the Bar Width/Offset NumberEntries.
virtual void DoHBar(Bool_t on)
Slot connected to the Horizontal Bar check button.
virtual void DoBinMoved(Int_t number)
Slot connected to the rebin slider in case of a not ntuple histogram (does the Rebinning of the histo...
static TGComboBox * BuildPercentComboBox(TGFrame *parent, Int_t id)
Create Percentage combo box for bar option.
TGHButtonGroup * fDimGroup
Radiobuttongroup to change 2D <-> 3D-Plot.
TGCheckButton * fAddB
Draw a Bar Chart.
virtual void DoAddMarker(Bool_t on)
Slot connected to the show markers check box.
static TGComboBox * BuildHistErrorComboBox(TGFrame *parent, Int_t id)
Create error type combo box.
TGComboBox * fErrorCombo
Error combo box.
TGCheckButton * fDelaydraw
Delayed drawing of the new axis range.
virtual void DoAxisRange()
Slot connected to the number entry fields containing the Max/Min value of the x-axis.
virtual void DoHistView()
Slot connected to the 'Plot' button group.
TGCheckButton * fMakeHBar
Draw Horizontal Bar Chart.
virtual void ConnectSignals2Slots()
Connect signals to slots.
TGCompositeFrame * f6
Contains the Add-ComboBox (Style)
TGNumberEntryField * fOffsetNumberEntry
Shows the offset to the origin of the histogram.
TGCheckButton * fAdd
Activate more Options.
TGCompositeFrame * fBinCont1
Contains the Rebin Widgets for case 2.
virtual void SetModel(TObject *obj)
Pick up current values of histogram attributes.
TGRadioButton * fDim0
3D-Plot RadioButton
TGCompositeFrame * f12
Contains fPercentCombo, fMakeHBar.
virtual void DoApply()
Slot connected to the Apply button of the Binning tab.
Int_t * Dividers(Int_t n)
Return an array of dividers of n (without the trivial divider n).
virtual ~TH1Editor()
Destructor of TH1 editor.
TGComboBox * fPercentCombo
Percentage of the Bar which is drawn in a different color.
TGTextButton * fCancel
Cancel-Button to reprobate the rebinned histogram.
virtual void DoCancel()
Slot connected to the Cancel button of the Binning tab.
TGHSlider * fBinSlider
Slider to set rebinning integer value.
TGRadioButton * fDim
2D-Plot RadioButton
Int_t fTitlePrec
font precision level
TGCheckButton * fAddBar
Bar Option.
virtual void DoHistComplex()
Slot connected to the 3D radio button.
virtual void DoSliderReleased()
Slot connected to the x-axis Range slider for finalizing the values of the slider movement.
Bool_t fSameOpt
flag for option "same"
virtual void DoAddB(Bool_t)
Slot connected to the bar Add check box.
TGCompositeFrame * f3
Contains Histogram Type.
virtual void DoHistSimple()
Slot connected to the 2D radio button.
virtual void DoBinReleased()
Slot connected to the rebin slider in case of a not ntuple histogram Updates some other widgets which...
TGComboBox * fTypeCombo
histogram type combo box
TGComboBox * fCoordsCombo
Coordinate System combo box.
TGTextEntry * fTitle
histogram title input field
TString GetHistAddLabel()
Return the selected shape of the histogram (C, L, LF2).
TGLayoutHints * fDim0lh
layout hints for 3D-Plot RadioButton
virtual void DoBinPressed()
Slot connected to the rebin slider in case of a not ntuple histogram.
virtual void DoAddSimple(Bool_t on)
Slot connected to fAddSimple check box for drawing a simple histogram without errors (== HIST draw op...
virtual void DoPercent()
Slot connected to the bar percentage settings.
virtual void DoBarOffset()
Slot connected to the Bar Offset of the Bar Charts.
void CreateBinTab()
Create binning tab.
virtual void DoBarWidth()
Slot connected to the Bar Width of the Bar Charts.
virtual void DoAddBar(Bool_t)
Slot connected to the bar Add check box.
TGNumberEntryField * fBinNumberEntry1
Label which shows the rebinned bin number for ntuple histogram.
virtual void PaintBox3D(Float_t *p1, Float_t *p2, Float_t *p3, Float_t *p4)
Paint a 3D box.
TString GetHistErrorLabel()
Return the selected error type (E,E1-5).
virtual void DoBinLabel()
Slot connected to the Bin number entry of the Rebinning tab.
TGLayoutHints * fDimlh
layout hints for 2D-Plot RadioButton
TGCompositeFrame * f15
Contains outer line CheckBox.
static TGComboBox * BuildHistCoordsComboBox(TGFrame *parent, Int_t id)
Create coordinate system type combo box.
TGNumberEntry * fBarOffset
Change the Bar Offset.
virtual void RecursiveRemove(TObject *obj)
If the contained histogram obj is deleted we must set its pointer to zero.
TGCompositeFrame * f9
Contains the Bar Option CheckBox.
virtual void DoOffsetReleased()
Slot connected to the OffSetSlider.
static TGComboBox * BuildHistTypeComboBox(TGFrame *parent, Int_t id)
Create histogram type combo box.
virtual Bool_t AcceptModel(TObject *model)
Check if object is able to configure with this editor.
TGCompositeFrame * f7
Contains the Marker OnOff CheckBox.
TGCompositeFrame * f8
Contains the Bar Chart CheckBox.
TGCompositeFrame * fBin
Contains the Binning Widgets.
virtual void DoBinLabel1()
Slot connected to the Bin number entry of the Rebinning tab.
TGComboBox * fAddCombo
Add Lines, Bars, Fill.
TGCompositeFrame * f10
Contains the Bar Option Title.
virtual void DoSliderMoved()
Slot connected to the x-Slider for redrawing of the histogram according to the new Slider range.
virtual void DoBinOffset()
Slot connected to the OffSetNumberEntry which is related to the OffSetSlider changes the origin of th...
virtual void DoOffsetPressed()
Slot connected to the OffSetSlider that saves the OldBinOffset (nessesary for delay draw mode).
virtual void DoTitle(const char *text)
Slot connected to the histogram title setting.
TString GetHistCoordsLabel()
Return the selected coordinate system of the histogram (POL,CYL,SPH,PSR).
TGCheckButton * fHistOnOff
Draw a simple histogram with default options.
virtual void DoBinMoved1()
Slot connected to the rebin slider in case of an ntuple histogram.
virtual void DoSliderPressed()
Slot connected to the x-axis Range slider for initialising the values of the slider movement.
TH1 is the base class of all histogram classes in ROOT.
Mother of all ROOT objects.