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:52:34 AM (8 years ago)
- Author:
-
Patrick Stowell
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v2
|
v3
|
|
| 1 | = Using GENIE Inputs = |
| 2 | |
| 3 | |
| 4 | = Generating GENIE Events = |
| 5 | NUISANCE requires the GHepRecord format when reading in GENIE inputs. This format is required to apply the reweighting procedure to the events. |
| 6 | |
| 7 | Unfortunately because of the way the GHepRecord is setup an extra step is required to properly normalise the cross-section predictions. The PrepareGENIE app has been added to allow the splines used in the event generation to be fully reconstructed by NUISANCE. This app will loop over all events and build up the cross-section spline for each interaction channel. These are then added together to obtain the total cross-section per target in the sample. Finally the target specification is used to add these total splines together to obtain a single spline for the MC sample. |
| 8 | {{{ |
| 9 | $ PrepareGENIE -h |
| 10 | PrepareGENIEEvents NUISANCE app. |
| 11 | Takes GHep Outputs and prepares events for NUISANCE. |
| 12 | |
| 13 | PrepareGENIEEvents [-h,-help,--h,--help] [-i inputfile1.root,inputfile2.root,inputfile3.root,...] [-f flux_root_file.root,flux_hist_name] [-t target1[frac1],target2[frac2],...] |
| 14 | |
| 15 | Prepare Mode [Default] : Takes a single GHep file, reconstructs the original GENIE splines, and creates a duplicate file that also contains the flux, event rate, and xsec predictions that NUISANCE needs. |
| 16 | Following options are required for Prepare Mode: |
| 17 | [ -i inputfile.root ] : Reads in a single GHep input file that needs the xsec calculation ran on it. |
| 18 | [ -f flux_file.root,hist_name ] : Path to root file containing the flux histogram the GHep records were generated with. A simple method is to point this to the flux histogram genie generatrs '-f /path/to/events/input-flux.root,spectrum'. |
| 19 | [ -t target ] : Target that GHepRecords were generated with. Comma seperated list. E.g. for CH2 target=1000060120,1000010010,1000010010 |
| 20 | }}} |
| 21 | |
| 22 | {{{ |
| 23 | $ PrepareGENIE -i ghep_events.root -f input-flux.root,spectrum -t CH |
| 24 | }}} |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
1 | 32 | = [ page being built ] = |
2 | 33 | This page aims to outline how to use GENIE to create a sample of interactions on your favourite target. We'll also outline how to feed this generated sample through the NUISANCE framework and get good results. |