Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/parameterisations/Par04/vis_torch_vae.mac is written in an unsupported language. File is not indexed.

0001 /control/execute common_settings_highgran.mac
0002 # Initialize
0003 /run/initialize
0004 
0005 /control/execute common_settings_postInit.mac
0006 /control/execute common_settings_vis.mac
0007 
0008 # Fast Simulation
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.pt
0016 /Par04/inference/setInferenceLibrary TORCH
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 ## Dynamic readout mesh from particle direction needs to be the first fast sim model!
0026 /param/ActivateModel defineMesh
0027 ## ML fast sim, configured with the inference setup /Par04/inference
0028 /param/ActivateModel inferenceModel
0029 /run/beamOn 1