Analysis
version 7.0 - august 2014
|
#include <GEVPlot.hh>
Public Member Functions | |
GEVPlot (Spectrum *spec=NULL) | |
GEVPlot (const GEVPlot &original) | |
virtual | ~GEVPlot () |
GEVPlot & | operator= (const GEVPlot &original) |
virtual UInt_t | GetSpectrumDimension () const |
virtual const Spectrum * | GetSpectrumPtr () const |
virtual Spectrum * | GetSpectrumPtr () |
virtual void | SetPlotDefaultOptions () |
virtual bool | Write (FILE *fptr) const |
ClassDef (GEVPlot, 0) | |
![]() | |
GEVPlotProperties () | |
GEVPlotProperties (const GEVPlotProperties &original) | |
GEVPlotProperties & | operator= (const GEVPlotProperties &original) |
virtual | ~GEVPlotProperties () |
void | SetPlotOptions (const UInt_t opts) |
UInt_t | GetPlotOptions () const |
void | SetScalingMode (const Int_t m=0) |
Int_t | GetScalingMode () const |
void | SetScalingValue (const Double_t sc=1.) |
Double_t | GetScalingValue () const |
ClassDef (GEVPlotProperties, 0) | |
Static Public Member Functions | |
static GEVPlot * | Read (FILE *fptr, GEVPad *pad) |
Protected Attributes | |
Spectrum * | spec_ptr |
Pointeur sur le spectre associé | |
![]() | |
Int_t | scale_mode |
Option d'échelle. | |
Double_t | scale_value |
Valeur du paramètre d'échelle. | |
UInt_t | plot_options |
Options de tracé | |
Private Member Functions | |
GObject (GEVPlot) | |
Friends | |
class | GEVPad |
Classe qui fait référence à un spectre avec ses attributs graphiques pour les interfaces basées sur ROOT. Cette classe sert à insérer des spectres dans les zones graphiques (GEVPad) des pages. La classe hérite de GEVPlotProperties, qui permettent de mémoriser les attributs graphiques pour le tracé du spectre, sachant qu'un même spectre peut être affiché dans plusieurs zones ou pages, avec des attributs différents.
GEVPlot::GEVPlot | ( | Spectrum * | spec = NULL | ) |
Constructeur.
spec | pointeur sur le spectre associé |
References SetPlotDefaultOptions(), and spec_ptr.
Referenced by Read().
GEVPlot::GEVPlot | ( | const GEVPlot & | original | ) |
|
virtual |
Destructeur: le pointeur sur l'instance Spectrum n'est pas effacé.
|
private |
Macro from GCpp library that defines the following functions:
|
inlinevirtual |
Retourne la dimension du spectre associé au tracé.
References Spectrum::Dimension(), and spec_ptr.
Referenced by GEVPlotPropertiesEditor::Construct(), GEVPadAxisPropertiesEditor::Construct(), GEVPad::DrawContourList(), GEVPad::GetPlotOptionString(), GEVPadContourEditor::GEVPadContourEditor(), GEVPage::ProcessDefaultEvent(), GEVPad::RangeAxisChanged(), GEVPadContourEditor::RedrawPoints(), GEVPagePlotsModeEditor::Set(), GEVPageAxisPropertiesEditor::Set(), GEVPadAxisProperties::SetFirstPlot(), SetPlotDefaultOptions(), and GEVPadAxisPropertiesEditor::YFullClicked().
|
inlinevirtual |
Retourne le pointeur sur le spectre associé au tracé.
References spec_ptr.
Referenced by GEVPad::AdaptContourList(), GEVPad::AddContourPlot(), GEVPad::AddSpectrumPlot(), GEVPadSpectraSelector::Construct(), GEVPadContourSelector::Construct(), GEVPlotPropertiesEditor::Construct(), GEVSpectrumFitErrorRequester::GetFitSpec(), GEVPad::GetParamNumber(), GEVPad::GetXParamPtr(), GEVPad::GetYParamPtr(), GEVPad::GetZParamPtr(), GEVPadContourEditor::GEVPadContourEditor(), GEVPage::ProcessDefaultEvent(), GEVPad::RangeAxisChanged(), GEVPad::Read(), GEVPadContourEditor::Request(), GEVPadAxisProperties::SetFirstPlot(), GEVPadContourEditor::UnzoomButton(), GEVPadAxisPropertiesEditor::YFullClicked(), and GEVPadAxisPropertiesEditor::ZFullClicked().
|
inlinevirtual |
Retourne le pointeur sur le spectre associé au tracé.
References spec_ptr.
|
virtual |
Sélectionne les options par défaut pour le tracé du spectre. Il ne s'agit que des options pour le tracé de l'histogramme, et non des couleurs, remplissages...
References GetSpectrumDimension(), GEVPreferences::plot_1D_options, GEVPreferences::plot_2D_options, GEVPreferences::plot_3D_options, and GEVPlotProperties::plot_options.
Referenced by GEVPlot().
|
virtual |
Ecriture de la définition d'un tracé dans un fichier (pour la sauvegarde des pages).
fptr | pointeur de fichier |
References GEV_PLOT_FILL, GEV_PLOT_LINE, GEV_PLOT_MARKER, GEV_PLOT_OPTION, GEV_PLOT_SCALING, GEV_PLOT_SPECTRUM, GEVPlotProperties::plot_options, GEVPlotProperties::scale_mode, GEVPlotProperties::scale_value, and spec_ptr.
Lecture de la définition d'un tracé de spectre dans un fichier. Le nouveau tracé est allouée.
fptr | pointeur de fichier |
pad | pointeur sur la zone qui reçoit le tracé |
References GEVPad::GetEventManagerPtr(), EventManager::GetSpectrumPtr(), GEV_PAD_PLOT_END, GEV_PLOT_FILL, GEV_PLOT_LINE, GEV_PLOT_MARKER, GEV_PLOT_OPTION, GEV_PLOT_SCALING, GEV_PLOT_SPECTRUM, GEVPlot(), GEVPreferences::plot_fill_color, GEVPreferences::plot_fill_style, GEVPreferences::plot_line_color, GEVPreferences::plot_line_style, GEVPreferences::plot_line_width, GEVPreferences::plot_marker_color, GEVPreferences::plot_marker_size, GEVPreferences::plot_marker_style, read_string(), GEVPlotProperties::SetPlotOptions(), GEVPlotProperties::SetScalingMode(), and GEVPlotProperties::SetScalingValue().
Referenced by GEVPad::Read().
GEVPlot::ClassDef | ( | GEVPlot | , |
0 | |||
) |
Définition à usage de ROOT...