close
Warning:
Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.
- Timestamp:
-
Jan 30, 2017, 2:23:05 PM (8 years ago)
- Author:
-
Clarence Wret
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v6
|
v7
|
|
50 | 50 | = Fake data studies with `nuismin` = |
51 | 51 | |
52 | | `nuismin` supports fake-data studies for validation purposes. Its aim is to study fitting biases and general troubleshooting of parameter responses. |
| 52 | `nuismin` supports fake-data studies for validation purposes. The user can set the data as the MC and see if the minimiser routine is able to reach the known parameter value. Its aim is to study fitting biases and general troubleshooting of parameter responses. It can also be useful for choosing the used fitting routines (e.g. Simplex, GSL, Migrad). |
53 | 53 | |
54 | | Supply `-d MC` to the argument list to use the generator MC as fake-data. You can also specify reweight parameters for the fake-data in the card file by adding |
| 54 | Supply `-d MC` to the argument list to use the generator MC as fake-data. You can also specify reweight parameters for the fake-data in the card file by adding |
55 | 55 | |
56 | 56 | {{{ |
… |
… |
|
58 | 58 | }}} |
59 | 59 | |
60 | | to the card file to reweight the generator output to some variation and set that to the data. The data will now be some parameter variation of the MC, and (hopefully) the fit routine will converge on this parameter. |
| 60 | to the card file to reweight the generator to some variation and set that to the data. The data will now be some parameter variation of the MC, and (hopefully) the fit routine will converge on this parameter. |
61 | 61 | |
62 | 62 | You can also specify `-d FILE_LOCATION.root` to set the fake-data to a MC histogram that has been previously produced through NUISANCE. |
63 | 63 | |
64 | | E.g. the output of a fit result to `ANL_CC1ppip_XSec_1DEnu_nu` will produce some output file `MyOutput.root`, containing a histogram `ANL_CC1ppip_XSec_1DEnu_nu_MC`. Feeding `nuismin` `-d MyOutput.root` in addition to a card file specifying `sample ANL_CC1ppip_XSec_1DEnu_nu MY_GENERATOR:GENERATOR_FILE_LOCATION.root` will find the `_MC` histogram in `MyOutput.root` and set it to the data in the new `nuismin` program. |
| 64 | {{{ |
| 65 | #!div class="note" |
| 66 | The output of a fit result to `ANL_CC1ppip_XSec_1DEnu_nu` will produce some output file `MyOutput.root`, containing a histogram `ANL_CC1ppip_XSec_1DEnu_nu_MC`. |
65 | 67 | |
| 68 | Feeding `nuismin` `-d MyOutput.root` in addition to a card file specifying |
| 69 | {{{ |
| 70 | sample ANL_CC1ppip_XSec_1DEnu_nu MY_GENERATOR:GENERATOR_FILE_LOCATION.root` |
| 71 | }}} |
| 72 | will find the `_MC` histogram in `MyOutput.root` and set it to the data in the new `nuismin` program. |
| 73 | }}} |
66 | 74 | |
67 | 75 | |