JG ROOT Tools libraries  version 5.0 - august 2014
RGHistoWindow Class Reference

#include <RGHistoWindow.hh>

Inheritance diagram for RGHistoWindow:
RGFrameEvent RGHistoLimits RGFitBase1D RGFitBase2D RGHistoTools RGFitDecay RGFitPeak RGFitGaus2D RGuiFitDecay RGuiFitPeak RGuiFitGaus2D

Public Member Functions

 RGHistoWindow (const TGWindow *main=NULL, TH1 *hptr=NULL, const string plot_opt="", const UInt_t opts=0, const bool construct=true, const bool autostart=true)
 
 RGHistoWindow (const RGHistoWindow &original)
 
RGHistoWindowoperator= (const RGHistoWindow &original)
 
virtual ~RGHistoWindow ()
 
virtual void Construct ()
 
virtual void ConstructLimits ()
 
virtual void MapSubwindows ()
 
virtual void RemapToolsFrame ()
 
virtual void UpdateWindowTitle ()
 
virtual void Request ()
 
virtual void Quit ()
 
TGCompositeFrame * GetUpperFrame ()
 
TGHorizontalFrame * GetMiddleFrame ()
 
TGCompositeFrame * GetMiddleLeftFrame ()
 
TGHorizontalFrame * GetCenterFrame ()
 
TGCompositeFrame * GetUpperCanvasFrame ()
 
TGVerticalFrame * GetCanvasFrame ()
 
TGCompositeFrame * GetMiddleRightFrame ()
 
TGCompositeFrame * GetLowerFrame ()
 
TGVerticalFrame * GetToolsFrame ()
 
TGCompositeFrame * GetUpperToolsFrame ()
 
virtual void PadEvent (Int_t event, Int_t x, Int_t y, TObject *selected)
 
virtual void SetPositionNul ()
 
virtual void SetPositionHisto (const Double_t xh, const Double_t yh)
 
virtual void SetPositionXAxis (const Double_t xh)
 
virtual void SetPositionYAxis (const Double_t yh)
 
virtual void SetPositionZAxis (const Double_t zh)
 
virtual void XAxisChanged ()
 
virtual void YAxisChanged ()
 
virtual void ZAxisChanged ()
 
virtual void ArrowKeyLeft ()
 
virtual void ArrowKeyRight ()
 
virtual void ArrowKeyUp ()
 
virtual void ArrowKeyDown ()
 
virtual void ZoomInKey ()
 
virtual void ZoomOutKey ()
 
virtual void Reset ()
 
virtual Int_t SetHisto (TH1 *hptr, const bool reset=false)
 
virtual Int_t SetHisto (TH1 *hptr, const bool reset, const bool redraw)
 
virtual void Redraw ()
 
virtual void PlotHisto ()
 
virtual void UpdateLimits ()
 
virtual bool SetXLog (const Bool_t b=kTRUE)
 
virtual bool SetYLog (const Bool_t b=kTRUE)
 
virtual bool SetZLog (const Bool_t b=kTRUE)
 
virtual void SetXFull (const Bool_t redraw)
 
virtual void SetYFull (const Bool_t redraw)
 
virtual void SetZFull (const Bool_t redraw)
 
virtual void SetXFull ()
 
virtual void SetYFull ()
 
virtual void SetZFull ()
 
virtual void LogXToggled (Bool_t b)
 
virtual void LogYToggled (Bool_t b)
 
virtual void LogZToggled (Bool_t b)
 
virtual void XValueChanged ()
 
virtual void YValueChanged ()
 
virtual void ZValueChanged ()
 
virtual void XFullButtonClicked ()
 
virtual void YFullButtonClicked ()
 
virtual void ZFullButtonClicked ()
 
virtual void UnzoomButtonClicked ()
 
virtual void AutoButtonClicked ()
 
virtual void AnglesChanged ()
 
 ClassDef (RGHistoWindow, 0)
 
- Public Member Functions inherited from RGFrameEvent
 RGFrameEvent (TVirtualPad *pad=gPad)
 
 RGFrameEvent (const RGFrameEvent &original)
 
RGFrameEventoperator= (const RGFrameEvent &original)
 
virtual ~RGFrameEvent ()
 
