ULong_t Pixel_t
Pixel value.
#define ClassDef(name, id)
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 TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Option_t Option_t TPoint TPoint const char text
TClass instances represent classes, structs and namespaces in the ROOT type system.
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
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 handles GUI labels.
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.
is a button with pattern area with a little down arrow.
Editor for changing TH2 histogram attributes, rebinning & fitting.
TGNumberEntryField * fSldXMin
Contains the minimum value of the x-Axis.
TGCheckButton * fAddArr
CheckBox connected to Arr-Option.
TGNumberEntryField * fYOffsetNumberEntry
Shows the offset to the y origin of the histogram.
virtual void DoOffsetPressed()
Slot connected to the OffSetSlider.
TGNumberEntry * fContLevels1
Set number of contour levels.
virtual void DoBarWidth()
Slot connected to the bar width of the bar chart.
TGCompositeFrame * f9
Frame that contains the 3D CheckBox DrawOptions.
virtual void SetModel(TObject *obj)
Pick up the values of current histogram attributes.
virtual void DoBinReleased()
Slot connected to the rebin slider in case of no ntuple histogram.
TGCheckButton * fAddBB
Draw back box (or not)
TGNumberEntryField * fXOffsetNumberEntry
Shows the offset to the x origin of the histogram.
TGCheckButton * fAddFB
Draw front box (or not)
virtual void RecursiveRemove(TObject *obj)
If the contained histogram obj is deleted we must set its pointer to zero.
TGCompositeFrame * fBinXCont
Contains the rebin widgets for case 1.
virtual void DoBinPressed()
Slot connected to the rebin slider in case of no ntuple histogram.
TGDoubleHSlider * fSliderY
Slider to set y-axis range.
void CreateBinTab()
Create the Binning tab.
TGTextButton * fApply
Apply-Button to accept the rebinned histogram.
virtual Bool_t AcceptModel(TObject *model)
Check if object is able to configure with this editor.
TGCompositeFrame * f6
Frame that contains the 2D CheckBox DrawOptions.
virtual void DoAddError(Bool_t on)
Slot connected to the "Error" check button.
virtual void DoAddArr(Bool_t on)
Slot connected to the "Arrow draw option" check button.
TGCheckButton * fAddError
CheckBox connected to error bars.
TGHSlider * fBinYSlider1
Slider to set y rebinning integer value.
TGNumberEntryField * fBinXNumberEntry1
Label which shows the rebinned x bin number.
virtual void DoAddBB()
Slot connected to the "BB back-box draw option" check button.
TGCheckButton * fAddPalette1
CheckBox connected to Z option (3D)
TGCompositeFrame * f38
Frame that contains the Frame Fill widgets.
virtual void DoFillPattern(Style_t)
Slot connected to the fill area pattern.
TGDoubleHSlider * fSliderX
Slider to set x-axis range.
virtual void DoApply()
Slot connected to the Apply Button in the Rebinned histogram Window.
TGNumberEntryField * fBinYNumberEntry
Label which shows the rebinned bin number.
TGHSlider * fBinYSlider
Slider to set rebinning y integer value.
TGHSlider * fYBinOffsetSld
Add an y-offset to the origin of the histogram.
TGNumberEntryField * fBinXNumberEntry
Label which shows the rebinned bin number.
virtual void DoSliderYPressed()
Slot connected to y-axis slider which initialises the "virtual" box which is drawn in delay draw mode...
TGCheckButton * fAddPalette
CheckBox connected to Z option (2D)
TGCompositeFrame * fBinXCont1
Contains the X Rebin Widgets for case 2.
TString fCutString
Contais info about graphical cuts (if any)
virtual void DoOffsetMoved()
Slot connected to the OffSetSlider.
void PaintBox3D(Float_t *p1, Float_t *p2, Float_t *p3, Float_t *p4)
Paint a square in 3D.
TGRadioButton * fDim
2D-Plot RadioButton
TGNumberEntry * fBarWidth
Set bar width of histogram.
TGNumberEntryField * fSldYMin
Contains the minimum value of the y-Axis.
virtual void DoYAxisRange()
Slot connected to the Max/Min number entry fields showing y-axis range.
virtual void DoContLevel()
Slot connected to the contour level number entry fContLevels.
virtual void DoContLevel1()
Slot connected to the contour level number entry fContLevels1.
TGHSlider * fBinXSlider
Slider to set rebinning x integer value.
TGHSlider * fXBinOffsetSld
Add an x-offset to the origin of the histogram.
virtual void DoAddPalette(Bool_t on)
Slot connected to the color palette check button.
TGRadioButton * fDim0
3D-Plot RadioButton
virtual void DoHistChanges()
Slot connected to histogram type, coordinate system, contour combo box.
virtual void ConnectSignals2Slots()
Connect signals to slots.
TGLayoutHints * fDimlh
layout hints for 2D-Plot RadioButton
TGCheckButton * fAddScat
CheckBox connected to Scat-Option.
virtual void DoBinLabel1()
Slot connected to the Bin Number Entry for the Rebin.
Int_t fTitlePrec
font precision level
TGCompositeFrame * fFit
Contains the Fitting Widgets.
TGLabel * fColContLbl
No. of Contours Label 1.
TGNumberEntry * fContLevels
Set number of contour levels.
TString GetHistTypeLabel()
Return the immediate histogram type (HIST, LEGO1-4, SURF1-5).
TGedPatternSelect * fFramePattern
Select the Frame Pattern Style.
TGCheckButton * fDelaydraw
Delayed drawing of the new axis range.
TGHSlider * fBinXSlider1
Slider to set x rebinning integer value.
static TGComboBox * BuildHistCoordsComboBox(TGFrame *parent, Int_t id)
Create coordinate system combo box.
virtual void ActivateBaseClassEditors(TClass *cl)
Skip TH1Editor in building list of editors.
TGLayoutHints * fDim0lh
layout hints for 3D-Plot RadioButton
virtual void DoAddScat(Bool_t on)
Slot connected to the "Scat draw option" check button.
virtual void DoSliderXReleased()
Slot connected to the x-axis slider finalizing values after the slider movement.
TGCheckButton * fAddCol
CheckBox connected to Col-Option.
virtual void DoSliderXPressed()
Slot connected to the x axis range slider that initialises the "virtual" box which is drawn in delay ...
TGCheckButton * fAddBox
CheckBox connected to Box-Option.
virtual void DoAddText(Bool_t on)
Slot connected to the "Text draw option" check button.
TH2 * fHist
histogram object
virtual void DoHistView()
Slot connected to the 'Plot' button group.
virtual void DoXAxisRange()
Slot connected to the Max/Min number entry fields showing x-axis range.
TGCheckButton * fAddText
Draw bin contents as text.
TString GetCutOptionString()
Return draw option string related to graphical cut in use.
Int_t * Dividers(Int_t n)
Give an array of dividers of n (without the trivial divider n)) in the first entry the number of divi...
TString GetHistContLabel()
Returns histogram contour option (None,Cont0..5).
virtual void DoBinReleased1()
Slot connected to the BinNumber Slider in case of a 'ntuple histogram'.
TGColorSelect * fFrameColor
Select the Frame Color.
TString GetHistCoordsLabel()
Return the immediate coordinate system of the histogram.
virtual void DoSliderYMoved()
Slot connected to the x-slider for redrawing the histogram with the new slider Range (immediately).
virtual void DoBinLabel()
Slot connected to the Bin Number Entry for the Rebin.
TGTextButton * fCancel
Cancel-Button to reprobate the rebinned histogram.
TGCompositeFrame * fBin
Contains the Binning Widgets.
TGNumberEntryField * fSldYMax
Contains the maximum value of the y-Axis.
TGCompositeFrame * f13
Frame that contains the Bar Width/Offset NumberEntries.
TGNumberEntryField * fSldXMax
Contains the maximum value of the x-Axis.
virtual void DoBinMoved1()
Slot connected to the rebin slider in case of an ntuple histogram.
virtual void DoTitle(const char *text)
Slot connected to the histogram title setting.
TGComboBox * fContCombo
Contour selecting combo box.
TGTextEntry * fTitle
histogram title input field
virtual void DoAddCol(Bool_t on)
Slot connected to the "Col draw option" check button.
virtual void DoBarOffset()
Slot connected to the bar offset of the bar chart.
virtual void DoOffsetReleased()
Slot connected to the OffSetSlider that changes the origin of the histogram inbetween a binwidth; reb...
virtual ~TH2Editor()
Destructor.
virtual void DoBinOffset()
Slot connected to the OffSetNumberEntry, related to the OffSetSlider changes the origin of the histog...
TGLabel * fColContLbl1
No. of Contours Label 2.
static TGComboBox * BuildHistTypeComboBox(TGFrame *parent, Int_t id)
Create histogram type combo box.
static TGComboBox * BuildHistContComboBox(TGFrame *parent, Int_t id)
Create contour combo box.
TGNumberEntry * fBarOffset
Set bar offset of histogram.
TGComboBox * fCoordsCombo
Coordinate System combo box.
virtual void DoCancel()
Slot connected to the Cancel Button in the Rebinned histogram Window.
TGCompositeFrame * fBinYCont1
Contains the Y Rebin Widgets for case 2.
virtual void DoSliderYReleased()
Slot connected to the y-axis slider finalizing values after the slider movement.
TGHButtonGroup * fDimGroup
Radiobuttongroup to change 2D <-> 3D-Plot.
virtual void DoBinMoved()
Slot connected to the rebin sliders in case of no ntuple histogram does the rebinning of the selected...
virtual void DoAddFB()
Slot connected to the "FB front-box draw option" check button.
TString GetHistAdditiveLabel()
Return histogram additive options (Arr,Box,Col,Scat,Col,Text,E,Z,FB,BB).
TGNumberEntryField * fBinYNumberEntry1
Label which shows the rebinned y bin number.
TGComboBox * fTypeCombo
histogram type combo box
virtual void DoHistSimple()
Slot connected to the 2D-Plot radio button.
virtual void DoFillColor(Pixel_t)
Slot connected to the fill area color.
virtual void DoAddBox(Bool_t on)
Slot connected to the "Box draw option" check button.
virtual void DoHistComplex()
Slot connected to the 3D-Plot radio button.
virtual void DoSliderXMoved()
Slot connected to the x-Slider that redraws the histogram with the new slider range.
TGCompositeFrame * f12
Frame that contains the Bar-Title.
Service class for 2-D histogram classes.
Mother of all ROOT objects.