|
JG ROOT Tools libraries
version 5.0 - august 2014
|
#include <RGFitDisplayer.hh>
Public Member Functions | |
| RGFitDisplayer (const TGWindow *parent, const TGWindow *main=NULL) | |
| RGFitDisplayer (const RGFitDisplayer &original) | |
| virtual | ~RGFitDisplayer () |
| virtual void | Construct () |
| virtual void | MapRequester () |
| virtual void | DrawFitResult ()=0 |
| virtual void | ExportPlot () |
| virtual void | PrintPlot () |
| virtual void | NoDifferenceToggled () |
| virtual void | Button (const Int_t n) |
| ClassDef (RGFitDisplayer, 0) | |
Public Member Functions inherited from RGBaseRequester | |
| RGBaseRequester (const TGWindow *parent, const TGWindow *main, int &result, const char *title, const char *buttons=rDico.brq_ok_cancel.c_str(), const ULong_t opts=0, const bool auto_start=true) | |
| RGBaseRequester (const TGWindow *parent, const TGWindow *main, const char *title, const char *buttons=rDico.brq_ok_cancel.c_str(), const ULong_t opts=0, const bool auto_start=false) | |
| virtual | ~RGBaseRequester () |
| virtual void | Request () |
| virtual TGCompositeFrame * | GetFrame () const |
| virtual TGHorizontalFrame * | GetHFrame () const |
| virtual TGVerticalFrame * | GetVFrame () const |
| virtual void | AddFrame (TGFrame *f, TGLayoutHints *l=0) |
| virtual void | CloseFromButton () |
| virtual void | CancelClose (const Bool_t b=kTRUE) |
| virtual void | ReqButtonClicked (Int_t n) |
| virtual void | ProcessedEvent (Event_t *event) |
| virtual void | Quit () |
| ClassDef (RGBaseRequester, 0) | |
Protected Attributes | |
| TCanvas * | canvas_ptr |
| Pointer to canvas. | |
| TRootEmbeddedCanvas * | w_canvas |
| Pointer to ROOT embedded canvas. | |
| TGVerticalFrame * | w_check_frame |
| Frame for additional check buttons. | |
| TGCheckButton * | w_no_difference |
| Button for difference plot. | |
Protected Attributes inherited from RGBaseRequester | |
| int * | result_adr |
| Request resul pointer. | |
| string | req_title |
| Request title. | |
| const char * | req_buttons |
| Buttons texts. | |
| UInt_t | options |
| Request options. | |
| ULong_t | req_button_layout |
| Buttons layout. | |
| TGCompositeFrame * | w_widget_frame |
| Frame for widgets. | |
| TGCompositeFrame * | w_buttons_frame |
| Frame for buttons. | |
| TList | buttons_list |
| List of created buttons. | |
| Bool_t | cancel_close |
| Check for close cancellation. | |
Private Member Functions | |
| GObjectV (RGFitDisplayer) | |
Static Private Attributes | |
| static UInt_t | disp_width = 600 |
| Display window width. | |
| static UInt_t | disp_height = 800 |
| Display window height. | |
| static string | export_name = "fit.eps" |
| Export name. | |
| static Int_t | export_id = 2 |
| File type. | |
Friends | |
| class | RGFitBase1D |
Additional Inherited Members | |
Protected Member Functions inherited from RGBaseRequester | |
| RGBaseRequester (const RGBaseRequester &req) | |
Static Protected Attributes inherited from RGBaseRequester | |
| static UInt_t | max_width = 1200 |
| Maximum request width. | |
| static UInt_t | max_height = 800 |
| Maximum request height. | |
Graphical interface to display fit results from a fitter deriving from RGFitBase.
| RGFitDisplayer::RGFitDisplayer | ( | const TGWindow * | parent, |
| const TGWindow * | main = NULL |
||
| ) |
Constructor.
| parent | parent window |
| main | main application window |
| RGFitDisplayer::RGFitDisplayer | ( | const RGFitDisplayer & | original | ) |
Copy constructor: not implemented.
| original | object to copy |
|
virtual |
Destructor.
|
private |
Macro from GCpp library that defines the following functions:
|
virtual |
Interface construction: setup additionnal widgets, like embedded canvas.
Reimplemented from RGBaseRequester.
Reimplemented in RGFitDisplayer2D, and RGFitDisplayer1D.
References RGBaseRequester::AddFrame(), canvas_ptr, disp_height, disp_width, rDico, RDico::rgfit_disp_no_dif, RGBaseRequester::w_buttons_frame, w_canvas, w_check_frame, w_no_difference, and RGBaseRequester::w_widget_frame.
Referenced by RGFitDisplayer1D::Construct(), and RGFitDisplayer2D::Construct().
|
virtual |
Map the requester (interface).
Reimplemented from RGBaseRequester.
References DrawFitResult(), and RGBaseRequester::MapRequester().
|
pure virtual |
Affichage du résultat de fit dans le pad.
Implemented in RGFitDisplayer2D, and RGFitDisplayer1D.
Referenced by MapRequester(), and NoDifferenceToggled().
|
virtual |
Export the plot: the file is selected with a requester.
References canvas_ptr, export_id, export_name, rExportFileTypes, and RSetFileExt().
Referenced by Button().
|
virtual |
Print the plot: a print requester is started.
References RDico::brq_ok_cancel, canvas_ptr, rDico, and RDico::rgfit_disp_print_title.
Referenced by Button().
|
virtual |
Slot for difference plot button.
References DrawFitResult().
|
virtual |
Slot for selected button: the ReqButtonClicked(Int_t) signal is emitted.
Reimplemented from RGBaseRequester.
References RGBaseRequester::CancelClose(), ExportPlot(), PrintPlot(), and RGBaseRequester::result_adr.
| RGFitDisplayer::ClassDef | ( | RGFitDisplayer | , |
| 0 | |||
| ) |
For ROOT dictionary.