virtual void PadClosed ()
 
virtual void KeyPressed (const Int_t x, const Int_t y)
 
virtual void AltKeyPressed ()
 
virtual void CtrlKeyPressed ()
 
virtual void ShiftKeyPressed ()
 
virtual void ReturnKeyPressed ()
 
virtual void MouseButton1Up (const Double_t x, const Double_t y)
 
virtual void MouseButton1Down (const Double_t x, const Double_t y)
 
virtual void MouseButton1Double (const Double_t x, const Double_t y)
 
virtual void MouseButton1Locate (const Double_t x, const Double_t y)
 
virtual void MouseButton1Motion (const Double_t x, const Double_t y)
 
virtual void MouseButton2Up (const Double_t x, const Double_t y)
 
virtual void MouseButton2Down (const Double_t x, const Double_t y)
 
virtual void MouseButton2Double (const Double_t x, const Double_t y)
 
virtual void MouseButton2Locate (const Double_t x, const Double_t y)
 
virtual void MouseButton2Motion (const Double_t x, const Double_t y)
 
virtual void MouseButton3Up (const Double_t x, const Double_t y)
 
virtual void MouseButton3Down (const Double_t x, const Double_t y)
 
virtual void MouseButton3Double (const Double_t x, const Double_t y)
 
virtual void MouseButton3Locate (const Double_t x, const Double_t y)
 
virtual void MouseButton3Motion (const Double_t x, const Double_t y)
 
virtual void Locate (const Double_t x, const Double_t y)
 
virtual void AnyEvent (const Double_t x, const Double_t y)
 
 ClassDef (RGFrameEvent, 0)
 
- Public Member Functions inherited from RGHistoLimits
 RGHistoLimits (TH1 *hptr=NULL)
 
 RGHistoLimits (const RGHistoLimits &original)
 
RGHistoLimitsoperator= (const RGHistoLimits &original)
 
virtual void Affect (const RGHistoLimits &original)
 
virtual ~RGHistoLimits ()
 
virtual bool IsDataSet () const
 
virtual void Unzoom ()
 
 ClassDef (RGHistoLimits, 0)
 

Static Public Attributes

static UInt_t canvas_width = 600
 Default canvas width.
 
static UInt_t canvas_height = 900
 Default canvas height.
 

Protected Member Functions

void ClassInit ()
 
- Protected Member Functions inherited from RGHistoLimits
virtual void Set1DHisto (const TH1 *hptr)
 
virtual void Set2DHisto (const TH1 *hptr)
 
virtual void Set3DHisto (const TH1 *hptr)
 

Protected Attributes

UInt_t options
 Window options.
 
bool limits_widgets
 Flag indicating if histogram limits widgets are created.
 
TCanvas * canvas_ptr
 Canvas pointer.
 
TH1 * histo_ptr
 Histogram pointer.
 
bool histo_copy
 Flag if the class works with a copy of the histogram.
 
string plot_mode
 ROOT options for histogram display.
 
bool inhibit_slot
 Prevents recursive calls.
 
TRootEmbeddedCanvas * w_canvas
 Pointer to embedded canvas.
 
TGCompositeFrame * w_upper_frame
 Upper base frame.
 
TGHorizontalFrame * w_middle_frame
 Middle base frame.
 
TGCompositeFrame * w_middle_left_frame
 Middle left frame.
 
TGHorizontalFrame * w_center_frame
 Middle center frame.
 
TGCompositeFrame * w_upper_canvas_frame
 Base frame on top of pad.
 
TGCompositeFrame * w_middle_right_frame
 Middle right frame.
 
TGCompositeFrame * w_lower_frame
 Lower base frame.
 
TGVerticalFrame * w_canvas_frame
 Canvas frame.
 
TGVSplitter * w_splitter
 Frames separator.
 
TGVerticalFrame * w_tools_frame
 Tools frame.
 
TGLabel * w_position_line
 Position information line.
 
TGCompositeFrame * w_upper_tools_frame
 Upper frame for additionnal widgets.
 
TGGroupFrame * w_limits_frame
 Frame for plot limits.
 
TGHorizontalFrame * w_axis_frame
 Sous-cadre des axes.
 
