12 #ifndef ROOT_TH1Editor 13 #define ROOT_TH1Editor 23 #ifndef ROOT_TGedFrame
TGNumberEntry * fBarOffset
TString GetHistTypeLabel()
Returns the selected histogram type (HIST, LEGO1-2, SURF1-5).
TGCompositeFrame * fBinCont
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual void DoPercent()
Slot connected to the bar percentage settings.
static double p3(double t, double a, double b, double c, double d)
virtual void DoHistComplex()
Slot connected to the 3D radio button.
static TGComboBox * BuildHistCoordsComboBox(TGFrame *parent, Int_t id)
Create coordinate system type combo box.
static TGComboBox * BuildHistAddComboBox(TGFrame *parent, Int_t id)
Create Line/Bar combo box.
TGCheckButton * fAddMarker
virtual void DoBinOffset()
Slot connected to the OffSetNumberEntry which is related to the OffSetSlider changes the origin of th...
virtual void DoCancel()
Slot connected to the Cancel button of the Binning tab.
TGNumberEntry * fBarWidth
virtual void DoAddBar(Bool_t)
Slot connected to the bar Add check box.
virtual void DoBarOffset()
Slot connected to the Bar Offset of the Bar Charts.
TString GetHistAddLabel()
Return the selected shape of the histogram (C, L, LF2).
TGComboBox * fPercentCombo
TGNumberEntryField * fOffsetNumberEntry
void ChangeErrorCombo(Int_t i)
Change the error combo box entry.
TGCheckButton * fDelaydraw
virtual void DoBinPressed()
Slot connected to the rebin slider in case of a not ntuple histogram.
TGNumberEntryField * fSldMin
TGCheckButton * fHistOnOff
virtual void PaintBox3D(Float_t *p1, Float_t *p2, Float_t *p3, Float_t *p4)
Paint a 3D box.
#define ClassDef(name, id)
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
void CreateBinTab()
Create binning tab.
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...
virtual void DoSliderMoved()
Slot connected to the x-Slider for redrawing of the histogram according to the new Slider range...
static double p2(double t, double a, double b, double c)
virtual void DoApply()
Slot connected to the Apply button of the Binning tab.
virtual void SetModel(TObject *obj)
Pick up current values of histogram attributes.
virtual void DoBinMoved1()
Slot connected to the rebin slider in case of an ntuple histogram.
virtual void DoBarWidth()
Slot connected to the Bar Width of the Bar Charts.
TGCheckButton * fAddSimple
virtual void RecursiveRemove(TObject *obj)
If the contained histogram obj is deleted we must set its pointer to zero.
virtual void DoAddSimple(Bool_t on)
Slot connected to fAddSimple check box for drawing a simple histogram without errors (== HIST draw op...
TGHButtonGroup * fDimGroup
TString GetHistCoordsLabel()
Return the selected coordinate system of the histogram (POL,CYL,SPH,PSR).
virtual void DoSliderPressed()
Slot connected to the x-axis Range slider for initialising the values of the slider movement...
TGNumberEntryField * fBinNumberEntry1
Int_t * Dividers(Int_t n)
Return an array of dividers of n (without the trivial divider n).
virtual Bool_t AcceptModel(TObject *model)
Check if object is able to configure with this editor.
static double p1(double t, double a, double b)
virtual void DoOffsetMoved(Int_t num)
Slot connected to the OffSetSlider.
TGCompositeFrame * fBinCont1
virtual void DoBinLabel1()
Slot connected to the Bin number entry of the Rebinning tab.
virtual void DoBinReleased()
Slot connected to the rebin slider in case of a not ntuple histogram Updates some other widgets which...
static TGComboBox * BuildHistTypeComboBox(TGFrame *parent, Int_t id)
Create histogram type combo box.
virtual void DoBinReleased1()
Slot connected to the BinNumber Slider in case of a ntuple histogram (does the Rebinning of the histo...
virtual void DoHistView()
Slot connected to the 'Plot' button group.
virtual void DoAxisRange()
Slot connected to the number entry fields containing the Max/Min value of the x-axis.
virtual void DoBinLabel()
Slot connected to the Bin number entry of the Rebinning tab.
TGNumberEntryField * fSldMax
TGCheckButton * fMakeHBar
TString GetHistErrorLabel()
Return the selected error type (E,E1-5).
static TGComboBox * BuildHistErrorComboBox(TGFrame *parent, Int_t id)
Create error type combo box.
virtual void DoHBar(Bool_t on)
Slot connected to the Horizontal Bar check button.
Mother of all ROOT objects.
TGHSlider * fBinOffsetSld
virtual void DoTitle(const char *text)
Slot connected to the histogram title setting.
virtual void DoHistChanges()
Slot connected to the histogram type, the coordinate type, the error type and the Add combo box...
virtual void DoAddB(Bool_t)
Slot connected to the bar Add check box.
TGComboBox * fCoordsCombo
static TGComboBox * BuildPercentComboBox(TGFrame *parent, Int_t id)
Create Percentage combo box for bar option.
virtual void DoAddMarker(Bool_t on)
Slot connected to the show markers check box.
TH1Editor(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 DoSliderReleased()
Slot connected to the x-axis Range slider for finalizing the values of the slider movement...
TGDoubleHSlider * fSlider
virtual void DoHistSimple()
Slot connected to the 2D radio button.
virtual void DoOffsetReleased()
Slot connected to the OffSetSlider.
virtual void DoOffsetPressed()
Slot connected to the OffSetSlider that saves the OldBinOffset (nessesary for delay draw mode)...
virtual ~TH1Editor()
Destructor of TH1 editor.
TGNumberEntryField * fBinNumberEntry