Warning, /geant4/examples/extended/parameterisations/Par04/vis_torch_calodit.mac is written in an unsupported language. File is not indexed.
0001 /control/execute common_settings_lowgran.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 ## path to the model which is set to download by cmake
0011 /Par04/inference/setModelPathName MLModels/cd_cpu.pt
0012 ## Set ML model to use (VAE, CaloDiT-2)
0013 /Par04/inference/setModelType CaloDiT-2
0014 /Par04/inference/setInferenceLibrary TORCH
0015 ## set mesh size for inference == mesh size of a full sim that
0016 ## was used for training; it coincides with readout mesh size
0017 /Par04/inference/setSizeOfRhoCells 4.65 mm
0018 /Par04/inference/setSizeOfZCells 3.4 mm
0019 /Par04/inference/setNbOfRhoCells 9
0020 /Par04/inference/setNbOfPhiCells 16
0021 /Par04/inference/setNbOfZCells 45
0022
0023 ## Dynamic readout mesh from particle direction needs to be the first fast sim model!
0024 /param/ActivateModel defineMesh
0025 ## ML fast sim, configured with the inference setup /Par04/inference
0026 /param/ActivateModel inferenceModel
0027 /run/beamOn 1