TGVerticalFrame * w_axis_name_frame
 Cadre labels des axes.
 
TGLabel * w_x_label
 Labels.
 
TGLabel * w_y_label
 Labels.
 
TGLabel * w_z_label
 Labels.
 
TGVerticalFrame * w_axis_log_frame
 Cadre boutons échelle log.
 
TGCheckButton * w_x_log_button
 Bouton échelle log.
 
TGCheckButton * w_y_log_button
 Bouton échelle log.
 
TGCheckButton * w_z_log_button
 Bouton échelle log.
 
TGVerticalFrame * w_axis_min_label
 Cadre labels valeurs min.
 
TGLabel * w_min_label [3]
 Labels.
 
TGVerticalFrame * w_axis_min_value
 Cadre valeurs min.
 
TGNumberEntry * w_x_min_entry
 Saisie valeur mini.
 
TGNumberEntry * w_y_min_entry
 Saisie valeur mini.
 
TGNumberEntry * w_z_min_entry
 Saisie valeur mini.
 
TGVerticalFrame * w_axis_max_label
 Cadre labels valeurs max.
 
TGLabel * w_max_label [3]
 Labels.
 
TGVerticalFrame * w_axis_max_value
 Cadre valeurs min.
 
TGNumberEntry * w_x_max_entry
 Saisie valeur maxi.
 
TGNumberEntry * w_y_max_entry
 Saisie valeur maxi.
 
TGNumberEntry * w_z_max_entry
 Saisie valeur maxi.
 
TGVerticalFrame * w_axis_full_frame
 Cadre boutons pleine échelle.
 
TGTextButton * w_x_full_button
 Bouton pleine échelle.
 
TGTextButton * w_y_full_button
 Bouton pleine échelle.
 
TGTextButton * w_z_full_button
 Bouton pleine échelle.
 
TGVerticalFrame * w_zoom_frame
 Cadre boutons zoom.
 
TGTextButton * w_unzoom_button
 Bouton unzoom.
 
TGTextButton * w_auto_button
 Bouton échelle automatique.
 
TGHorizontalFrame * w_angles_frame
 Cadre des angles.
 
TGNumberEntry * w_theta_entry
 Saisie de l'angle.
 
TGNumberEntry * w_phi_entry
 Saisie de l'angle.
 
- Protected Attributes inherited from RGFrameEvent
TVirtualPad * pad_ptr
 Pointer to pad where events are processed.
 
- Protected Attributes inherited from RGHistoLimits
Int_t dimension
 Histogram dimension.
 
Double_t lim_x_min
 Axis lower limit.
 
Double_t lim_x_max
 Axis upper limit.
 
Double_t lim_y_min
 Axis lower limit.
 
Double_t lim_y_max
 Axis upper limit.
 
Double_t lim_z_min
 Axis lower limit.
 
Double_t lim_z_max
 Axis upper limit.
 
Double_t log_x_min
 Lower limit for log scale.
 
Double_t log_y_min
 Lower limit for log scale.
 
Double_t log_z_min
 Lower limit for log scale.
 
bool allow_x_log
 Test if log scale allowed.
 
bool allow_y_log
 Test if log scale allowed.
 
bool allow_z_log
 Test if log scale allowed.
 
Double_t x_min
 Current display lower bound.
 
Double_t x_max
 Current display upper bound.
 
Double_t y_min
 Current display lower bound.
 
Double_t y_max
 Current display upper bound.
 
Double_t z_min
 Current display lower bound.
 
Double_t z_max
 Current display upper bound.
 
bool x_log
 Log scale status.
 
bool y_log
 Log scale status.
 
bool z_log
 Log scale status.
 

Private Member Functions

 GObject (RGHistoWindow)
 

Detailed Description

class RGHistoWindow

This class defines a window with a plotting zone (canvas) to display an histogram, and some widgets zone. Its purpose is to display a single histogram for specific purpose (the pad should not be divided).

The following options are defined:

  • rghw1DHisto allows 1D histograms
  • rghw2DHisto allows 2D histograms
  • rghw3DHisto allows 3D histograms
  • rghwAllHisto allows 1D, 2D and 3D histograms (if none is allowed they are all...)
  • rghwToolSplitter use a splitter for adjustable separation between canvas and the tools frame.
  • rghwPositionLine display an information line below the canvas
  • rghwLimitsTool set the display limits tools for histograms
  • rghwLimitsUnderPad set the display limits tools under the histogram pad (default is in tools frame)

