JG ROOT Tools libraries  version 5.0 - august 2014
RGFitDecay.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file RGFitDecay.hh
3  *
4  * Include file for class RGFitDecay
5  */
6 //======================================================================
7 
8 #ifndef RG_FIT_DECAY_HH
9 #define RG_FIT_DECAY_HH
10 
11 #include "RFitDecay.hh"
12 #include "RGFitBase1D.hh"
13 
14 ///! Default width of control zone of the interface
15 #define RGFIT_DECAY_WIDTH 500
16 
17 // New point type for the fit.
18 namespace RGFitPointType
19 {
20  /*! Start of production or decay phases point type.*/
21  static const int phaseTime = 1;
22 }
23 
24 
25 //======================================================================
26 /*! \class RGFitDecay
27  *
28  * Graphical interface for the RFitDecay class.
29  * See RGFitBase1D class for general fit interface features.
30  *
31  * It allows to define interactively the preset points:
32  * - 2 points for fit limits
33  * - 1 point for start of production phase (if option fitGrowing is set)
34  * - 1 point start of decay phase (if option fitDecay is set)
35  *
36  * \note
37  * The class inherits 2 times from RFitBase (virtual inheritance).
38  * ROOT interpreter cannot manage this case, and the derived class
39  * RGuiFitDecay may be used in ROOT sessions.
40  */
41 class RGFitDecay : virtual public RFitDecay,
42  virtual public RGFitBase1D
43 {
44  //------------------------------------------------------------
45  /*! \object_doc{RGFitDecay} */
47  //------------------------------------------------------------
48 
49  friend class RGFitDisplayer1D;
50 
51  public:
52  static TAttLine halflife_line_att; ///< Half-life preset line attributes
53  static TAttLine phase_line_att; ///< Production and decay phases start point line attributes
54 
55  protected:
56  static UInt_t control_width; ///< Default width for control zone of the interface
57 
58  TH1 * h_bg; ///< Pointer to result background histogram
59  TH1 * h_dec0_pr; ///< Pointer to result histogram of component 0 (direct production)
60  TH1 * h_dec1_pr; ///< Pointer to result histogram of component 1 (direct production)
61  TH1 * h_dec1_f0; ///< Pointer to result histogram of component 1 (decay of component 0)
62  TH1 * h_dec2_pr; ///< Pointer to result histogram of component 2 (direct production)
63  TH1 * h_dec2_f1; ///< Pointer to result histogram of component 2 (decay of component 1)
64  TH1 * h_dec2_f0; ///< Pointer to result histogram of component 2 (decay of component 0 and 1)
65 
66  // Widgets spécifiques
67  TGHorizontalFrame * w_opt_frame; ///< Cadre des options de fit
68 
69  TGGroupFrame * w_opt_mode_frame; ///< Cadre du mode de fit
70  TGRadioButton * w_fit_decay; ///< Bouton pour fit décroissance seule
71  TGRadioButton * w_fit_prod; ///< Bouton pour fit production seule
72  TGRadioButton * w_fit_prod_decay; ///< Bouton pour fit production et décroissance
73  TGCheckButton * w_opt_err; ///< Indicateur option normalisation des erreurs
74  TGCheckButton * w_opt_eff; ///< Indicateur option efficacité variable
75 
76  TGGroupFrame * w_opt_param_frame; ///< Cadre des options de paramètres
77  TGRadioButton * w_opt_halflife; ///< Bouton paramètre durée de vie
78  TGRadioButton * w_opt_lambda; ///< Bouton paramètre lambda
79  TGRadioButton * w_opt_rate; ///< Bouton paramètre taux de décroissance à t0
80  TGRadioButton * w_opt_number; ///< Bouton paramètre nombre de noyaux à t0
81  TGRadioButton * w_opt_prod; ///< Bouton paramètre taux de production
82 
83  TGGroupFrame * w_fit_decay_frame; ///< Cadre des options composantes de décroissance
84  TGCheckButton * w_opt_single_fil; ///< Indicateur option première filiation
85  TGCheckButton * w_opt_double_fil; ///< Indicateur option seconde filiation
86  TGCheckButton * w_opt_prod_second; ///< Indicateur option production directe second noyau
87  TGCheckButton * w_opt_prod_third; ///< Indicateur option production directe trisième noyau
88 
89  TGGroupFrame * w_times_frame; ///< Cadre des phases de production/décroissance
90  TGVerticalFrame * w_times_label; ///< Colonne des labels
91  TGVerticalFrame * w_times_value; ///< Colonne des valeurs de paramètre
92  TGVerticalFrame * w_times_fix; ///< Colonne des paramètres fixes
93  TGVerticalFrame * w_times_param; ///< Colonne des temps comme paramètres
94  TGLabel * w_tprod_label; ///< Label de widget
95  TGNumberEntry * w_tprod_value; ///< Valeur début de phase de production
96  TGCheckButton * w_tprod_fix; ///< Début de phase de production comme paramètre fixe
97  TGCheckButton * w_tprod_param; ///< Début de phase de production comme paramètre de fit
98  TGLabel * w_tdec_label; ///< Label de widget
99  TGNumberEntry * w_tdec_value; ///< Valeur début de phase de décroissance
100  TGCheckButton * w_tdec_fix; ///< Début de phase de décroissance comme paramètre fixe
101  TGCheckButton * w_tdec_param; ///< Début de phase de décroissance comme paramètre de fit
102 
103  TGGroupFrame * w_bg_frame; ///< Cadre des paramètres de fond
104  TGHorizontalFrame * w_bg_type_frame; ///< Ligne type de fond
105  TGLabel * w_bg_type_label; ///< Label type de fond
106  TGComboBox * w_bg_type_select; ///< Sélection type de fond
107  TGHorizontalFrame * w_bg_par_frame; ///< Zone des paramètres fond
108  TGVerticalFrame * w_bg_par_label_frame; ///< Cadre des labels
109  TGVerticalFrame * w_bg_par_value_frame; ///< Cadre des valeurs
110  TGVerticalFrame * w_bg_par_fix_frame; ///< Cadre des param. fix
111  TGLabel * w_bg_par_label[RDECAY_MAX_BG_PAR]; ///< Nom paramètre fond
112  TGNumberEntry * w_bg_par_value[RDECAY_MAX_BG_PAR]; ///< Valeur paramètre fond
113  TGCheckButton * w_bg_par_fix [RDECAY_MAX_BG_PAR]; ///< Fixe paramètre fond
114  TGTextButton * w_bg_par_preset; ///< Bouton de précalcul
115 
116  TGGroupFrame * w_comp_frame [RDECAY_MAX]; ///< Cadre des paramètres des pics
117  TGHorizontalFrame * w_comp_sub_frame [RDECAY_MAX]; ///< Cadre horizontal
118  TGVerticalFrame * w_halflife_frame [RDECAY_MAX]; ///< Cadre pour paramètre de durée de vie / lambda
119  TGLabel * w_halflife_label[RDECAY_MAX]; ///< Label pour paramètre de durée de vie / lambda
120  TGNumberEntry * w_halflife_value[RDECAY_MAX]; ///< Valeur pour paramètre de durée de vie / lambda
121  TGCheckButton * w_halflife_fix [RDECAY_MAX]; ///< Fixe le paramètre de durée de vie / lambda
122  TGVerticalFrame * w_prod_frame [RDECAY_MAX]; ///< Cadre pour paramètre de production
123  TGVerticalFrame * w_prod_sub_frame [RDECAY_MAX]; ///< Sous-cadre pour masquage du paramètre
124  TGLabel * w_prod_label [RDECAY_MAX]; ///< Label pour paramètre de production
125  TGNumberEntry * w_prod_value [RDECAY_MAX]; ///< Valeur pour paramètre de production
126  TGCheckButton * w_prod_fix [RDECAY_MAX]; ///< Fixe le paramètre de production
127  TGVerticalFrame * w_eff_frame [RDECAY_MAX]; ///< Cadre pour efficacité159
128  TGVerticalFrame * w_eff_sub_frame [RDECAY_MAX]; ///< Sous-cadre pour masquage du paramètre
129  TGLabel * w_eff_label [RDECAY_MAX]; ///< Label pour efficacitée du paramètre
130  TGNumberEntry * w_eff_value [RDECAY_MAX]; ///< Valeur pour efficacité59
131 
132  //----------------------------------------------------------
133  public:
134  // Constructeurs
135  RGFitDecay ( const TGWindow * parent, TH1 *hptr, TH1 * herr = NULL );
136  RGFitDecay ( const TGWindow * parent, TH1 *hptr, const RFitDataDecay & fit_data );
137  RGFitDecay ( const TGWindow * parent, TH1 *hptr, const Double_t x1, const Double_t x2 );
138  RGFitDecay ( const TGWindow * parent, TH1 *hptr, TH1 * herr, const RFitDataDecay & fit_data );
139  RGFitDecay ( const TGWindow * parent, TH1 *hptr, TH1 * herr, const Double_t x1, const Double_t x2 );
140 
141  protected:
142  RGFitDecay ( const RGFitDecay & original );
143 
144  public:
145  // Destructeur
146  virtual ~RGFitDecay ( );
147 
148  //----------------------------------------------------------
149  // gestion de l'interface
150  virtual void Init ( );
151  virtual void ConstructFitData ( );
152  virtual void ConstructOpts ( );
153  virtual void ConstructTimes ( );
154  virtual void ConstructBg ( );
155  virtual void ConstructDecays ( );
156 
157  virtual void Request ( );
158 
159  virtual void SetControlWidth ( const UInt_t w );
160 
161  // options (statiques pour pouvoir être vues dans la fonction de fit)
162  // elles sont redéfinies pour appeler explicitement les fonctions
163  // de la classe RFitDecay et non de RGGetPoints
164  virtual void SetOptions ( const UInt_t opts );
165  virtual void SetOption ( const UInt_t opt, const bool b = true );
166  virtual UInt_t GetOptions ( ) const;
167  virtual bool GetOption ( const UInt_t opt ) const;
168 
169  //----------------------------------------------------------
170  // Surchage des fonctions de la classe RFitDecay
171  // (pour associer la mise à jour de l'interface graphique)
172  virtual void SetBgType ( const Int_t bg );
173  virtual void SetProdTime ( const Double_t val );
174  virtual void SetDecayTime ( const Double_t val );
175  virtual Int_t CheckTimes ( const bool warn = false );
176 
177  virtual void SetFitLimits ( const Double_t x1, const Double_t x2 );
178 
179  virtual RFitData1D * CreateFitData ( );
180  virtual RFitData1D * GetFitData ( );
181  virtual void SetFitData ( const RFitData1D * fit_data );
182 
183 
184  virtual void ResetFunctions ( );
185  virtual void CalcFunctions ( const bool bg = false );
186  virtual bool SaveFunctions ( const string &fname = "" ) const;
187 
188  //----------------------------------------------------------
189  // Fonctions liées à la saisie des points
190  // Renvoit le point le plus proche (distance en pixels)
191  virtual Int_t SelectedPoint ( const Double_t x );
192  virtual Int_t GetPointType ( const Int_t p );
193 
194  // Retrace les points saisis
195  virtual void RedrawPoints ( );
196 
197  virtual void AddPoint ( const Double_t x, const bool select = true );
198  virtual void DeletePoint ( const Int_t p );
199 
200  virtual void PointMoved ( const Int_t p );
201  virtual void PointSelected ( const Int_t p );
202  virtual void PointUnselected ( const Int_t p );
203 
204  //----------------------------------------------------------
205  // Fonctions de mise à jour de l'interface
206 
207  // remise à jour de l'interface lorsque les paramètres de fit ont
208  // été perdus (appel à InitMode())
209  virtual void ParamUpdateAll ( );
210 
211  // points de saisie -> paramètres de fit (classe de base)
212  virtual void PointsToParam ( );
213  virtual void PointsToParamTimes ( );
214 
215  // points de saisie -> valeurs widgets
216  virtual void PointsToWidget ( );
217  virtual void PointsToWidgetTimes ( );
218 
219  // valeurs widgets -> paramètres de fit (classe de base)
220  virtual void WidgetsToParam ( );
221  virtual void WidgetsToParamTimes ( );
222  virtual void WidgetsToParamBg ( );
223  virtual void WidgetsToParamDecays ( );
224 
225  // valeurs widgets -> points de saisie
226  virtual void WidgetsToPoint ( );
227  virtual void WidgetsToPointTimes ( );
228 
229  // paramètres de fit (classe de base) -> valeurs des widgets
230  virtual void ParamToWidget ( );
231  virtual void ParamToWidgetTimes ( );
232  virtual void ParamToWidgetBg ( );
233  virtual void ParamToWidgetDecays ( );
234 
235  // paramètres de fit (classe de base) -> points de saisie
236  virtual void ParamToPoint ( );
237  virtual void ParamToPointTimes ( );
238 
239  //----------------------------------------------------------
240  // affichage des widgets
241  virtual void GuiUpdateOptions ( );
242  virtual void GuiUpdateDisplay ( );
243  virtual void GuiUpdateDisplayBg ( );
244  virtual void GuiUpdateDisplayTimes ( );
245  virtual void GuiUpdateDisplayDecays ( );
246 
247  //----------------------------------------------------------
248  // Fonctions globales de fit
249  virtual void GuiPreset ( );
250  virtual void GuiFit ( );
251  virtual void GuiDrawFct ( );
252 
253  //----------------------------------------------------------
254  // SLOTS
255  public:
256  virtual void OptFitDecaySet ( );
257  virtual void OptFitProdSet ( );
258  virtual void OptFitProdDecaySet ( );
259 
260  virtual void OptParHalflifeSet ( );
261  virtual void OptParLambdaSet ( );
262 
263  virtual void OptParDecayRateSet ( );
264  virtual void OptParNumberSet ( );
265  virtual void OptParProdRateSet ( );
266 
267  virtual void OptErrToggled ( Bool_t b );
268  virtual void OptEffToggled ( Bool_t b );
269 
270  virtual void OptSingleFiliationToggled ( Bool_t b );
271  virtual void OptDoubleFiliationToggled ( Bool_t b );
272  virtual void OptProdSecondToggled ( Bool_t b );
273  virtual void OptProdThirdToggled ( Bool_t b );
274 
275  virtual void BgTypeSelected ( Int_t bg );
276  virtual void BgPreset ( );
277 
278  virtual void ProdTimeChanged ( Long_t n );
279  virtual void ProdTimeTextChanged ( const char * str );
280  virtual void ProdTimeParamClicked ( );
281 
282  virtual void DecayTimeChanged ( Long_t n );
283  virtual void DecayTimeTextChanged ( const char * str );
284  virtual void DecayTimeParamClicked ( );
285 
286  //------------------------------------------------------------
287  /*! For ROOT dictionary.*/
288  public:
289  ClassDef(RGFitDecay,0);
290 };
291 
292 //----------------------------------------------------------------------
293 // Inline functions
294 #include "icc/RGFitDecay.icc"
295 
296 //======================================================================
297 #endif
298 
virtual void SetOption(const UInt_t opt, const bool b=true)
Definition: RGFitDecay.icc:18
virtual void OptParDecayRateSet()
Definition: RGFitDecay.cpp:2427
virtual void Request()
Definition: RGFitDecay.cpp:853
Definition: RGFitDisplayer1D.hh:21
virtual void SetDecayTime(const Double_t val)
Definition: RGFitDecay.cpp:953
TH1 * h_dec1_f0
Pointer to result histogram of component 1 (decay of component 0)
Definition: RGFitDecay.hh:61
virtual void DecayTimeTextChanged(const char *str)
Definition: RGFitDecay.cpp:2682
virtual void OptFitProdSet()
Definition: RGFitDecay.cpp:2365
TGNumberEntry * w_bg_par_value[2]
Valeur paramètre fond.
Definition: RGFitDecay.hh:112
virtual void GuiUpdateDisplayDecays()
Definition: RGFitDecay.cpp:2164
virtual void ParamToWidget()
Definition: RGFitDecay.cpp:1775
Definition: RFitDataDecay.hh:28
TGNumberEntry * w_prod_value[3]
Valeur pour paramètre de production.
Definition: RGFitDecay.hh:125
virtual void SetProdTime(const Double_t val)
Definition: RGFitDecay.cpp:933
GObject(RGFitDecay)
static const int phaseTime
Definition: RGFitDecay.hh:21
virtual void DeletePoint(const Int_t p)
Definition: RGFitDecay.cpp:1333
virtual Int_t CheckTimes(const bool warn=false)
Definition: RGFitDecay.cpp:976
ClassDef(RGFitDecay, 0)
virtual void DecayTimeParamClicked()
Definition: RGFitDecay.cpp:2705
virtual void ConstructDecays()
Definition: RGFitDecay.cpp:703
TGVerticalFrame * w_times_value
Colonne des valeurs de paramètre.
Definition: RGFitDecay.hh:91
virtual void OptParNumberSet()
Definition: RGFitDecay.cpp:2443
TGHorizontalFrame * w_opt_frame
Cadre des options de fit.
Definition: RGFitDecay.hh:67
TGRadioButton * w_opt_prod
Bouton paramètre taux de production.
Definition: RGFitDecay.hh:81
TGComboBox * w_bg_type_select
Sélection type de fond.
Definition: RGFitDecay.hh:106
virtual void ProdTimeChanged(Long_t n)
Definition: RGFitDecay.cpp:2621
TGCheckButton * w_opt_prod_third
Indicateur option production directe trisième noyau.
Definition: RGFitDecay.hh:87
virtual void OptProdThirdToggled(Bool_t b)
Definition: RGFitDecay.cpp:2554
virtual void OptSingleFiliationToggled(Bool_t b)
Definition: RGFitDecay.cpp:2512
TGLabel * w_eff_label[3]
Label pour efficacité
Definition: RGFitDecay.hh:129
virtual void ParamToWidgetTimes()
Definition: RGFitDecay.cpp:1787
TGCheckButton * w_opt_prod_second
Indicateur option production directe second noyau.
Definition: RGFitDecay.hh:86
virtual void OptFitDecaySet()
Definition: RGFitDecay.cpp:2351
virtual Int_t GetPointType(const Int_t p)
Definition: RGFitDecay.cpp:1161
TGVerticalFrame * w_bg_par_label_frame
Cadre des labels.
Definition: RGFitDecay.hh:108
Definition: RGFitBase1D.hh:67
virtual UInt_t GetOptions() const
Definition: RGFitDecay.icc:23
TGGroupFrame * w_bg_frame
Cadre des paramètres de fond.
Definition: RGFitDecay.hh:103
TGCheckButton * w_tdec_param
Début de phase de décroissance comme paramètre de fit.
Definition: RGFitDecay.hh:101
TGRadioButton * w_opt_lambda
Bouton paramètre lambda.
Definition: RGFitDecay.hh:78
TGVerticalFrame * w_eff_sub_frame[3]
Sous-cadre pour masquage du paramètre.
Definition: RGFitDecay.hh:128
TGRadioButton * w_fit_prod
Bouton pour fit production seule.
Definition: RGFitDecay.hh:71
static TAttLine halflife_line_att
Half-life preset line attributes.
Definition: RGFitDecay.hh:52
TGRadioButton * w_opt_number
Bouton paramètre nombre de noyaux à t0.
Definition: RGFitDecay.hh:80
virtual RFitData1D * CreateFitData()
Definition: RGFitDecay.cpp:1032
TGLabel * w_tprod_label
Label de widget.
Definition: RGFitDecay.hh:94
TGRadioButton * w_opt_halflife
Bouton paramètre durée de vie.
Definition: RGFitDecay.hh:77
TGLabel * w_bg_type_label
Label type de fond.
Definition: RGFitDecay.hh:105
virtual void OptParLambdaSet()
Definition: RGFitDecay.cpp:2410
virtual void BgTypeSelected(Int_t bg)
Definition: RGFitDecay.cpp:2577
virtual void ConstructBg()
Definition: RGFitDecay.cpp:581
TGVerticalFrame * w_times_fix
Colonne des paramètres fixes.
Definition: RGFitDecay.hh:92
virtual void BgPreset()
Definition: RGFitDecay.cpp:2606
virtual void WidgetsToParamTimes()
Definition: RGFitDecay.cpp:1694
virtual void ParamToWidgetDecays()
Definition: RGFitDecay.cpp:1829
virtual void GuiFit()
Definition: RGFitDecay.cpp:2244
virtual void PointsToParamTimes()
Definition: RGFitDecay.cpp:1641
TGCheckButton * w_halflife_fix[3]
Fixe le paramètre de durée de vie / lambda.
Definition: RGFitDecay.hh:121
TH1 * h_dec2_f0
Pointer to result histogram of component 2 (decay of component 0 and 1)
Definition: RGFitDecay.hh:64
TGGroupFrame * w_times_frame
Cadre des phases de production/décroissance.
Definition: RGFitDecay.hh:89
#define RDECAY_MAX_BG_PAR
! Maximum number of background parameters
Definition: RFitDataDecay.hh:18
TGCheckButton * w_tprod_fix
Début de phase de production comme paramètre fixe.
Definition: RGFitDecay.hh:96
virtual void ParamToWidgetBg()
Definition: RGFitDecay.cpp:1806
TGGroupFrame * w_fit_decay_frame
Cadre des options composantes de décroissance.
Definition: RGFitDecay.hh:83
TGNumberEntry * w_tdec_value
Valeur début de phase de décroissance.
Definition: RGFitDecay.hh:99
virtual Int_t SelectedPoint(const Double_t x)
Definition: RGFitDecay.cpp:1115
TGVerticalFrame * w_times_param
Colonne des temps comme paramètres.
Definition: RGFitDecay.hh:93
virtual void PointMoved(const Int_t p)
Definition: RGFitDecay.cpp:1350
virtual void RedrawPoints()
Definition: RGFitDecay.cpp:1179
TGTextButton * w_bg_par_preset
Bouton de précalcul.
Definition: RGFitDecay.hh:114
TGVerticalFrame * w_prod_frame[3]
Cadre pour paramètre de production.
Definition: RGFitDecay.hh:122
virtual bool SaveFunctions(const string &fname="") const
Definition: RGFitDecay.cpp:1558
virtual void ConstructFitData()
Definition: RGFitDecay.cpp:236
TGRadioButton * w_fit_prod_decay
Bouton pour fit production et décroissance.
Definition: RGFitDecay.hh:72
virtual ~RGFitDecay()
Definition: RGFitDecay.cpp:196
virtual void ResetFunctions()
Definition: RGFitDecay.cpp:1478
virtual void CalcFunctions(const bool bg=false)
Definition: RGFitDecay.cpp:1497
TGLabel * w_bg_par_label[2]
Nom paramètre fond.
Definition: RGFitDecay.hh:111
virtual void ParamToPointTimes()
Definition: RGFitDecay.cpp:1876
virtual bool GetOption(const UInt_t opt) const
Definition: RGFitDecay.icc:29
TGVerticalFrame * w_halflife_frame[3]
Cadre pour paramètre de durée de vie / lambda.
Definition: RGFitDecay.hh:118
TGCheckButton * w_prod_fix[3]
Fixe le paramètre de production.
Definition: RGFitDecay.hh:126
TH1 * h_bg
Pointer to result background histogram.
Definition: RGFitDecay.hh:58
Definition: RGFitDecay.hh:41
TGHorizontalFrame * w_comp_sub_frame[3]
Cadre horizontal.
Definition: RGFitDecay.hh:117
virtual void SetOptions(const UInt_t opts)
Definition: RGFitDecay.icc:11
Definition: RFitDecay.hh:150
Definition: RFitData1D.hh:21
virtual void DecayTimeChanged(Long_t n)
Definition: RGFitDecay.cpp:2671
virtual void PointsToWidgetTimes()
Definition: RGFitDecay.cpp:1660
virtual void OptEffToggled(Bool_t b)
Definition: RGFitDecay.cpp:2497
virtual void SetBgType(const Int_t bg)
Definition: RGFitDecay.icc:37
virtual void ConstructOpts()
Definition: RGFitDecay.cpp:266
TH1 * h_dec1_pr
Pointer to result histogram of component 1 (direct production)
Definition: RGFitDecay.hh:60
virtual void WidgetsToParam()
Definition: RGFitDecay.cpp:1682
TGCheckButton * w_opt_err
Indicateur option normalisation des erreurs.
Definition: RGFitDecay.hh:73
virtual void AddPoint(const Double_t x, const bool select=true)
Definition: RGFitDecay.cpp:1252
virtual void OptDoubleFiliationToggled(Bool_t b)
Definition: RGFitDecay.cpp:2526
TGGroupFrame * w_opt_mode_frame
Cadre du mode de fit.
Definition: RGFitDecay.hh:69
TH1 * h_dec0_pr
Pointer to result histogram of component 0 (direct production)
Definition: RGFitDecay.hh:59
virtual void SetControlWidth(const UInt_t w)
Definition: RGFitDecay.icc:43
TGNumberEntry * w_tprod_value
Valeur début de phase de production.
Definition: RGFitDecay.hh:95
static TAttLine phase_line_att
Production and decay phases start point line attributes.
Definition: RGFitDecay.hh:53
TGVerticalFrame * w_bg_par_fix_frame
Cadre des param. fix.
Definition: RGFitDecay.hh:110
TGRadioButton * w_fit_decay
Bouton pour fit décroissance seule.
Definition: RGFitDecay.hh:70
virtual void WidgetsToPointTimes()
Definition: RGFitDecay.cpp:1760
virtual void GuiUpdateOptions()
Definition: RGFitDecay.cpp:1892
TGHorizontalFrame * w_bg_type_frame
Ligne type de fond.
Definition: RGFitDecay.hh:104
TGGroupFrame * w_comp_frame[3]
Cadre des paramètres des pics.
Definition: RGFitDecay.hh:116
TGCheckButton * w_bg_par_fix[2]
Fixe paramètre fond.
Definition: RGFitDecay.hh:113
TH1 * h_dec2_pr
Pointer to result histogram of component 2 (direct production)
Definition: RGFitDecay.hh:62
virtual void ConstructTimes()
Definition: RGFitDecay.cpp:449
TGVerticalFrame * w_times_label
Colonne des labels.
Definition: RGFitDecay.hh:90
virtual void WidgetsToParamBg()
Definition: RGFitDecay.cpp:1710
TGCheckButton * w_opt_eff
Indicateur option efficacité variable.
Definition: RGFitDecay.hh:74
TGRadioButton * w_opt_rate
Bouton paramètre taux de décroissance à t0.
Definition: RGFitDecay.hh:79
static UInt_t control_width
Default width for control zone of the interface.
Definition: RGFitDecay.hh:56
virtual void PointsToWidget()
Definition: RGFitDecay.cpp:1652
virtual void OptProdSecondToggled(Bool_t b)
Definition: RGFitDecay.cpp:2540
virtual void PointsToParam()
Definition: RGFitDecay.cpp:1632
virtual void OptParProdRateSet()
Definition: RGFitDecay.cpp:2459
TGGroupFrame * w_opt_param_frame
Cadre des options de paramètres.
Definition: RGFitDecay.hh:76
TGHorizontalFrame * w_bg_par_frame
Zone des paramètres fond.
Definition: RGFitDecay.hh:107
virtual void WidgetsToParamDecays()
Definition: RGFitDecay.cpp:1722
TGLabel * w_halflife_label[3]
Label pour paramètre de durée de vie / lambda.
Definition: RGFitDecay.hh:119
TGCheckButton * w_tprod_param
Début de phase de production comme paramètre de fit.
Definition: RGFitDecay.hh:97
virtual void PointSelected(const Int_t p)
Definition: RGFitDecay.cpp:1406
TGLabel * w_prod_label[3]
Label pour paramètre de production.
Definition: RGFitDecay.hh:124
virtual void ProdTimeTextChanged(const char *str)
Definition: RGFitDecay.cpp:2632
virtual void OptFitProdDecaySet()
Definition: RGFitDecay.cpp:2379
virtual void WidgetsToPoint()
Definition: RGFitDecay.cpp:1752
TGVerticalFrame * w_prod_sub_frame[3]
Sous-cadre pour masquage du paramètre.
Definition: RGFitDecay.hh:123
virtual void Init()
Definition: RGFitDecay.cpp:213
virtual void GuiUpdateDisplayTimes()
Definition: RGFitDecay.cpp:2089
virtual RFitData1D * GetFitData()
Definition: RGFitDecay.cpp:1045
virtual void GuiUpdateDisplayBg()
Definition: RGFitDecay.cpp:2031
virtual void ParamToPoint()
Definition: RGFitDecay.cpp:1867
virtual void OptParHalflifeSet()
Definition: RGFitDecay.cpp:2396
virtual void GuiPreset()
Definition: RGFitDecay.cpp:2209
TGVerticalFrame * w_bg_par_value_frame
Cadre des valeurs.
Definition: RGFitDecay.hh:109
virtual void ProdTimeParamClicked()
Definition: RGFitDecay.cpp:2656
virtual void GuiDrawFct()
Definition: RGFitDecay.cpp:2279
TGCheckButton * w_opt_single_fil
Indicateur option première filiation.
Definition: RGFitDecay.hh:84
virtual void PointUnselected(const Int_t p)
Definition: RGFitDecay.cpp:1441
TGVerticalFrame * w_eff_frame[3]
Cadre pour efficacité
Definition: RGFitDecay.hh:127
virtual void OptErrToggled(Bool_t b)
Definition: RGFitDecay.cpp:2484
TH1 * h_dec2_f1
Pointer to result histogram of component 2 (decay of component 1)
Definition: RGFitDecay.hh:63
virtual void SetFitData(const RFitData1D *fit_data)
Definition: RGFitDecay.cpp:1069
TGCheckButton * w_tdec_fix
Début de phase de décroissance comme paramètre fixe.
Definition: RGFitDecay.hh:100
virtual void GuiUpdateDisplay()
Definition: RGFitDecay.cpp:2015
TGCheckButton * w_opt_double_fil
Indicateur option seconde filiation.
Definition: RGFitDecay.hh:85
TGNumberEntry * w_halflife_value[3]
Valeur pour paramètre de durée de vie / lambda.
Definition: RGFitDecay.hh:120
virtual void SetFitLimits(const Double_t x1, const Double_t x2)
Definition: RGFitDecay.cpp:999
#define RDECAY_MAX
! Maximum number of contributions
Definition: RFitDataDecay.hh:15
TGLabel * w_tdec_label
Label de widget.
Definition: RGFitDecay.hh:98
TGNumberEntry * w_eff_value[3]
Valeur pour efficacité
Definition: RGFitDecay.hh:130
virtual void ParamUpdateAll()
Definition: RGFitDecay.cpp:1616
RGFitDecay(const TGWindow *parent, TH1 *hptr, TH1 *herr=NULL)
Definition: RGFitDecay.cpp:30