Analysis  version 7.0 - august 2014
GEVPreferences Class Reference

#include <GEVPreferences.hh>

Public Member Functions

GEVPreferencesoperator= (const GEVPreferences &original)
 
virtual ~GEVPreferences ()
 
 ClassDef (GEVPreferences, 0)
 

Static Public Member Functions

static void Save (const string &file="")
 
static void Load (const string &file="")
 
static void Load (FILE *fptr)
 
static void Update ()
 

Static Public Attributes

static UInt_t langage = 0
 Langage.
 
static UInt_t max_spec_size = 1048576
 Dimension maxi des spectres.
 
static string print_command = "lpr %f"
 Commande d'impression par défaut.
 
static Double_t print_size_x = 18.
 Format papier X.
 
static Double_t print_size_y = 25.
 Format papier Y.
 
static Int_t print_orient = 0
 Orientation papier.
 
static UInt_t page_width = 800
 Largeur des pages.
 
static UInt_t page_height = 600
 Hauteur des pages.
 
static Color_t page_canvas_fill_color = 13
 Couleur de fond des pages.
 
static Color_t page_pad_fill_color = 15
 Couleur de fond des pads.
 
static Color_t page_frame_fill_color = 10
 Couleur de fond des zones de tracé
 
static Color_t page_title_fill_color = 10
 Couleur de fond des titres.
 
static Color_t page_stat_fill_color = 10
 Couleur de fond des statistiques.
 
static Double_t pad_x_mgl = 0.12
 Marge à gauche du pad.
 
static Double_t pad_x_mgr = 0.08
 Marge à droite du pad.
 
static Double_t pad_y_mgu = 0.10
 Marge en haut du pad.
 
static Double_t pad_y_mgd = 0.10
 Marge en bas du pad.
 
static Double_t pad_xtit_off = 0.9
 Décalage du titre de l'axe X.
 
static Double_t pad_ytit_off = 1.2
 Décalage du titre de l'axe Y.
 
static Double_t pad_theta = 30.
 Angle pour tracé 3D.
 
static Double_t pad_phi = 30.
 Angle pour tracé 3D.
 
static Bool_t pad_stat = kTRUE
 Affichage des statistiques.
 
static Bool_t pad_stat_entries = kTRUE
 Nombre d'entrées dans les statistiques.
 
static Bool_t pad_stat_mean = kTRUE
 Valeur moyenne dans les statistiques.
 
static Bool_t pad_stat_rms = kTRUE
 Ecart-type dans les statistiques.
 
static Bool_t pad_stat_cont = kTRUE
 Statistiques des contours.
 
static Color_t plot_line_color = 1
 Couleur de ligne des tracés
 
static Style_t plot_line_style = 1
 Style de ligne des tracés
 
static Width_t plot_line_width = 2
 Epaisseur de ligne des tracés
 
static Color_t plot_fill_color = 0
 Couleur de remplissage des tracés
 
static Style_t plot_fill_style = 0
 Style de remplissage des tracés
 
static Color_t plot_marker_color = 1
 Couleur de marqueur des tracés
 
static Style_t plot_marker_style = 1
 Style (type) de marqueur des tracés
 
static Size_t plot_marker_size = 1.
 Taille de marqueur des tracés
 
static UInt_t plot_1D_options = rPlot1DHisto
 Options de tracé des spectres.
 
static UInt_t plot_2D_options = rPlot2DColor
 Options de tracé des spectres.
 
static UInt_t plot_3D_options = rPlot3DScatter
 Options de tracé des spectres.
 
static Color_t contour_line_color = 2
 Couleur de ligne des contours.
 
static Width_t contour_line_width = 1
 Epaisseur de ligne des contours.
 
static Style_t contour_line_style = 1
 Style de ligne des contours.
 
static UInt_t contour_edit_width = 500
 Largeur du canevas d'édition.
 
static UInt_t contour_edit_height = 500
 Hauteur du canevas d'édition.
 
static Color_t contour_edit_pt_color = 4
 Couleur de point du contour en cours d'édition.
 
static Style_t contour_edit_pt_style = 20
 Style (type) de point du contour en cours d'édition.
 
static Size_t contour_edit_pt_size = 1
 Taille de point du contour en cours d'édition.
 
static Width_t contour_edit_pt_width = 1
 Epaisseur des marqueurs lignes (contour 1D)
 
static Color_t contour_edit_sel_color = 2
 Couleur de point sélectionné du contour en cours d'édition.
 
static Style_t contour_edit_sel_style = 20
 Style (type) de point sélectionné du contour en cours d'édition.
 
