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:
-
Nov 6, 2016, 10:25:00 AM (8 years ago)
- Author:
-
Patrick Stowell
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v3
|
v4
|
|
18 | 18 | Once you have generated events the MC sample can be loaded in by specifying the "NUWRO" type in the NUISANCE sample input field. An example of this is shown in the following card file. |
19 | 19 | |
| 20 | '''nuwro_v12_comparison.card:''' |
| 21 | {{{ |
| 22 | #sample sample_id type:input_file |
| 23 | ########################################## |
20 | 24 | sample MiniBooNE_CCQE_XSec_1DQ2_nu NUWRO:/path/to/nuwro/events.root |
| 25 | }}} |
| 26 | |
| 27 | '''nuwro_v12_comparison.card(without comments):''' |
| 28 | {{{ |
| 29 | sample MiniBooNE_CCQE_XSec_1DQ2_nu NUWRO:/path/to/nuwro/events.root |
| 30 | }}} |
21 | 31 | |
22 | 32 | |
… |
… |
|
28 | 38 | The following cardfile is an example of how to setup this type of input for the MiniBooNE CCQE dataset. |
29 | 39 | |
| 40 | '''nuwro_oldversion_comparison.card:''' |
| 41 | {{{ |
| 42 | # Config Name Value |
| 43 | ########################## |
| 44 | config input.regen_plots 1 |
| 45 | |
| 46 | #sample sample_id type:input_file |
| 47 | ########################################## |
| 48 | sample MiniBooNE_CCQE_XSec_1DQ2_nu NUWRO:/path/to/old/nuwro/events.root |
| 49 | }}} |
| 50 | |
| 51 | |
| 52 | '''nuwro_oldversion_comparison.card (without comments):''' |
| 53 | {{{ |
| 54 | config input.regen_plots 1 |
| 55 | sample MiniBooNE_CCQE_XSec_1DQ2_nu NUWRO:/path/to/old/nuwro/events.root |
| 56 | }}} |
| 57 | |
30 | 58 | = Using !NuWro reweight for comparisons = |
31 | 59 | Support for the !NuWro reweight package is built into NUISANCE. It has immediate access to any reweight dial available in the version of !NuWro you built NUISANCE against. An example of a nuiscomp cardfile that will generate predictions with alternate model predictions is shown below: |
32 | 60 | |
33 | 61 | |
| 62 | '''nuwro_reweighted_comparison.card:''' |
| 63 | {{{ |
| 64 | # par_type dial_name value |
| 65 | ########################### |
| 66 | nuwro_paramater MaCCQE +1.0 |
| 67 | |
| 68 | # sample SAMPLE_ID TYPE:INPUT_TYPE |
| 69 | ######################################## |
| 70 | sample MiniBooNE_CCQE_XSec_1DQ2_nu NUWRO:/path/to/nuwro/events.root |
| 71 | }}} |
| 72 | |
| 73 | |
| 74 | '''nuwro_reweighted_comparison.card(without comments):''' |
| 75 | {{{ |
| 76 | neut_paramater MaCCQE +1.0 |
| 77 | sample MiniBooNE_CCQE_XSec_1DQ2_nu NUWRO:/path/to/nuwro/events.root |
| 78 | }}} |
| 79 | |
| 80 | A list of available dial strings |
34 | 81 | |
35 | 82 | = Using !NuWro reweight for dial tuning = |