Import Geant4 11.2.0 source tree
This commit is contained in:
@@ -1,25 +1,6 @@
|
||||
# examplePar04_onnx.mac
|
||||
#
|
||||
# Detector Construction
|
||||
/Par04/detector/setDetectorInnerRadius 80 cm
|
||||
/Par04/detector/setDetectorLength 2 m
|
||||
/Par04/detector/setNbOfLayers 90
|
||||
/Par04/detector/setAbsorber 0 G4_W 1.4 mm true
|
||||
/Par04/detector/setAbsorber 1 G4_Si 0.3 mm true
|
||||
## 2.325 mm of tungsten =~ 0.25 * 9.327 mm = 0.25 * R_Moliere
|
||||
/Par04/mesh/setSizeOfRhoCells 2.325 mm
|
||||
## 2 * 1.4 mm of tungsten =~ 0.65 X_0
|
||||
/Par04/mesh/setSizeOfZCells 3.4 mm
|
||||
/Par04/mesh/setNbOfRhoCells 18
|
||||
/Par04/mesh/setNbOfPhiCells 50
|
||||
/Par04/mesh/setNbOfZCells 45
|
||||
|
||||
# Initialize
|
||||
/run/initialize
|
||||
|
||||
/gun/energy 10 GeV
|
||||
/gun/position 0 0 0
|
||||
/gun/direction 0 1 0
|
||||
/control/execute common_settings.mac
|
||||
|
||||
# Inference Setup
|
||||
## dimension of the latent vector (encoded vector in a Variational Autoencoder model)
|
||||
@@ -30,6 +11,8 @@
|
||||
/Par04/inference/setModelPathName MLModels/Generator.onnx
|
||||
/Par04/inference/setProfileFlag 1
|
||||
/Par04/inference/setOptimizationFlag 0
|
||||
## cuda flag
|
||||
/Par04/inference/setCudaFlag 0
|
||||
/Par04/inference/setInferenceLibrary ONNX
|
||||
## set mesh size for inference == mesh size of a full sim that
|
||||
## was used for training; it coincides with readout mesh size
|
||||
@@ -39,6 +22,14 @@
|
||||
/Par04/inference/setNbOfPhiCells 50
|
||||
/Par04/inference/setNbOfZCells 45
|
||||
|
||||
# cuda options
|
||||
/Par04/inference/cuda/setDeviceId 0
|
||||
/Par04/inference/cuda/setGpuMemLimit 2147483648
|
||||
/Par04/inference/cuda/setArenaExtendedStrategy kSameAsRequested
|
||||
/Par04/inference/cuda/setCudnnConvAlgoSearch DEFAULT
|
||||
/Par04/inference/cuda/setDoCopyInDefaultStream 1
|
||||
/Par04/inference/cuda/setCudnnConvUseMaxWorkspace 1
|
||||
|
||||
# Fast Simulation
|
||||
/analysis/setFileName 10GeV_100events_fastsim_onnx.root
|
||||
## dynamically set readout mesh from particle direction
|
||||
|
||||
Reference in New Issue
Block a user