static Size_t contour_edit_sel_size = 1.5
 Taille de point sélectionné du contour en cours d'édition.
 
static Width_t contour_edit_sel_width = 2
 Epaisseur du marqueur ligne sélectionnée (contour 1D)
 
static Color_t contour_edit_ctr_color = 3
 Couleur de point spécial (centre) du contour en cours d'édition.
 
static Style_t contour_edit_ctr_style = 20
 Style (type) de point spécial (centre) du contour en cours d'édition.
 
static Size_t contour_edit_ctr_size = 1
 Taille de point spécial (centre) du contour en cours d'édition.
 
static Color_t contour_edit_line_color = 2
 Couleur de ligne du contour en cours d'édition.
 
static Width_t contour_edit_line_width = 2
 Epaisseur de ligne du contour en cours d'édition.
 
static Style_t contour_edit_line_style = 1
 Style de ligne du contour en cours d'édition.
 
static Color_t contour_init_line_color = 3
 Couleur de ligne du contour original édité
 
static Width_t contour_init_line_width = 1
 Epaisseur de ligne du contour original édité
 
static Style_t contour_init_line_style = 1
 Style de ligne du contour original édité
 
static Color_t contour_list_line_color = 2
 Couleur de ligne des contours de la liste.
 
static Width_t contour_list_line_width = 1
 Epaisseur de ligne des contours de la liste.
 
static Style_t contour_list_line_style = 2
 Style de ligne des contours de la liste.
 

Protected Member Functions

 GEVPreferences ()
 
 GEVPreferences (const GEVPreferences &original)
 

Private Member Functions

 GObject (GEVPreferences)
 

Detailed Description

Cette classe définit l'ensemble des options et propriétés par défaut pour les pages, les zones graphiques (pads) et les tracés de spectres. Tous les champs de cette classe sont statiques et publics, et il n'y a donc pas lieu de créer un tel objet.

Constructor & Destructor Documentation

GEVPreferences::GEVPreferences ( )
protected

Constructeur par défaut.

GEVPreferences::~GEVPreferences ( )
virtual

Destructeur.

Member Function Documentation

GEVPreferences::GObject ( GEVPreferences  )
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.
void GEVPreferences::Save ( const string &  file = "")
static

Sauvegarde des préférences. Si le nom de fichier n'est pas spécifié, c'est un fichier utilisateur par défaut qui est ecrit.

Parameters
filefichier de sauvegarde

