Warning, /geant4/examples/extended/parameterisations/Par04/examplePar04_lwtnn_vae.mac is written in an unsupported language. File is not indexed.
0001 # examplePar04_lwtnn_vae.mac
0002 #
0003 /control/execute common_settings_highgran.mac
0004 # Initialize
0005 /run/initialize
0006
0007 /control/execute common_settings_postInit.mac
0008
0009 # Inference Setup
0010 ## dimension of the latent vector (encoded vector in a Variational Autoencoder model)
0011 /Par04/inference/setSizeLatentVector 10
0012 ## size of the condition vector (energy, angle and geometry)
0013 /Par04/inference/setSizeConditionVector 4
0014 ## path to the model which is set to download by cmake
0015 /Par04/inference/setModelPathName MLModels/Generator.json
0016 /Par04/inference/setInferenceLibrary LWTNN
0017 ## set mesh size for inference == mesh size of a full sim that
0018 ## was used for training; it coincides with readout mesh size
0019 /Par04/inference/setSizeOfRhoCells 2.325 mm
0020 /Par04/inference/setSizeOfZCells 3.4 mm
0021 /Par04/inference/setNbOfRhoCells 18
0022 /Par04/inference/setNbOfPhiCells 50
0023 /Par04/inference/setNbOfZCells 45
0024
0025 # Fast Simulation
0026 /analysis/setFileName 10GeV_100events_vae_lwtnn.root
0027 ## dynamically set readout mesh from particle direction
0028 ## needs to be the first fast sim model!
0029 /param/ActivateModel defineMesh
0030 ## ML fast sim, configured with the inference setup /Par04/inference
0031 /param/ActivateModel inferenceModel
0032 /run/beamOn 100