Namespaces | Functions | Variables
generate_CCQE_events.py File Reference

Go to the source code of this file.

Namespaces

 generate_CCQE_events
 

Functions

def generate_CCQE_events.generate_genie_files ()
 

Variables

 generate_CCQE_events.mode_prefix = sys.argv[1]
 
list generate_CCQE_events.nucZs = [6]
 
list generate_CCQE_events.nucAs = [12]
 
string generate_CCQE_events.energy = "3.0"
 
string generate_CCQE_events.num_ev = "50000"
 
list generate_CCQE_events.neut_pdgs = ["14", "-14"]
 
string generate_CCQE_events.spline_dir = "../../../../splines/"
 
string generate_CCQE_events.spline_suffix = "QE_splines.xml"
 
int generate_CCQE_events.start_run = 500000
 
int generate_CCQE_events.end_run = 500010
 
string generate_CCQE_events.data_dir = "./data/"
 
string generate_CCQE_events.spline = spline_dir+mode_prefix+"_"
 
list generate_CCQE_events.cmds = []
 
 generate_CCQE_events.nucZ = nucZs[i]
 
 generate_CCQE_events.nucA = nucAs[i]
 
string generate_CCQE_events.folder = data_dir+str(nucZ)+"_"
 
list generate_CCQE_events.cmd = ["mkdir", folder]
 
 generate_CCQE_events.target = str(1000000000+nucA*10+nucZ*10000)
 
list generate_CCQE_events.cmd1
 
list generate_CCQE_events.cmd2 = ["gntpc", "-i", "gntp." + str(runnum) + ".ghep.root", "-f", "gst"]
 
int generate_CCQE_events.num_threads = 32
 
 generate_CCQE_events.mutex = threading.Lock()
 
list generate_CCQE_events.threads = []
 
 generate_CCQE_events.t = threading.Thread(target=generate_genie_files)
 
 generate_CCQE_events.daemon