References contour_edit_ctr_color, contour_edit_ctr_size, contour_edit_ctr_style, contour_edit_height, contour_edit_line_color, contour_edit_line_style, contour_edit_line_width, contour_edit_pt_color, contour_edit_pt_size, contour_edit_pt_style, contour_edit_pt_width, contour_edit_sel_color, contour_edit_sel_size, contour_edit_sel_style, contour_edit_sel_width, contour_edit_width, contour_init_line_color, contour_init_line_style, contour_init_line_width, contour_line_color, contour_line_style, contour_line_width, contour_list_line_color, contour_list_line_style, contour_list_line_width, GEV_PREFS_CONTOUR_EDIT_CTR_COLOR, GEV_PREFS_CONTOUR_EDIT_CTR_SIZE, GEV_PREFS_CONTOUR_EDIT_CTR_STYLE, GEV_PREFS_CONTOUR_EDIT_HEIGHT, GEV_PREFS_CONTOUR_EDIT_LINE_COLOR, GEV_PREFS_CONTOUR_EDIT_LINE_STYLE, GEV_PREFS_CONTOUR_EDIT_LINE_WIDTH, GEV_PREFS_CONTOUR_EDIT_PT_COLOR, GEV_PREFS_CONTOUR_EDIT_PT_SIZE, GEV_PREFS_CONTOUR_EDIT_PT_STYLE, GEV_PREFS_CONTOUR_EDIT_PT_WIDTH, GEV_PREFS_CONTOUR_EDIT_SEL_COLOR, GEV_PREFS_CONTOUR_EDIT_SEL_SIZE, GEV_PREFS_CONTOUR_EDIT_SEL_STYLE, GEV_PREFS_CONTOUR_EDIT_SEL_WIDTH, GEV_PREFS_CONTOUR_EDIT_WIDTH, GEV_PREFS_CONTOUR_INIT_LINE_COLOR, GEV_PREFS_CONTOUR_INIT_LINE_STYLE, GEV_PREFS_CONTOUR_INIT_LINE_WIDTH, GEV_PREFS_CONTOUR_LINE_COLOR, GEV_PREFS_CONTOUR_LINE_STYLE, GEV_PREFS_CONTOUR_LINE_WIDTH, GEV_PREFS_CONTOUR_LIST_LINE_COLOR, GEV_PREFS_CONTOUR_LIST_LINE_STYLE, GEV_PREFS_CONTOUR_LIST_LINE_WIDTH, GEV_PREFS_DEFAULT, GEV_PREFS_END, GEV_PREFS_HEADER, GEV_PREFS_MAIN_PRINT_CMD, GEV_PREFS_MAIN_PRINT_ORIENT, GEV_PREFS_MAIN_PRINT_SIZE_X, GEV_PREFS_MAIN_PRINT_SIZE_Y, GEV_PREFS_PAD_PHI, GEV_PREFS_PAD_STAT_CONT, GEV_PREFS_PAD_STAT_ENTRIES, GEV_PREFS_PAD_STAT_MEAN, GEV_PREFS_PAD_STAT_RMS, GEV_PREFS_PAD_STAT_SHOW, GEV_PREFS_PAD_THETA, GEV_PREFS_PAD_X_MGL, GEV_PREFS_PAD_X_MGR, GEV_PREFS_PAD_XTIT_OFF, GEV_PREFS_PAD_Y_MGD, GEV_PREFS_PAD_Y_MGU, GEV_PREFS_PAD_YTIT_OFF, GEV_PREFS_PAGE_CANVAS_COLOR, GEV_PREFS_PAGE_FRAME_COLOR, GEV_PREFS_PAGE_HEIGHT, GEV_PREFS_PAGE_PAD_COLOR, GEV_PREFS_PAGE_STAT_COLOR, GEV_PREFS_PAGE_TITLE_COLOR, GEV_PREFS_PAGE_WIDTH, GEV_PREFS_PLOT_1D_OPTIONS, GEV_PREFS_PLOT_2D_OPTIONS, GEV_PREFS_PLOT_3D_OPTIONS, GEV_PREFS_PLOT_FILL_COLOR, GEV_PREFS_PLOT_FILL_STYLE, GEV_PREFS_PLOT_LINE_COLOR, GEV_PREFS_PLOT_LINE_STYLE, GEV_PREFS_PLOT_LINE_WIDTH, GEV_PREFS_PLOT_MARKER_COLOR, GEV_PREFS_PLOT_MARKER_SIZE, GEV_PREFS_PLOT_MARKER_STYLE, pad_phi, pad_stat, pad_stat_cont, pad_stat_entries, pad_stat_mean, pad_stat_rms, pad_theta, pad_x_mgl, pad_x_mgr, pad_xtit_off, pad_y_mgd, pad_y_mgu, pad_ytit_off, page_canvas_fill_color, page_frame_fill_color, page_height, page_pad_fill_color, page_stat_fill_color, page_title_fill_color, page_width, plot_1D_options, plot_2D_options, plot_3D_options, plot_fill_color, plot_fill_style, plot_line_color, plot_line_style, plot_line_width, plot_marker_color, plot_marker_size, plot_marker_style, print_command, print_orient, print_size_x, and print_size_y.

Referenced by GEVPreferencesEditor::DefaultButtonClicked(), and GEVPreferencesEditor::SaveButtonClicked().

void GEVPreferences::Load ( const string &  file = "")
static

Lecture des préférences. Si le nom de fichier n'est pas spécifié, c'est un fichier utilisateur par défaut qui est lu.

Parameters
filefichier de préférence

References GEV_PREFS_DEFAULT, GEV_PREFS_HEADER, and read_string().

Referenced by GEVPageManager::GEVPageManager(), GEVPreferencesEditor::LoadButtonClicked(), and GEVPreferencesEditor::RestoreButtonClicked().

void GEVPreferences::Load ( FILE *  fptr)
static

Lecture des préférences. Le fichier doit déjà être ouvert, et l'entête vérifié.

Parameters
fptrpointeur fichier de préférence

