nuisance is hosted by Hepforge, IPPP Durham
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.

Version 4 (modified by Patrick Stowell, 7 years ago) (diff)

--

Using GENIE Inputs

Generating GENIE Events

NUISANCE requires the GHepRecord format when reading in GENIE inputs. This format is required to apply the reweighting procedure to the events.

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.

$ PrepareGENIE   -h
PrepareGENIEEvents NUISANCE app.
Takes GHep Outputs and prepares events for NUISANCE.

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],...]

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.

Following options are required for Prepare Mode:
 [ -i inputfile.root  ] : Reads in a single GHep input file that needs the xsec calculation ran on it.
 [ -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'.
 [ -t target ] : Target that GHepRecords were generated with. Comma seperated list. E.g. for CH2 target=1000060120,1000010010,1000010010
$ PrepareGENIE  -i ghep_events.root  -f input-flux.root,spectrum  -t CH  

[ page being built ]

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.