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:
-
Jun 12, 2017, 7:06:27 PM (7 years ago)
- Author:
-
Patrick Stowell
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v11
|
v12
|
|
28 | 28 | If all you want to do is check your NUSIANCE is built correctly, you can skip this step by downloading MC files from our online storage area by following the steps found here:LinkToNUISANCEMCFiles |
29 | 29 | |
30 | | == Running gevgen == |
| 30 | === Running gevgen === |
31 | 31 | |
32 | 32 | The standard gevgen application options can be ran using |
… |
… |
|
35 | 35 | }}} |
36 | 36 | |
37 | | We need to provide a flux and target list to GENIE when running gevgen. To see our list of compiled flux and target combinations for each sample please see here: |
| 37 | We need to provide a flux and target list to GENIE when running gevgen. |
38 | 38 | |
39 | 39 | Note: If building NUISANCE v2r0 or higher against GENIE 2-12-0 or higher an option is provided to use an easier and quicker gevgen_nuisance application to generate NUISANCE-ready event files. Please see section 2.3 if you would like to use this. |
… |
… |
|
86 | 86 | Now that the event samples have been generated correctly, we need to prepare them for use in NUISANCE. |
87 | 87 | |
88 | | == Running PrepareGENIE == |
| 88 | === Running PrepareGENIE === |
89 | 89 | |
90 | 90 | The standard gevgen application doesn’t save the total event rate predictions into the event file itself. NUISANCE needs these to correctly normalise predictions so before we can use these new events we need to prepare them. |
… |
… |
|
136 | 136 | }}} |
137 | 137 | |
138 | | == Running gevgen_nuisance (optional) == |
| 138 | === Running gevgen_nuisance (optional alternative) === |
139 | 139 | |
140 | 140 | Other than the standard gevgen application, if built against GENIE events later than GENIE 2.12.0, NUISANCE can also provide a gevgen_nuisance app, with additional features to support the creation of ‘NUISANCE-ready’ events. |
… |
… |
|
160 | 160 | gevgen_nuisance also provides extra support for mixed target and flux specifications. For further notes on these see: |
161 | 161 | |
162 | | == Setting up a GENIE Comparison == |
163 | | |
164 | | Now that we have an event sample we can load them load them into NUISANCE by specifying them at run time. To do that we need to write a NUISANCE card file that lists all comparisons that should be made and the event files that should be used for each one. |
| 162 | == Making a GENIE Comparison == |
| 163 | |
| 164 | Now that we have an event sample we can load them load them into NUISANCE by specifying them at run time. |
| 165 | |
| 166 | === Writing a card file === |
| 167 | |
| 168 | To specify samples we need to write a NUISANCE card file that lists all comparisons that should be made and the event files that should be used for each one. |
165 | 169 | |
166 | 170 | We want to produce comparisons to MiniBooNE pion production data, so first we should search the NUISANCE sample list. |
… |
… |
|
235 | 239 | }}} |
236 | 240 | |
| 241 | |
| 242 | === Running a comparison === |
| 243 | |
237 | 244 | We can now run our cardfile using the standard nuisance application like so: |
238 | 245 | {{{ |
… |
… |
|
287 | 294 | If you see something similar to this then the comparisons should have ran successfully. |
288 | 295 | |
289 | | == Analysing the output == |
| 296 | === Analysing the output === |
290 | 297 | |
291 | 298 | When we open the NUISANCE output file in ROOT we can see that it contains a series of histograms all with names similar to the sample names we specified in our card file. By default NUISANCE preppends the name of the sample to any histogram when writing it so that you know from what sample each histogram originated from. |
… |
… |
|
327 | 334 | |
328 | 335 | |
329 | | == Providing reweight parameters == |
| 336 | === Reweighting GENIE Comparisons === |
330 | 337 | The comparisons application also allows different GENIE reweight parameters to be provided in our card file. |
331 | 338 | |