When cursor in on the plotting area, the histogram display can be moved with keyboard arrow keys. The + and - keys are for zoom in and out.

The (default) interface looks like:

RGHistoWindow.gif

The display limits can also be placed below the plot canvas (the optional area on the right can be used for additional GUI elements - see below):

RGHistoWindow_b.gif

It also defines various frames in order to add new elements to the graphical interface. The positions of the empty frames are shown here, together with the (non empty) class frames where new elements can be added:

RGHistoWindow_frames_a.gif

Constructor & Destructor Documentation

RGHistoWindow::RGHistoWindow ( const TGWindow *  main = NULL,
TH1 *  hptr = NULL,
const string  plot_opt = "",
const UInt_t  opts = 0,
const bool  construct = true,
const bool  autostart = true 
)

Constructor.

Parameters
mainmain application window
hptrpointer to displayed histogram
plot_optROOT draw options
optswindow options
constructflag for interface construction
autostartflag for request start (if construction is true)

References ClassInit(), Construct(), options, plot_mode, Request(), and SetHisto().

RGHistoWindow::RGHistoWindow ( const RGHistoWindow original)

Copy constructor, not implemented.

Parameters
originalobject to copy

References ClassInit().

RGHistoWindow::~RGHistoWindow ( )
virtual

Destructor.

References histo_copy, histo_ptr, and RGFrameEvent::pad_ptr.

Member Function Documentation

RGHistoWindow::GObject ( RGHistoWindow  )
private

Macro from GCpp library that defines the following functions:

  • ClassName(): return the real class name of the object
  • StaticClassName(): return the used class name of the object (that may be a base class of the real object).
  • IsInstanceOf<T>(): return true if the current object is an instance of the template class name argument
  • Clone(): return an allocated copy of the object.
RGHistoWindow & RGHistoWindow::operator= ( const RGHistoWindow original)

Affectation operator (non implémenté).

Parameters
originalobject to copy

References RGFrameEvent::pad_ptr.

void RGHistoWindow::MapSubwindows ( )
virtual

Overload of TGTransientFrame function, to display widgets according to histogram dimension.

Reimplemented in RGHistoTools.

References RemapToolsFrame().

Referenced by RGHistoTools::MapSubwindows(), RGFitDecay::Request(), RGFitGaus2D::Request(), RGFitPeak::Request(), and Request().

void RGHistoWindow::UpdateWindowTitle ( )
virtual

Update window title from histogram name.

Reimplemented in RGHistoTools.

References histo_ptr, rDico, RDico::rghw_title, and RDico::rghw_unnamed_histo.

Referenced by Request(), and SetHisto().

void RGHistoWindow::Request ( )
virtual
void RGHistoWindow::Quit ( )
virtual

Function called to close the request.

Reimplemented in RGFitBase2D, and RGFitBase1D.

Referenced by RGHistoTools::MenuActivated().

TGCompositeFrame * RGHistoWindow::GetUpperFrame ( )
inline

Get pointer on a frame that can include new widgets.

References w_upper_frame.

TGHorizontalFrame * RGHistoWindow::GetMiddleFrame ( )
inline

Get pointer on a frame that can include new widgets.

References w_middle_frame.

TGCompositeFrame * RGHistoWindow::GetMiddleLeftFrame ( )
inline

Get pointer on a frame that can include new widgets.

References w_middle_left_frame.

TGHorizontalFrame * RGHistoWindow::GetCenterFrame ( )
inline

Get pointer on a frame that can include new widgets.

References w_center_frame.

TGCompositeFrame * RGHistoWindow::GetUpperCanvasFrame ( )
inline

Get pointer on a frame that can include new widgets.

References w_upper_canvas_frame.

TGVerticalFrame * RGHistoWindow::GetCanvasFrame ( )
inline

Get pointer on a frame that can include new widgets.

References w_canvas_frame.

TGCompositeFrame * RGHistoWindow::GetMiddleRightFrame ( )
inline

