diff --git a/doc/examples/ViewOpts/data/deltat_pta_gpd_0423.bin b/doc/examples/ViewOpts/data/deltat_pta_gpd_0423.bin new file mode 100644 index 00000000..3580f2d3 Binary files /dev/null and b/doc/examples/ViewOpts/data/deltat_pta_gpd_0423.bin differ diff --git a/doc/examples/ViewOpts/test-asy-PSI-BIN-range.msr b/doc/examples/ViewOpts/test-asy-PSI-BIN-range.msr new file mode 100644 index 00000000..a59bd67b --- /dev/null +++ b/doc/examples/ViewOpts/test-asy-PSI-BIN-range.msr @@ -0,0 +1,58 @@ +FeSe 9p4 TF100 p107apr09_sample*1p02 +############################################################### +FITPARAMETER +# Nr. Name Value Step Pos_Error Boundaries + 1 alpha 0.954734 0 none 0 2 + 2 asy 0.2624 0.0014 none 0 0.33 + 3 phase -0.10 0.33 none + 4 field 97.912 0.055 none 0 none + 5 rate 0.3164 0.0044 none 0 none + +############################################################### +THEORY +asymmetry 2 +simplExpo 5 (rate) +TFieldCos 3 fun1 (phase frequency) + +############################################################### +FUNCTIONS +fun1 = par4 * gamma_mu + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 2 (asymmetry fit) +alpha 1 +map 0 0 0 0 0 0 0 0 0 0 0 +forward 2 +backward 1 +background 61 184 57 145 +data 207 7994 167 8009 +t0 202.0 162.0 +fit 0 8 +packing 18 + +############################################################### +COMMANDS +MINIMIZE +#MINOS +HESSE +SAVE + +############################################################### +FOURIER +units Gauss # units either 'Gauss', 'MHz', or 'Mc/s' +fourier_power 12 +apodization NONE # NONE, WEAK, MEDIUM, STRONG +plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE +phase 8 +range 0 200 + +############################################################### +PLOT 2 (asymmetry plot) +runs 1 +range 0 8 -0.3 0.3 +view_packing 25 + +############################################################### +STATISTIC --- 2012-03-20 11:22:25 + chisq = 554.2, NDF = 351, chisq/NDF = 1.578917 diff --git a/doc/examples/ViewOpts/test-asy-PSI-BIN-use_fit_ranges.msr b/doc/examples/ViewOpts/test-asy-PSI-BIN-use_fit_ranges.msr new file mode 100644 index 00000000..4261c14a --- /dev/null +++ b/doc/examples/ViewOpts/test-asy-PSI-BIN-use_fit_ranges.msr @@ -0,0 +1,58 @@ +FeSe 9p4 TF100 p107apr09_sample*1p02 +############################################################### +FITPARAMETER +# Nr. Name Value Step Pos_Error Boundaries + 1 alpha 0.954734 0 none 0 2 + 2 asy 0.2624 0.0014 none 0 0.33 + 3 phase -0.10 0.33 none + 4 field 97.912 0.055 none 0 none + 5 rate 0.3164 0.0044 none 0 none + +############################################################### +THEORY +asymmetry 2 +simplExpo 5 (rate) +TFieldCos 3 fun1 (phase frequency) + +############################################################### +FUNCTIONS +fun1 = par4 * gamma_mu + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 2 (asymmetry fit) +alpha 1 +map 0 0 0 0 0 0 0 0 0 0 0 +forward 2 +backward 1 +background 61 184 57 145 +data 207 7994 167 8009 +t0 202.0 162.0 +fit 0 8 +packing 18 + +############################################################### +COMMANDS +MINIMIZE +#MINOS +HESSE +SAVE + +############################################################### +FOURIER +units Gauss # units either 'Gauss', 'MHz', or 'Mc/s' +fourier_power 12 +apodization NONE # NONE, WEAK, MEDIUM, STRONG +plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE +phase 8 +range 0 200 + +############################################################### +PLOT 2 (asymmetry plot) +runs 1 +use_fit_ranges -0.3 0.3 +view_packing 25 + +############################################################### +STATISTIC --- 2012-03-20 11:22:25 + chisq = 554.2, NDF = 351, chisq/NDF = 1.578917 diff --git a/doc/examples/ViewOpts/test-histo-PSI-BIN-no-scale-range-lifetimecorrection.msr b/doc/examples/ViewOpts/test-histo-PSI-BIN-no-scale-range-lifetimecorrection.msr new file mode 100644 index 00000000..0360503c --- /dev/null +++ b/doc/examples/ViewOpts/test-histo-PSI-BIN-no-scale-range-lifetimecorrection.msr @@ -0,0 +1,75 @@ +FeSe 9p4 TF100 p107apr09_sample*1p02 +############################################################### +FITPARAMETER +# Nr. Name Value Step Pos_Error Boundaries + 1 Asy 0.2622 -0.0014 0.0014 0 0.33 + 2 Rate 0.3188 -0.0044 0.0044 + 3 Field 97.853 -0.056 0.056 0 200 + 4 Phase_L 178.95 -0.41 0.41 + 5 Phase_R 1.75 -0.39 0.39 + 6 N0_L 34309.5 -31.3 31.3 + 7 N0_R 36242.0 -31.6 31.6 + 8 Bkg_L 1702.1 -6.1 6.1 + 9 Bkg_R 1459.5 -6.0 6.0 + +############################################################### +THEORY +asymmetry 1 +simplExpo 2 (rate) +TFieldCos map1 fun1 (phase frequency) + +############################################################### +FUNCTIONS +fun1 = par3 * gamma_mu + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 6 +backgr.fit 8 +map 4 0 0 0 0 0 0 0 0 0 +forward 1 +#background 30 152 # estimated bkg: 49.2393 +data 165 7965 +t0 162.0 +fit 0 8.2 +packing 25 + +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 7 +backgr.fit 9 +map 5 0 0 0 0 0 0 0 0 0 +forward 2 +#background 30 152 # estimated bkg: 43.1545 +data 205 7965 +t0 202.0 +fit 0 8.2 +packing 25 + +############################################################### +COMMANDS +SCALE_N0_BKG FALSE +MINIMIZE +MINOS +SAVE + +############################################################### +PLOT 0 (single histo plot) +lifetimecorrection +runs 1 2 +range 0 7 -0.3 0.3 + +############################################################### +FOURIER +units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s' +fourier_power 12 +apodization NONE # NONE, WEAK, MEDIUM, STRONG +plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE +phase 8.5 +#range_for_phase_correction 50.0 70.0 +range 0.0 200.0 + +############################################################### +STATISTIC --- 2014-12-29 11:38:06 + chisq = 663.9, NDF = 515, chisq/NDF = 1.289169 diff --git a/doc/examples/ViewOpts/test-histo-PSI-BIN-no-scale-range-no-lifetimecorrection.msr b/doc/examples/ViewOpts/test-histo-PSI-BIN-no-scale-range-no-lifetimecorrection.msr new file mode 100644 index 00000000..62992c81 --- /dev/null +++ b/doc/examples/ViewOpts/test-histo-PSI-BIN-no-scale-range-no-lifetimecorrection.msr @@ -0,0 +1,76 @@ +FeSe 9p4 TF100 p107apr09_sample*1p02 +############################################################### +FITPARAMETER +# Nr. Name Value Step Pos_Error Boundaries + 1 Asy 0.2622 -0.0014 0.0014 0 0.33 + 2 Rate 0.3188 -0.0044 0.0044 + 3 Field 97.853 -0.056 0.056 0 200 + 4 Phase_L 178.95 -0.41 0.41 + 5 Phase_R 1.75 -0.39 0.39 + 6 N0_L 34309.5 -31.3 31.3 + 7 N0_R 36242.0 -31.6 31.6 + 8 Bkg_L 1702.1 -6.1 6.1 + 9 Bkg_R 1459.5 -6.0 6.0 + +############################################################### +THEORY +asymmetry 1 +simplExpo 2 (rate) +TFieldCos map1 fun1 (phase frequency) + +############################################################### +FUNCTIONS +fun1 = par3 * gamma_mu + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 6 +backgr.fit 8 +map 4 0 0 0 0 0 0 0 0 0 +forward 1 +#background 30 152 # estimated bkg: 49.2393 +data 165 7965 +t0 162.0 +fit 0 8.2 +packing 25 + +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 7 +backgr.fit 9 +map 5 0 0 0 0 0 0 0 0 0 +forward 2 +#background 30 152 # estimated bkg: 43.1545 +data 205 7965 +t0 202.0 +fit 0 8.2 +packing 25 + +############################################################### +COMMANDS +SCALE_N0_BKG FALSE +MINIMIZE +MINOS +SAVE + +############################################################### +PLOT 0 (single histo plot) +#lifetimecorrection +#logy +runs 1 2 +range 0 9 0 50000 + +############################################################### +FOURIER +units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s' +fourier_power 12 +apodization NONE # NONE, WEAK, MEDIUM, STRONG +plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE +phase 8 +#range_for_phase_correction 50.0 70.0 +range 0 200 + +############################################################### +STATISTIC --- 2014-12-29 11:39:48 + chisq = 663.9, NDF = 515, chisq/NDF = 1.289169 diff --git a/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-fitRangeBin-range-lifetimecorrection.msr b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-fitRangeBin-range-lifetimecorrection.msr new file mode 100644 index 00000000..f20ac4d3 --- /dev/null +++ b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-fitRangeBin-range-lifetimecorrection.msr @@ -0,0 +1,75 @@ +FeSe 9p4 TF100 p107apr09_sample*1p02 +############################################################### +FITPARAMETER +# Nr. Name Value Step Pos_Error Boundaries + 1 Asy 0.2622 -0.0014 0.0014 0 0.33 + 2 Rate 0.3189 -0.0043 0.0044 + 3 Field 97.854 -0.056 0.055 0 200 + 4 Phase_L 178.95 -0.41 0.41 + 5 Phase_R 1.74 -0.39 0.40 + 6 N0_L 1097.79 -0.94 0.93 + 7 N0_R 1159.41 -0.93 0.95 + 8 Bkg_L 54.50 -0.15 0.15 + 9 Bkg_R 46.82 -0.15 0.14 + +############################################################### +THEORY +asymmetry 1 +simplExpo 2 (rate) +TFieldCos map1 fun1 (phase frequency) + +############################################################### +FUNCTIONS +fun1 = par3 * gamma_mu + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 6 +backgr.fit 8 +map 4 0 0 0 0 0 0 0 0 0 +forward 1 +#background 30 152 # estimated bkg: 49.2393 +data 165 7965 +t0 162.0 +fit fgb lgb # in time: 0.00375..9.75375 (usec) +packing 25 + +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 7 +backgr.fit 9 +map 5 0 0 0 0 0 0 0 0 0 +forward 2 +#background 30 152 # estimated bkg: 43.1545 +data 205 7965 +t0 202.0 +fit fgb lgb # in time: 0.00375..9.70375 (usec) +packing 25 + +############################################################### +COMMANDS +SCALE_N0_BKG TRUE +MINIMIZE +MINOS +SAVE + +############################################################### +PLOT 0 (single histo plot) +lifetimecorrection +runs 1 2 +range 0 7 -0.3 0.3 + +############################################################### +FOURIER +units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s' +fourier_power 12 +apodization NONE # NONE, WEAK, MEDIUM, STRONG +plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE +phase 8.5 +#range_for_phase_correction 50.0 70.0 +range 0.0 200.0 + +############################################################### +STATISTIC --- 2014-12-29 11:50:45 + chisq = 798.0, NDF = 612, chisq/NDF = 1.303881 diff --git a/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-fitRangeBin-use_fit_ranges-lifetimecorrection.msr b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-fitRangeBin-use_fit_ranges-lifetimecorrection.msr new file mode 100644 index 00000000..d3b4a549 --- /dev/null +++ b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-fitRangeBin-use_fit_ranges-lifetimecorrection.msr @@ -0,0 +1,75 @@ +FeSe 9p4 TF100 p107apr09_sample*1p02 +############################################################### +FITPARAMETER +# Nr. Name Value Step Pos_Error Boundaries + 1 Asy 0.2622 -0.0014 0.0014 0 0.33 + 2 Rate 0.3189 -0.0043 0.0044 + 3 Field 97.854 -0.056 0.055 0 200 + 4 Phase_L 178.95 -0.41 0.41 + 5 Phase_R 1.74 -0.39 0.40 + 6 N0_L 1097.79 -0.94 0.93 + 7 N0_R 1159.41 -0.93 0.95 + 8 Bkg_L 54.50 -0.15 0.15 + 9 Bkg_R 46.82 -0.15 0.14 + +############################################################### +THEORY +asymmetry 1 +simplExpo 2 (rate) +TFieldCos map1 fun1 (phase frequency) + +############################################################### +FUNCTIONS +fun1 = par3 * gamma_mu + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 6 +backgr.fit 8 +map 4 0 0 0 0 0 0 0 0 0 +forward 1 +#background 30 152 # estimated bkg: 49.2393 +data 165 7965 +t0 162.0 +fit fgb lgb # in time: 0.00375..9.75375 (usec) +packing 25 + +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 7 +backgr.fit 9 +map 5 0 0 0 0 0 0 0 0 0 +forward 2 +#background 30 152 # estimated bkg: 43.1545 +data 205 7965 +t0 202.0 +fit fgb lgb # in time: 0.00375..9.70375 (usec) +packing 25 + +############################################################### +COMMANDS +SCALE_N0_BKG TRUE +MINIMIZE +MINOS +SAVE + +############################################################### +PLOT 0 (single histo plot) +lifetimecorrection +runs 1 2 +use_fit_ranges -0.3 0.3 + +############################################################### +FOURIER +units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s' +fourier_power 12 +apodization NONE # NONE, WEAK, MEDIUM, STRONG +plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE +phase 8.5 +#range_for_phase_correction 50.0 70.0 +range 0.0 200.0 + +############################################################### +STATISTIC --- 2014-12-29 11:50:45 + chisq = 798.0, NDF = 612, chisq/NDF = 1.303881 diff --git a/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-range-lifetimecorrection.msr b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-range-lifetimecorrection.msr new file mode 100644 index 00000000..80d8ab8e --- /dev/null +++ b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-range-lifetimecorrection.msr @@ -0,0 +1,75 @@ +FeSe 9p4 TF100 p107apr09_sample*1p02 +############################################################### +FITPARAMETER +# Nr. Name Value Step Pos_Error Boundaries + 1 Asy 0.2622 -0.0014 0.0014 0 0.33 + 2 Rate 0.3188 -0.0044 0.0044 + 3 Field 97.853 -0.056 0.056 0 200 + 4 Phase_L 178.95 -0.41 0.41 + 5 Phase_R 1.75 -0.39 0.39 + 6 N0_L 1097.9 -1.0 1.0 + 7 N0_R 1159.7 -1.0 1.0 + 8 Bkg_L 54.47 -0.20 0.20 + 9 Bkg_R 46.70 -0.19 0.19 + +############################################################### +THEORY +asymmetry 1 +simplExpo 2 (rate) +TFieldCos map1 fun1 (phase frequency) + +############################################################### +FUNCTIONS +fun1 = par3 * gamma_mu + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 6 +backgr.fit 8 +map 4 0 0 0 0 0 0 0 0 0 +forward 1 +#background 30 152 # estimated bkg: 49.2393 +data 165 7965 +t0 162.0 +fit 0 8.2 +packing 25 + +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 7 +backgr.fit 9 +map 5 0 0 0 0 0 0 0 0 0 +forward 2 +#background 30 152 # estimated bkg: 43.1545 +data 205 7965 +t0 202.0 +fit 0 8.2 +packing 25 + +############################################################### +COMMANDS +SCALE_N0_BKG TRUE +MINIMIZE +MINOS +SAVE + +############################################################### +PLOT 0 (single histo plot) +lifetimecorrection +runs 1 2 +range 0 7 -0.3 0.3 + +############################################################### +FOURIER +units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s' +fourier_power 12 +apodization NONE # NONE, WEAK, MEDIUM, STRONG +plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE +phase 8.5 +#range_for_phase_correction 50.0 70.0 +range 0.0 200.0 + +############################################################### +STATISTIC --- 2014-12-29 11:14:55 + chisq = 663.9, NDF = 515, chisq/NDF = 1.289169 diff --git a/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-range-no-lifetimecorrection.msr b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-range-no-lifetimecorrection.msr new file mode 100644 index 00000000..d15edf5c --- /dev/null +++ b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-range-no-lifetimecorrection.msr @@ -0,0 +1,75 @@ +FeSe 9p4 TF100 p107apr09_sample*1p02 +############################################################### +FITPARAMETER +# Nr. Name Value Step Pos_Error Boundaries + 1 Asy 0.2622 -0.0014 0.0014 0 0.33 + 2 Rate 0.3188 -0.0044 0.0044 + 3 Field 97.853 -0.056 0.056 0 200 + 4 Phase_L 178.95 -0.41 0.41 + 5 Phase_R 1.75 -0.39 0.39 + 6 N0_L 1097.9 -1.0 1.0 + 7 N0_R 1159.7 -1.0 1.0 + 8 Bkg_L 54.47 -0.20 0.20 + 9 Bkg_R 46.70 -0.19 0.19 + +############################################################### +THEORY +asymmetry 1 +simplExpo 2 (rate) +TFieldCos map1 fun1 (phase frequency) + +############################################################### +FUNCTIONS +fun1 = par3 * gamma_mu + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 6 +backgr.fit 8 +map 4 0 0 0 0 0 0 0 0 0 +forward 1 +#background 30 152 # estimated bkg: 49.2393 +data 165 7965 +t0 162.0 +fit 0 8.2 +packing 25 + +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 7 +backgr.fit 9 +map 5 0 0 0 0 0 0 0 0 0 +forward 2 +#background 30 152 # estimated bkg: 43.1545 +data 205 7965 +t0 202.0 +fit 0 8.2 +packing 25 + +############################################################### +COMMANDS +SCALE_N0_BKG TRUE +MINIMIZE +MINOS +SAVE + +############################################################### +PLOT 0 (single histo plot) +#lifetimecorrection +runs 1 2 +range 0 9 0 1600 + +############################################################### +FOURIER +units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s' +fourier_power 12 +apodization NONE # NONE, WEAK, MEDIUM, STRONG +plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE +phase 8.5 +#range_for_phase_correction 50.0 70.0 +range 0.0 200.0 + +############################################################### +STATISTIC --- 2014-12-29 11:14:55 + chisq = 663.9, NDF = 515, chisq/NDF = 1.289169 diff --git a/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-sub_ranges-lifetimecorrection.msr b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-sub_ranges-lifetimecorrection.msr new file mode 100644 index 00000000..34eabb53 --- /dev/null +++ b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-sub_ranges-lifetimecorrection.msr @@ -0,0 +1,75 @@ +FeSe 9p4 TF100 p107apr09_sample*1p02 +############################################################### +FITPARAMETER +# Nr. Name Value Step Pos_Error Boundaries + 1 Asy 0.2622 -0.0014 0.0014 0 0.33 + 2 Rate 0.3188 -0.0044 0.0044 + 3 Field 97.853 -0.056 0.056 0 200 + 4 Phase_L 178.95 -0.41 0.41 + 5 Phase_R 1.75 -0.39 0.39 + 6 N0_L 1097.9 -1.0 1.0 + 7 N0_R 1159.7 -1.0 1.0 + 8 Bkg_L 54.47 -0.20 0.20 + 9 Bkg_R 46.70 -0.19 0.19 + +############################################################### +THEORY +asymmetry 1 +simplExpo 2 (rate) +TFieldCos map1 fun1 (phase frequency) + +############################################################### +FUNCTIONS +fun1 = par3 * gamma_mu + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 6 +backgr.fit 8 +map 4 0 0 0 0 0 0 0 0 0 +forward 1 +#background 30 152 # estimated bkg: 49.2393 +data 165 7965 +t0 162.0 +fit 0 8.2 +packing 25 + +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 7 +backgr.fit 9 +map 5 0 0 0 0 0 0 0 0 0 +forward 2 +#background 30 152 # estimated bkg: 43.1545 +data 205 7965 +t0 202.0 +fit 0 8.2 +packing 25 + +############################################################### +COMMANDS +SCALE_N0_BKG TRUE +MINIMIZE +MINOS +SAVE + +############################################################### +PLOT 0 (single histo plot) +lifetimecorrection +runs 1 2 +sub_ranges 0 7 0 3 -0.3 0.3 + +############################################################### +FOURIER +units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s' +fourier_power 12 +apodization NONE # NONE, WEAK, MEDIUM, STRONG +plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE +phase 8.5 +#range_for_phase_correction 50.0 70.0 +range 0.0 200.0 + +############################################################### +STATISTIC --- 2014-12-29 11:14:55 + chisq = 663.9, NDF = 515, chisq/NDF = 1.289169 diff --git a/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-use_fit_ranges-lifetimecorrection.msr b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-use_fit_ranges-lifetimecorrection.msr new file mode 100644 index 00000000..6f2696bb --- /dev/null +++ b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-use_fit_ranges-lifetimecorrection.msr @@ -0,0 +1,75 @@ +FeSe 9p4 TF100 p107apr09_sample*1p02 +############################################################### +FITPARAMETER +# Nr. Name Value Step Pos_Error Boundaries + 1 Asy 0.2622 -0.0014 0.0014 0 0.33 + 2 Rate 0.3188 -0.0044 0.0044 + 3 Field 97.853 -0.056 0.056 0 200 + 4 Phase_L 178.95 -0.41 0.41 + 5 Phase_R 1.75 -0.39 0.39 + 6 N0_L 1097.9 -1.0 1.0 + 7 N0_R 1159.7 -1.0 1.0 + 8 Bkg_L 54.47 -0.20 0.20 + 9 Bkg_R 46.70 -0.19 0.19 + +############################################################### +THEORY +asymmetry 1 +simplExpo 2 (rate) +TFieldCos map1 fun1 (phase frequency) + +############################################################### +FUNCTIONS +fun1 = par3 * gamma_mu + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 6 +backgr.fit 8 +map 4 0 0 0 0 0 0 0 0 0 +forward 1 +#background 30 152 # estimated bkg: 49.2393 +data 165 7965 +t0 162.0 +fit 0 8.2 +packing 25 + +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 7 +backgr.fit 9 +map 5 0 0 0 0 0 0 0 0 0 +forward 2 +#background 30 152 # estimated bkg: 43.1545 +data 205 7965 +t0 202.0 +fit 0 8.2 +packing 25 + +############################################################### +COMMANDS +SCALE_N0_BKG TRUE +MINIMIZE +MINOS +SAVE + +############################################################### +PLOT 0 (single histo plot) +lifetimecorrection +runs 1 2 +use_fit_ranges -0.3 0.3 + +############################################################### +FOURIER +units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s' +fourier_power 12 +apodization NONE # NONE, WEAK, MEDIUM, STRONG +plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE +phase 8.5 +#range_for_phase_correction 50.0 70.0 +range 0.0 200.0 + +############################################################### +STATISTIC --- 2014-12-29 11:14:55 + chisq = 663.9, NDF = 515, chisq/NDF = 1.289169 diff --git a/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-use_fit_ranges-no-lifetimecorrection.msr b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-use_fit_ranges-no-lifetimecorrection.msr new file mode 100644 index 00000000..ebb92e63 --- /dev/null +++ b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-use_fit_ranges-no-lifetimecorrection.msr @@ -0,0 +1,75 @@ +FeSe 9p4 TF100 p107apr09_sample*1p02 +############################################################### +FITPARAMETER +# Nr. Name Value Step Pos_Error Boundaries + 1 Asy 0.2622 -0.0014 0.0014 0 0.33 + 2 Rate 0.3188 -0.0044 0.0044 + 3 Field 97.853 -0.056 0.056 0 200 + 4 Phase_L 178.95 -0.41 0.41 + 5 Phase_R 1.75 -0.39 0.39 + 6 N0_L 1097.9 -1.0 1.0 + 7 N0_R 1159.7 -1.0 1.0 + 8 Bkg_L 54.47 -0.20 0.20 + 9 Bkg_R 46.70 -0.19 0.19 + +############################################################### +THEORY +asymmetry 1 +simplExpo 2 (rate) +TFieldCos map1 fun1 (phase frequency) + +############################################################### +FUNCTIONS +fun1 = par3 * gamma_mu + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 6 +backgr.fit 8 +map 4 0 0 0 0 0 0 0 0 0 +forward 1 +#background 30 152 # estimated bkg: 49.2393 +data 165 7965 +t0 162.0 +fit 0 8.2 +packing 25 + +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +fittype 0 (single histogram fit) +norm 7 +backgr.fit 9 +map 5 0 0 0 0 0 0 0 0 0 +forward 2 +#background 30 152 # estimated bkg: 43.1545 +data 205 7965 +t0 202.0 +fit 0 8.2 +packing 25 + +############################################################### +COMMANDS +SCALE_N0_BKG TRUE +MINIMIZE +MINOS +SAVE + +############################################################### +PLOT 0 (single histo plot) +#lifetimecorrection +runs 1 2 +use_fit_ranges 0 1600 + +############################################################### +FOURIER +units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s' +fourier_power 12 +apodization NONE # NONE, WEAK, MEDIUM, STRONG +plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE +phase 8.5 +#range_for_phase_correction 50.0 70.0 +range 0.0 200.0 + +############################################################### +STATISTIC --- 2014-12-29 11:14:55 + chisq = 663.9, NDF = 515, chisq/NDF = 1.289169 diff --git a/src/external/MusrRoot/TMusrRunHeader.cpp b/src/external/MusrRoot/TMusrRunHeader.cpp index 6228aaa8..492808a2 100644 --- a/src/external/MusrRoot/TMusrRunHeader.cpp +++ b/src/external/MusrRoot/TMusrRunHeader.cpp @@ -51,7 +51,7 @@ ClassImp(TMusrRunPhysicalQuantity) /** *

