SND@LHC Software
Loading...
Searching...
No Matches
makeGenieEvents.py File Reference

Go to the source code of this file.

Namespaces

namespace  makeGenieEvents
 

Functions

 makeGenieEvents.get_arguments ()
 
 makeGenieEvents.makeSplines ()
 
 makeGenieEvents.makeEvents (nevents=100)
 
 makeGenieEvents.makeNtuples ()
 
 makeGenieEvents.addHists ()
 

Variables

str makeGenieEvents.xsec = "gxspl-FNAL-nuSHiP-minimal.xml"
 
str makeGenieEvents.hfile = "pythia8_Geant4_1.0_withCharm_nu.root"
 
str makeGenieEvents.defaultsplinedir = '/eos/experiment/ship/user/aiuliano/GENIE_FNAL_nu_splines'
 
str makeGenieEvents.defaultfiledir = '/eos/experiment/ship/data/Mbias/background-prod-2018'
 
 makeGenieEvents.args = get_arguments()
 
str makeGenieEvents.targetcode = '1000260560'
 
str makeGenieEvents.splines = args.splinedir+'/'+xsec
 
str makeGenieEvents.neutrinos = args.filedir+'/'+hfile
 
 makeGenieEvents.pdg = ROOT.TDatabasePDG()
 
dict makeGenieEvents.pDict = {}
 
dict makeGenieEvents.sDict = {}
 
dict makeGenieEvents.nuOverNubar = {}
 
 makeGenieEvents.f = ROOT.TFile(neutrinos)