Get pointer on a frame that can include new widgets.

References w_middle_right_frame.

TGCompositeFrame * RGHistoWindow::GetLowerFrame ( )
inline

Get pointer on a frame that can include new widgets.

References w_lower_frame.

TGVerticalFrame * RGHistoWindow::GetToolsFrame ( )
inline

Get pointer on a frame that can include new widgets.

References w_tools_frame.

TGCompositeFrame * RGHistoWindow::GetUpperToolsFrame ( )
inline

Get pointer on a frame that can include new widgets.

References w_upper_tools_frame.

void RGHistoWindow::PadEvent ( Int_t  event,
Int_t  x,
Int_t  y,
TObject *  selected 
)
virtual

Process events in the pad. It is overloaded from RGFrameEvent class to process events depending on the type of ROOT objects (axis, histogram, ...).

Parameters
eventevent information (type)
xX position information
yY position information
selectedpointer to selected object

Reimplemented from RGFrameEvent.

References RGFrameEvent::AltKeyPressed(), RGFrameEvent::AnyEvent(), ArrowKeyDown(), ArrowKeyLeft(), ArrowKeyRight(), ArrowKeyUp(), canvas_ptr, RGFrameEvent::CtrlKeyPressed(), RGHistoLimits::dimension, histo_ptr, RGFrameEvent::KeyPressed(), RGFrameEvent::Locate(), RGFrameEvent::MouseButton1Double(), RGFrameEvent::MouseButton1Down(), RGFrameEvent::MouseButton1Locate(), RGFrameEvent::MouseButton1Motion(), RGFrameEvent::MouseButton1Up(), RGFrameEvent::MouseButton2Double(), RGFrameEvent::MouseButton2Down(), RGFrameEvent::MouseButton2Locate(), RGFrameEvent::MouseButton2Motion(), RGFrameEvent::MouseButton2Up(), RGFrameEvent::MouseButton3Double(), RGFrameEvent::MouseButton3Down(), RGFrameEvent::MouseButton3Locate(), RGFrameEvent::MouseButton3Motion(), RGFrameEvent::MouseButton3Up(), RGFrameEvent::pad_ptr, RGFrameEvent::ReturnKeyPressed(), SetPositionHisto(), SetPositionNul(), SetPositionXAxis(), SetPositionYAxis(), SetPositionZAxis(), RGFrameEvent::ShiftKeyPressed(), w_phi_entry, w_theta_entry, RGHistoLimits::x_log, RGHistoLimits::x_max, RGHistoLimits::x_min, XAxisChanged(), RGHistoLimits::y_log, RGHistoLimits::y_max, RGHistoLimits::y_min, YAxisChanged(), RGHistoLimits::z_log, RGHistoLimits::z_max, RGHistoLimits::z_min, ZAxisChanged(), ZoomInKey(), and ZoomOutKey().

void RGHistoWindow::SetPositionNul ( )
virtual

Set default position display (undefined).

References w_position_line.

Referenced by Construct(), PadEvent(), and SetPositionHisto().

void RGHistoWindow::SetPositionHisto ( const Double_t  xh,
const Double_t  yh 
)
virtual

Set position display in histogram zone.

Parameters
xhcoordinate in histogram reference frame
yhcoordinate in histogram reference frame

References RGHistoLimits::dimension, histo_ptr, SetPositionNul(), and w_position_line.

Referenced by PadEvent().

void RGHistoWindow::SetPositionXAxis ( const Double_t  xh)
virtual

Set position display for X axis.

Parameters
xhaxis coordinate in histogram reference frame

References histo_ptr, and w_position_line.

Referenced by PadEvent().

void RGHistoWindow::SetPositionYAxis ( const Double_t  yh)
virtual

Set position display for Y axis.

Parameters
yhaxis coordinate in histogram reference frame

References histo_ptr, and w_position_line.

Referenced by PadEvent().

void RGHistoWindow::SetPositionZAxis ( const Double_t  zh)
virtual

Set position display for Z axis.

Parameters
zhaxis coordinate in histogram reference frame

References histo_ptr, and w_position_line.

Referenced by PadEvent().

void RGHistoWindow::XAxisChanged ( )
virtual

Slot called when axis boundaries are modified in the pad.

