12 #ifndef GEV_PREFERENCES_HH
13 #define GEV_PREFERENCES_HH
16 #include "RGHistoPlotAttrSelect.hh"
22 #define GEV_PREFS_DEFAULT ".gev_preferences"
23 #define GEV_PREFS_HEADER "< BEGIN GUIEVENT PREFERENCES >"
24 #define GEV_PREFS_END "< END GUIEVENT PREFERENCES >"
26 #define GEV_PREFS_MAIN_PRINT_CMD "print_command"
27 #define GEV_PREFS_MAIN_PRINT_SIZE_X "print_size_x"
28 #define GEV_PREFS_MAIN_PRINT_SIZE_Y "print_size_y"
29 #define GEV_PREFS_MAIN_PRINT_ORIENT "print_orientation"
31 #define GEV_PREFS_PAGE_WIDTH "page_width"
32 #define GEV_PREFS_PAGE_HEIGHT "page_height"
34 #define GEV_PREFS_PAGE_CANVAS_COLOR "page_canvas_color"
35 #define GEV_PREFS_PAGE_PAD_COLOR "page_pad_color"
36 #define GEV_PREFS_PAGE_FRAME_COLOR "page_frame_color"
37 #define GEV_PREFS_PAGE_TITLE_COLOR "page_title_color"
38 #define GEV_PREFS_PAGE_STAT_COLOR "page_stat_color"
40 #define GEV_PREFS_PAD_X_MGL "pad_x_mgl"
41 #define GEV_PREFS_PAD_X_MGR "pad_x_mgr"
42 #define GEV_PREFS_PAD_Y_MGU "pad_y_mgu"
43 #define GEV_PREFS_PAD_Y_MGD "pad_y_mgd"
44 #define GEV_PREFS_PAD_XTIT_OFF "pad_xtit_off"
45 #define GEV_PREFS_PAD_YTIT_OFF "pad_ytit_off"
46 #define GEV_PREFS_PAD_THETA "pad_theta"
47 #define GEV_PREFS_PAD_PHI "pad_phi"
48 #define GEV_PREFS_PAD_STAT_SHOW "pad_stat_show"
49 #define GEV_PREFS_PAD_STAT_ENTRIES "pad_stat_entries"
50 #define GEV_PREFS_PAD_STAT_MEAN "pad_stat_mean"
51 #define GEV_PREFS_PAD_STAT_RMS "pad_stat_rms"
52 #define GEV_PREFS_PAD_STAT_CONT "pad_stat_cont"
54 #define GEV_PREFS_PLOT_LINE_COLOR "plot_line_color"
55 #define GEV_PREFS_PLOT_LINE_STYLE "plot_line_style"
56 #define GEV_PREFS_PLOT_LINE_WIDTH "plot_line_width"
57 #define GEV_PREFS_PLOT_FILL_COLOR "plot_fill_color"
58 #define GEV_PREFS_PLOT_FILL_STYLE "plot_fill_style"
59 #define GEV_PREFS_PLOT_MARKER_COLOR "plot_marker_color"
60 #define GEV_PREFS_PLOT_MARKER_STYLE "plot_marker_style"
61 #define GEV_PREFS_PLOT_MARKER_SIZE "plot_marker_size"
62 #define GEV_PREFS_PLOT_1D_OPTIONS "plot_1d_options"
63 #define GEV_PREFS_PLOT_2D_OPTIONS "plot_2d_options"
64 #define GEV_PREFS_PLOT_3D_OPTIONS "plot_3d_options"
66 #define GEV_PREFS_CONTOUR_LINE_COLOR "contour_line_color"
67 #define GEV_PREFS_CONTOUR_LINE_WIDTH "contour_line_width"
68 #define GEV_PREFS_CONTOUR_LINE_STYLE "contour_line_style"
69 #define GEV_PREFS_CONTOUR_EDIT_WIDTH "contour_edit_width"
70 #define GEV_PREFS_CONTOUR_EDIT_HEIGHT "contour_edit_height"
72 #define GEV_PREFS_CONTOUR_EDIT_PT_COLOR "contour_edit_pt_color"
73 #define GEV_PREFS_CONTOUR_EDIT_PT_STYLE "contour_edit_pt_style"
74 #define GEV_PREFS_CONTOUR_EDIT_PT_SIZE "contour_edit_pt_size"
75 #define GEV_PREFS_CONTOUR_EDIT_PT_WIDTH "contour_edit_pt_width"
76 #define GEV_PREFS_CONTOUR_EDIT_CTR_COLOR "contour_edit_ctr_color"
77 #define GEV_PREFS_CONTOUR_EDIT_CTR_STYLE "contour_edit_ctr_style"
78 #define GEV_PREFS_CONTOUR_EDIT_CTR_SIZE "contour_edit_ctr_size"
79 #define GEV_PREFS_CONTOUR_EDIT_SEL_COLOR "contour_edit_sel_color"
80 #define GEV_PREFS_CONTOUR_EDIT_SEL_STYLE "contour_edit_sel_style"
81 #define GEV_PREFS_CONTOUR_EDIT_SEL_SIZE "contour_edit_sel_size"
82 #define GEV_PREFS_CONTOUR_EDIT_SEL_WIDTH "contour_edit_sel_width"
84 #define GEV_PREFS_CONTOUR_EDIT_LINE_COLOR "contour_edit_line_color"
85 #define GEV_PREFS_CONTOUR_EDIT_LINE_WIDTH "contour_edit_line_width"
86 #define GEV_PREFS_CONTOUR_EDIT_LINE_STYLE "contour_edit_line_style"
87 #define GEV_PREFS_CONTOUR_INIT_LINE_COLOR "contour_init_line_color"
88 #define GEV_PREFS_CONTOUR_INIT_LINE_WIDTH "contour_init_line_width"
89 #define GEV_PREFS_CONTOUR_INIT_LINE_STYLE "contour_init_line_style"
90 #define GEV_PREFS_CONTOUR_LIST_LINE_COLOR "contour_list_line_color"
91 #define GEV_PREFS_CONTOUR_LIST_LINE_WIDTH "contour_list_line_width"
92 #define GEV_PREFS_CONTOUR_LIST_LINE_STYLE "contour_list_line_style"
212 static void Save (
const string & file =
"" );
213 static void Load (
const string & file =
"" );
214 static void Load ( FILE *fptr );
static Double_t pad_phi
Angle pour tracé 3D.
Definition: GEVPreferences.hh:142
static Width_t contour_line_width
Epaisseur de ligne des contours.
Definition: GEVPreferences.hh:168
static string print_command
Commande d'impression par défaut.
Definition: GEVPreferences.hh:117
static Double_t pad_xtit_off
Décalage du titre de l'axe X.
Definition: GEVPreferences.hh:138
static UInt_t plot_1D_options
Options de tracé des spectres.
Definition: GEVPreferences.hh:162
static Size_t contour_edit_sel_size
Taille de point sélectionné du contour en cours d'édition.
Definition: GEVPreferences.hh:181
static Color_t page_title_fill_color
Couleur de fond des titres.
Definition: GEVPreferences.hh:129
static Color_t contour_edit_line_color
Couleur de ligne du contour en cours d'édition.
Definition: GEVPreferences.hh:188
static Color_t contour_edit_pt_color
Couleur de point du contour en cours d'édition.
Definition: GEVPreferences.hh:174
static UInt_t page_height
Hauteur des pages.
Definition: GEVPreferences.hh:124
static void Load(const string &file="")
Definition: GEVPreferences.cpp:403
static Bool_t pad_stat_cont
Statistiques des contours.
Definition: GEVPreferences.hh:148
static UInt_t page_width
Largeur des pages.
Definition: GEVPreferences.hh:123
GEVPreferences & operator=(const GEVPreferences &original)
Definition: GEVPreferences.cpp:206
static Color_t page_pad_fill_color
Couleur de fond des pads.
Definition: GEVPreferences.hh:127
static Width_t contour_init_line_width
Epaisseur de ligne du contour original édité
Definition: GEVPreferences.hh:193
virtual ~GEVPreferences()
Definition: GEVPreferences.cpp:292
static Style_t contour_init_line_style
Style de ligne du contour original édité
Definition: GEVPreferences.hh:194
static Width_t contour_edit_pt_width
Epaisseur des marqueurs lignes (contour 1D)
Definition: GEVPreferences.hh:177
static Double_t pad_y_mgd
Marge en bas du pad.
Definition: GEVPreferences.hh:136
static UInt_t contour_edit_height
Hauteur du canevas d'édition.
Definition: GEVPreferences.hh:172
static Color_t page_frame_fill_color
Couleur de fond des zones de tracé
Definition: GEVPreferences.hh:128
static Color_t contour_list_line_color
Couleur de ligne des contours de la liste.
Definition: GEVPreferences.hh:196
static Bool_t pad_stat_mean
Valeur moyenne dans les statistiques.
Definition: GEVPreferences.hh:146
static Color_t plot_line_color
Couleur de ligne des tracés
Definition: GEVPreferences.hh:151
static Double_t print_size_x
Format papier X.
Definition: GEVPreferences.hh:118
static Int_t print_orient
Orientation papier.
Definition: GEVPreferences.hh:120
static UInt_t contour_edit_width
Largeur du canevas d'édition.
Definition: GEVPreferences.hh:171
static Width_t contour_edit_line_width
Epaisseur de ligne du contour en cours d'édition.
Definition: GEVPreferences.hh:189
static Color_t contour_edit_sel_color
Couleur de point sélectionné du contour en cours d'édition.
Definition: GEVPreferences.hh:179
static Bool_t pad_stat
Affichage des statistiques.
Definition: GEVPreferences.hh:144
static Color_t plot_fill_color
Couleur de remplissage des tracés
Definition: GEVPreferences.hh:155
static Color_t contour_init_line_color
Couleur de ligne du contour original édité
Definition: GEVPreferences.hh:192
static Double_t pad_x_mgl
Marge à gauche du pad.
Definition: GEVPreferences.hh:133
static UInt_t plot_3D_options
Options de tracé des spectres.
Definition: GEVPreferences.hh:164
static Color_t page_canvas_fill_color
Couleur de fond des pages.
Definition: GEVPreferences.hh:126
static Color_t contour_line_color
Couleur de ligne des contours.
Definition: GEVPreferences.hh:167
static UInt_t plot_2D_options
Options de tracé des spectres.
Definition: GEVPreferences.hh:163
static Size_t plot_marker_size
Taille de marqueur des tracés
Definition: GEVPreferences.hh:160
static Double_t pad_y_mgu
Marge en haut du pad.
Definition: GEVPreferences.hh:135
static Color_t plot_marker_color
Couleur de marqueur des tracés
Definition: GEVPreferences.hh:158
static Width_t contour_list_line_width
Epaisseur de ligne des contours de la liste.
Definition: GEVPreferences.hh:197
static Style_t plot_marker_style
Style (type) de marqueur des tracés
Definition: GEVPreferences.hh:159
static Width_t contour_edit_sel_width
Epaisseur du marqueur ligne sélectionnée (contour 1D)
Definition: GEVPreferences.hh:182
static Width_t plot_line_width
Epaisseur de ligne des tracés
Definition: GEVPreferences.hh:153
static Bool_t pad_stat_entries
Nombre d'entrées dans les statistiques.
Definition: GEVPreferences.hh:145
static Double_t pad_ytit_off
Décalage du titre de l'axe Y.
Definition: GEVPreferences.hh:139
static Style_t contour_edit_line_style
Style de ligne du contour en cours d'édition.
Definition: GEVPreferences.hh:190
static UInt_t langage
Langage.
Definition: GEVPreferences.hh:114
static Double_t print_size_y
Format papier Y.
Definition: GEVPreferences.hh:119
Definition: GEVPreferences.hh:104
static Double_t pad_x_mgr
Marge à droite du pad.
Definition: GEVPreferences.hh:134
static Style_t contour_list_line_style
Style de ligne des contours de la liste.
Definition: GEVPreferences.hh:198
static Size_t contour_edit_pt_size
Taille de point du contour en cours d'édition.
Definition: GEVPreferences.hh:176
static Style_t contour_edit_pt_style
Style (type) de point du contour en cours d'édition.
Definition: GEVPreferences.hh:175
static Style_t contour_edit_sel_style
Style (type) de point sélectionné du contour en cours d'édition.
Definition: GEVPreferences.hh:180
static Size_t contour_edit_ctr_size
Taille de point spécial (centre) du contour en cours d'édition.
Definition: GEVPreferences.hh:186
static void Update()
Definition: GEVPreferences.cpp:560
static Style_t contour_line_style
Style de ligne des contours.
Definition: GEVPreferences.hh:169
static void Save(const string &file="")
Definition: GEVPreferences.cpp:303
static Color_t contour_edit_ctr_color
Couleur de point spécial (centre) du contour en cours d'édition.
Definition: GEVPreferences.hh:184
static UInt_t max_spec_size
Dimension maxi des spectres.
Definition: GEVPreferences.hh:115
static Style_t contour_edit_ctr_style
Style (type) de point spécial (centre) du contour en cours d'édition.
Definition: GEVPreferences.hh:185
ClassDef(GEVPreferences, 0)
static Style_t plot_fill_style
Style de remplissage des tracés
Definition: GEVPreferences.hh:156
static Style_t plot_line_style
Style de ligne des tracés
Definition: GEVPreferences.hh:152
static Color_t page_stat_fill_color
Couleur de fond des statistiques.
Definition: GEVPreferences.hh:130
static Double_t pad_theta
Angle pour tracé 3D.
Definition: GEVPreferences.hh:141
GEVPreferences()
Definition: GEVPreferences.cpp:112
static Bool_t pad_stat_rms
Ecart-type dans les statistiques.
Definition: GEVPreferences.hh:147