12 #ifndef ROOT_TH2Editor 13 #define ROOT_TH2Editor
virtual void DoOffsetPressed()
Slot connected to the OffSetSlider.
static double p3(double t, double a, double b, double c, double d)
TGNumberEntryField * fSldXMax
TString GetHistTypeLabel()
Return the immediate histogram type (HIST, LEGO1-4, SURF1-5).
image html pict1_TGaxis_012 png width
Define new text attributes for the label number "labNum".
TGCheckButton * fAddPalette1
TH2Editor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor of histogram attribute GUI.
virtual void DoBinMoved()
Slot connected to the rebin sliders in case of no ntuple histogram does the rebinning of the selected...
TGComboBox * fCoordsCombo
virtual void DoAddError(Bool_t on)
Slot connected to the "Error" check button.
TGNumberEntryField * fXOffsetNumberEntry
TString GetHistCoordsLabel()
Return the immediate coordinate system of the histogram.
void CreateBinTab()
Create the Binning tab.
TGNumberEntry * fContLevels1
virtual void DoAddFB()
Slot connected to the "FB front-box draw option" check button.
virtual void DoSliderYPressed()
Slot connected to y-axis slider which initialises the "virtual" box which is drawn in delay draw mode...
TString GetCutOptionString()
Return draw option string related to graphical cut in use.
virtual void DoAddPalette(Bool_t on)
Slot connected to the color palette check button.
virtual void DoFillColor(Pixel_t)
Slot connected to the fill area color.
virtual void DoHistView()
Slot connected to the 'Plot' button group.
TGDoubleHSlider * fSliderX
TGHButtonGroup * fDimGroup
TGCheckButton * fAddError
virtual void DoContLevel1()
Slot connected to the contour level number entry fContLevels1.
#define ClassDef(name, id)
virtual void DoAddBox(Bool_t on)
Slot connected to the "Box draw option" check button.
virtual void DoFillPattern(Style_t)
Slot connected to the fill area pattern.
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
void PaintBox3D(Float_t *p1, Float_t *p2, Float_t *p3, Float_t *p4)
Paint a square in 3D.
virtual void DoContLevel()
Slot connected to the contour level number entry fContLevels.
virtual void DoBinLabel()
Slot connected to the Bin Number Entry for the Rebin.
static double p2(double t, double a, double b, double c)
virtual void DoSliderXReleased()
Slot connected to the x-axis slider finalizing values after the slider movement.
virtual void DoAddScat(Bool_t on)
Slot connected to the "Scat draw option" check button.
virtual void DoBinOffset()
Slot connected to the OffSetNumberEntry, related to the OffSetSlider changes the origin of the histog...
virtual void RecursiveRemove(TObject *obj)
If the contained histogram obj is deleted we must set its pointer to zero.
virtual void DoBinReleased()
Slot connected to the rebin slider in case of no ntuple histogram.
virtual void DoBarOffset()
Slot connected to the bar offset of the bar chart.
virtual void DoSliderYReleased()
Slot connected to the y-axis slider finalizing values after the slider movement.
virtual ~TH2Editor()
Destructor.
virtual void DoYAxisRange()
Slot connected to the Max/Min number entry fields showing y-axis range.
virtual void DoAddText(Bool_t on)
Slot connected to the "Text draw option" check button.
TGNumberEntryField * fBinYNumberEntry
TGCompositeFrame * fBinYCont1
virtual void DoBinPressed()
Slot connected to the rebin slider in case of no ntuple histogram.
TString GetHistAdditiveLabel()
Return histogram additive options (Arr,Box,Col,Scat,Col,Text,E,Z,FB,BB).
Service class for 2-Dim histogram classes.
static TGComboBox * BuildHistCoordsComboBox(TGFrame *parent, Int_t id)
Create coordinate system combo box.
TGNumberEntryField * fBinYNumberEntry1
virtual void DoCancel()
Slot connected to the Cancel Button in the Rebinned histogram Window.
The ROOT global object gROOT contains a list of all defined classes.
static double p1(double t, double a, double b)
TGedPatternSelect * fFramePattern
TGNumberEntryField * fYOffsetNumberEntry
virtual void DoSliderXPressed()
Slot connected to the x axis range slider that initialises the "virtual" box which is drawn in delay ...
virtual void DoAddArr(Bool_t on)
Slot connected to the "Arrow draw option" check button.
virtual void DoXAxisRange()
Slot connected to the Max/Min number entry fields showing x-axis range.
virtual void DoBinMoved1()
Slot connected to the rebin slider in case of an ntuple histogram.
virtual void ActivateBaseClassEditors(TClass *cl)
Skip TH1Editor in building list of editors.
virtual void SetModel(TObject *obj)
Pick up the values of current histogram attributes.
virtual void DoBarWidth()
Slot connected to the bar width of the bar chart.
virtual void DoAddCol(Bool_t on)
Slot connected to the "Col draw option" check button.
TGNumberEntryField * fBinXNumberEntry1
virtual void DoSliderXMoved()
Slot connected to the x-Slider that redraws the histogram with the new slider range.
TGDoubleHSlider * fSliderY
TGHSlider * fXBinOffsetSld
TGCompositeFrame * fBinXCont1
static TGComboBox * BuildHistTypeComboBox(TGFrame *parent, Int_t id)
Create histogram type combo box.
virtual void DoOffsetMoved()
Slot connected to the OffSetSlider.
virtual void DoOffsetReleased()
Slot connected to the OffSetSlider that changes the origin of the histogram inbetween a binwidth; reb...
virtual void DoHistComplex()
Slot connected to the 3D-Plot radio button.
virtual void DoAddBB()
Slot connected to the "BB back-box draw option" check button.
virtual void DoTitle(const char *text)
Slot connected to the histogram title setting.
TString GetHistContLabel()
Returns histogram contour option (None,Cont0..5).
TGNumberEntryField * fBinXNumberEntry
Mother of all ROOT objects.
TGCheckButton * fDelaydraw
TGNumberEntryField * fSldXMin
virtual void DoBinLabel1()
Slot connected to the Bin Number Entry for the Rebin.
virtual Bool_t AcceptModel(TObject *model)
Check if object is able to configure with this editor.
TGNumberEntry * fContLevels
virtual void DoHistChanges()
Slot connected to histogram type, coordinate system, contour combo box.
TGNumberEntryField * fSldYMax
virtual void DoApply()
Slot connected to the Apply Button in the Rebinned histogram Window.
TGNumberEntry * fBarWidth
virtual void DoHistSimple()
Slot connected to the 2D-Plot radio button.
virtual void DoSliderYMoved()
Slot connected to the x-slider for redrawing the histogram with the new slider Range (immediately)...
static TGComboBox * BuildHistContComboBox(TGFrame *parent, Int_t id)
Create contour combo box.
TGCheckButton * fAddPalette
TGNumberEntryField * fSldYMin
TGCompositeFrame * fBinXCont
virtual void ConnectSignals2Slots()
Connect signals to slots.
TGHSlider * fYBinOffsetSld
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...
virtual void DoBinReleased1()
Slot connected to the BinNumber Slider in case of a 'ntuple histogram'.
TGNumberEntry * fBarOffset
TGColorSelect * fFrameColor