References UpdateLimits().

Referenced by PadEvent().

void RGHistoWindow::YAxisChanged ( )
virtual

Slot called when axis boundaries are modified in the pad.

References UpdateLimits().

Referenced by PadEvent().

void RGHistoWindow::ZAxisChanged ( )
virtual

Slot called when axis boundaries are modified in the pad.

References UpdateLimits().

Referenced by PadEvent().

void RGHistoWindow::ArrowKeyLeft ( )
virtual

Slot called when arrow key (move display) is pressed.

References RGHistoLimits::lim_x_max, RGHistoLimits::lim_x_min, RGHistoLimits::log_x_min, Redraw(), RGHistoLimits::x_log, RGHistoLimits::x_max, and RGHistoLimits::x_min.

Referenced by PadEvent().

void RGHistoWindow::ArrowKeyRight ( )
virtual

Slot called when arrow key (move display) is pressed.

References RGHistoLimits::lim_x_max, RGHistoLimits::lim_x_min, RGHistoLimits::log_x_min, Redraw(), RGHistoLimits::x_log, RGHistoLimits::x_max, and RGHistoLimits::x_min.

Referenced by PadEvent().

void RGHistoWindow::ArrowKeyUp ( )
virtual
void RGHistoWindow::ArrowKeyDown ( )
virtual
void RGHistoWindow::Reset ( )
virtual

Initializes all data, histogram pointer,...

Reimplemented from RGHistoLimits.

References histo_copy, histo_ptr, Redraw(), RGHistoLimits::Reset(), and UpdateLimits().

Referenced by RGHistoTools::Clear(), and SetHisto().

Int_t RGHistoWindow::SetHisto ( TH1 *  hptr,
const bool  reset = false 
)
inlinevirtual

Redefinition of RGHistoLimits function, to avoid compilation warning due to -Woverloaded-virtual option.

Parameters
hptrhistogram pointer
resetreset in case of problem

Reimplemented from RGHistoLimits.

Referenced by RGFitBase1D::Construct(), RGFitBase2D::Construct(), RGHistoWindow(), and RGHistoTools::SetHisto().

Int_t RGHistoWindow::SetHisto ( TH1 *  hptr,
const bool  reset,
const bool  redraw 
)
virtual

Set the histogram for the window. If option rghwCopyHisto is set, the histogram is dupplicated. The function returns 0 if no error occured, 1 for NULL pointer, 2 for bad dimension, 3 if histogram dimension does not fit selected options.

Parameters
hptrhistogram pointer
resetinitialize in case of problem
redrawflag indicating if histogram must be redrawn (this could be managed by a derived class)

References histo_copy, histo_ptr, options, Redraw(), RemapToolsFrame(), Reset(), RGHistoLimits::SetHisto(), UpdateLimits(), and UpdateWindowTitle().

void RGHistoWindow::PlotHisto ( )
virtual

Effective plot function (called by Redraw function). This function can be overloaded in derived class for more sophisticated plots.

Reimplemented in RGHistoTools.

References histo_ptr, and plot_mode.

Referenced by Redraw().

bool RGHistoWindow::SetXLog ( const Bool_t  b = kTRUE)
virtual

Set log-scale mode for the axis. The function returns true if a change has been done.

Parameters
blog scale status

Reimplemented from RGHistoLimits.

References RGHistoLimits::allow_x_log, histo_ptr, RGHistoLimits::lim_x_max, RGHistoLimits::lim_x_min, RGHistoLimits::log_x_min, Redraw(), UpdateLimits(), RGHistoLimits::x_log, RGHistoLimits::x_max, and RGHistoLimits::x_min.

Referenced by LogXToggled().

bool RGHistoWindow::SetYLog ( const Bool_t  b = kTRUE)
virtual

Set log-scale mode for the axis. The function returns true if a change has been done.

Parameters
blog scale status

Reimplemented from RGHistoLimits.

References RGHistoLimits::allow_y_log, RGHistoLimits::dimension, histo_ptr, RGHistoLimits::lim_y_max, RGHistoLimits::lim_y_min, RGHistoLimits::log_y_min, Redraw(), UpdateLimits(), RGHistoLimits::y_log, RGHistoLimits::y_max, and RGHistoLimits::y_min.