References contour_edit_ctr_color, contour_edit_ctr_size, contour_edit_ctr_style, contour_edit_height, contour_edit_line_color, contour_edit_line_style, contour_edit_line_width, contour_edit_pt_color, contour_edit_pt_size, contour_edit_pt_style, contour_edit_pt_width, contour_edit_sel_color, contour_edit_sel_size, contour_edit_sel_style, contour_edit_sel_width, contour_edit_width, contour_init_line_color, contour_init_line_style, contour_init_line_width, contour_line_color, contour_line_style, contour_line_width, contour_list_line_color, contour_list_line_style, contour_list_line_width, GEV_PREFS_CONTOUR_EDIT_CTR_COLOR, GEV_PREFS_CONTOUR_EDIT_CTR_SIZE, GEV_PREFS_CONTOUR_EDIT_CTR_STYLE, GEV_PREFS_CONTOUR_EDIT_HEIGHT, GEV_PREFS_CONTOUR_EDIT_LINE_COLOR, GEV_PREFS_CONTOUR_EDIT_LINE_STYLE, GEV_PREFS_CONTOUR_EDIT_LINE_WIDTH, GEV_PREFS_CONTOUR_EDIT_PT_COLOR, GEV_PREFS_CONTOUR_EDIT_PT_SIZE, GEV_PREFS_CONTOUR_EDIT_PT_STYLE, GEV_PREFS_CONTOUR_EDIT_PT_WIDTH, GEV_PREFS_CONTOUR_EDIT_SEL_COLOR, GEV_PREFS_CONTOUR_EDIT_SEL_SIZE, GEV_PREFS_CONTOUR_EDIT_SEL_STYLE, GEV_PREFS_CONTOUR_EDIT_SEL_WIDTH, GEV_PREFS_CONTOUR_EDIT_WIDTH, GEV_PREFS_CONTOUR_INIT_LINE_COLOR, GEV_PREFS_CONTOUR_INIT_LINE_STYLE, GEV_PREFS_CONTOUR_INIT_LINE_WIDTH, GEV_PREFS_CONTOUR_LINE_COLOR, GEV_PREFS_CONTOUR_LINE_STYLE, GEV_PREFS_CONTOUR_LINE_WIDTH, GEV_PREFS_CONTOUR_LIST_LINE_COLOR, GEV_PREFS_CONTOUR_LIST_LINE_STYLE, GEV_PREFS_CONTOUR_LIST_LINE_WIDTH, GEV_PREFS_END, GEV_PREFS_MAIN_PRINT_CMD, GEV_PREFS_MAIN_PRINT_ORIENT, GEV_PREFS_MAIN_PRINT_SIZE_X, GEV_PREFS_MAIN_PRINT_SIZE_Y, GEV_PREFS_PAD_PHI, GEV_PREFS_PAD_STAT_CONT, GEV_PREFS_PAD_STAT_ENTRIES, GEV_PREFS_PAD_STAT_MEAN, GEV_PREFS_PAD_STAT_RMS, GEV_PREFS_PAD_STAT_SHOW, GEV_PREFS_PAD_THETA, GEV_PREFS_PAD_X_MGL, GEV_PREFS_PAD_X_MGR, GEV_PREFS_PAD_XTIT_OFF, GEV_PREFS_PAD_Y_MGD, GEV_PREFS_PAD_Y_MGU, GEV_PREFS_PAD_YTIT_OFF, GEV_PREFS_PAGE_CANVAS_COLOR, GEV_PREFS_PAGE_FRAME_COLOR, GEV_PREFS_PAGE_HEIGHT, GEV_PREFS_PAGE_PAD_COLOR, GEV_PREFS_PAGE_STAT_COLOR, GEV_PREFS_PAGE_TITLE_COLOR, GEV_PREFS_PAGE_WIDTH, GEV_PREFS_PLOT_1D_OPTIONS, GEV_PREFS_PLOT_2D_OPTIONS, GEV_PREFS_PLOT_3D_OPTIONS, GEV_PREFS_PLOT_FILL_COLOR, GEV_PREFS_PLOT_FILL_STYLE, GEV_PREFS_PLOT_LINE_COLOR, GEV_PREFS_PLOT_LINE_STYLE, GEV_PREFS_PLOT_LINE_WIDTH, GEV_PREFS_PLOT_MARKER_COLOR, GEV_PREFS_PLOT_MARKER_SIZE, GEV_PREFS_PLOT_MARKER_STYLE, pad_phi, pad_stat, pad_stat_cont, pad_stat_entries, pad_stat_mean, pad_stat_rms, pad_theta, pad_x_mgl, pad_x_mgr, pad_xtit_off, pad_y_mgd, pad_y_mgu, pad_ytit_off, page_canvas_fill_color, page_frame_fill_color, page_height, page_pad_fill_color, page_stat_fill_color, page_title_fill_color, page_width, plot_1D_options, plot_2D_options, plot_3D_options, plot_fill_color, plot_fill_style, plot_line_color, plot_line_style, plot_line_width, plot_marker_color, plot_marker_size, plot_marker_style, print_command, print_orient, print_size_x, print_size_y, read_string(), and Update().

GEVPreferences::ClassDef ( GEVPreferences  ,
 
)

Définition à usage de ROOT...


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