Constructor. */ -TMusrRunPhysicalQuantity::TMusrRunPhysicalQuantity() +TMusrRunPhysicalQuantity::TMusrRunPhysicalQuantity() : TObject() { fLabel = "n/a"; fDemand = MRH_UNDEFINED; @@ -75,7 +75,7 @@ TMusrRunPhysicalQuantity::TMusrRunPhysicalQuantity() * \param description additional more detailed description of the physical quantity */ TMusrRunPhysicalQuantity::TMusrRunPhysicalQuantity(TString label, Double_t demand, Double_t value, Double_t error, TString unit, TString description) : - fLabel(label), fDemand(demand), fValue(value), fError(error), fUnit(unit) + TObject(), fLabel(label), fDemand(demand), fValue(value), fError(error), fUnit(unit) { if (description.IsWhitespace()) fDescription = "n/a"; @@ -96,7 +96,7 @@ TMusrRunPhysicalQuantity::TMusrRunPhysicalQuantity(TString label, Double_t deman * \param description additional more detailed description of the physical quantity */ TMusrRunPhysicalQuantity::TMusrRunPhysicalQuantity(TString label, Double_t demand, Double_t value, TString unit, TString description) : - fLabel(label), fDemand(demand), fValue(value), fUnit(unit) + TObject(), fLabel(label), fDemand(demand), fValue(value), fUnit(unit) { fError = MRH_UNDEFINED; if (description.IsWhitespace()) @@ -117,7 +117,7 @@ TMusrRunPhysicalQuantity::TMusrRunPhysicalQuantity(TString label, Double_t deman * \param description additional more detailed description of the physical quantity */ TMusrRunPhysicalQuantity::TMusrRunPhysicalQuantity(TString label, Double_t value, TString unit, TString description) : - fLabel(label), fValue(value), fUnit(unit) + TObject(), fLabel(label), fValue(value), fUnit(unit) { fDemand = MRH_UNDEFINED; fError = MRH_UNDEFINED; @@ -214,7 +214,7 @@ ClassImp(TMusrRunHeader) * * \param quiet if set to true, warnings will be omited. Default is false. */ -TMusrRunHeader::TMusrRunHeader(bool quiet) : fQuiet(quiet) +TMusrRunHeader::TMusrRunHeader(bool quiet) : TObject(), fQuiet(quiet) { Init(); } @@ -228,7 +228,7 @@ TMusrRunHeader::TMusrRunHeader(bool quiet) : fQuiet(quiet) * \param fileName file name of the MusrRoot file. * \param quiet if set to true, warnings will be omited. Default is false. */ -TMusrRunHeader::TMusrRunHeader(const char *fileName, bool quiet) +TMusrRunHeader::TMusrRunHeader(const char *fileName, bool quiet) : TObject() { fQuiet = quiet; Init(TString(fileName)); diff --git a/src/external/MusrRoot/TMusrRunHeader.h b/src/external/MusrRoot/TMusrRunHeader.h index 4c935d6a..6e8ffaba 100644 --- a/src/external/MusrRoot/TMusrRunHeader.h +++ b/src/external/MusrRoot/TMusrRunHeader.h @@ -60,8 +60,8 @@ typedef vector TStringVector; template class TMusrRunObject : public TObject { public: - TMusrRunObject() { fPathName = "n/a"; fType = "n/a"; } - TMusrRunObject(TString pathName, TString type, T value) : fPathName(pathName), fType(type), fValue(value) {} + TMusrRunObject() : TObject() { fPathName = "n/a"; fType = "n/a"; } + TMusrRunObject(TString pathName, TString type, T value) : TObject(), fPathName(pathName), fType(type), fValue(value) {} virtual ~TMusrRunObject() {} virtual TString GetPathName() { return fPathName; }