Referenced by LogYToggled().

bool RGHistoWindow::SetZLog ( const Bool_t  b = kTRUE)
virtual

Set log-scale mode for the axis. The function returns true if a change has been done.

Parameters
blog scale status

Reimplemented from RGHistoLimits.

References RGHistoLimits::allow_z_log, histo_ptr, RGHistoLimits::lim_z_max, RGHistoLimits::lim_z_min, RGHistoLimits::log_z_min, Redraw(), UpdateLimits(), RGHistoLimits::z_log, RGHistoLimits::z_max, and RGHistoLimits::z_min.

Referenced by LogZToggled().

void RGHistoWindow::SetXFull ( const Bool_t  redraw)
virtual

Set X axis full scale.

Parameters
redrawflag for redraw

References histo_ptr, RGHistoLimits::lim_x_max, RGHistoLimits::lim_x_min, Redraw(), UpdateLimits(), RGHistoLimits::x_max, and RGHistoLimits::x_min.

void RGHistoWindow::SetYFull ( const Bool_t  redraw)
virtual
void RGHistoWindow::SetZFull ( const Bool_t  redraw)
virtual
void RGHistoWindow::SetXFull ( )
inlinevirtual

Overload of RGHistoLimits to avoid compilation warning due to hidden function.

Reimplemented from RGHistoLimits.

Referenced by UnzoomButtonClicked(), and XFullButtonClicked().

void RGHistoWindow::SetYFull ( )
inlinevirtual

Overload of RGHistoLimits to avoid compilation warning due to hidden function.

Reimplemented from RGHistoLimits.

Referenced by UnzoomButtonClicked(), and YFullButtonClicked().

void RGHistoWindow::SetZFull ( )
inlinevirtual

Overload of RGHistoLimits to avoid compilation warnin due to hidden functiong.

Reimplemented from RGHistoLimits.

Referenced by UnzoomButtonClicked(), and ZFullButtonClicked().

void RGHistoWindow::LogXToggled ( Bool_t  b)
virtual
void RGHistoWindow::LogYToggled ( Bool_t  b)
virtual
void RGHistoWindow::LogZToggled ( Bool_t  b)
virtual

Slot called by log-scale button.

References SetZLog(), w_z_log_button, and RGHistoLimits::z_log.

Referenced by RGFitGaus2D::SetFitData(), and RGFitBase2D::SetFitData().

void RGHistoWindow::YValueChanged ( )
virtual

Slot called when axis lower or upper limit is changed (with CR or TAB).

References inhibit_slot, Redraw(), w_y_max_entry, w_y_min_entry, RGHistoLimits::y_max, RGHistoLimits::y_min, and YFullButtonClicked().

Referenced by RGFitBase2D::GuiLoadFitData(), RGFitGaus2D::SetFitData(), and RGFitBase2D::SetFitData().

void RGHistoWindow::ZValueChanged ( )
virtual

Slot called when axis lower or upper limit is changed (with CR or TAB).

References inhibit_slot, Redraw(), w_z_max_entry, w_z_min_entry, RGHistoLimits::z_max, RGHistoLimits::z_min, and ZFullButtonClicked().

void RGHistoWindow::XFullButtonClicked ( )
virtual

Slot called when axis full scale button is clicked.

References SetXFull().

Referenced by XValueChanged().

void RGHistoWindow::YFullButtonClicked ( )
virtual

Slot called when axis full scale button is clicked.

References SetYFull().

Referenced by YValueChanged().

void RGHistoWindow::ZFullButtonClicked ( )
virtual

Slot called when axis full scale button is clicked.

References SetZFull().

Referenced by ZValueChanged().

void RGHistoWindow::UnzoomButtonClicked ( )
virtual
void RGHistoWindow::AutoButtonClicked ( )
virtual
void RGHistoWindow::AnglesChanged ( )
virtual

Slot called when 3D view angles are changed.

References histo_ptr, inhibit_slot, RGFrameEvent::pad_ptr, Redraw(), w_phi_entry, and w_theta_entry.

RGHistoWindow::ClassDef ( RGHistoWindow  ,
 
)

For ROOT dictionary.


The documentation for this class was generated from the following files: