Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
geant4_parallel.py File Reference

Go to the source code of this file.

Namespaces

namespace  geant4_parallel
 

Functions

def geant4_parallel.runGeant4EventRange
 

Variables

int geant4_parallel.n_events 100
 
int geant4_parallel.n_jobs 8
 
tuple geant4_parallel.chunksize n_events//(n_jobs - 1)
 
tuple geant4_parallel.begins range(0, n_events, chunksize)
 
list geant4_parallel.ends [min(b + chunksize, n_events) for b in begins]
 
tuple geant4_parallel.outputDir Path.cwd()