Dear Allpix2 developers,
Probably I’m wrong somewhere, but… I have simple g4 macro:
/gps/particle gamma
/gps/pos/type Volume
/gps/pos/shape Para
/gps/pos/centre 0. 0. -2. cm
/gps/pos/halfx 0.5 cm
/gps/pos/halfy 0.5 cm
/gps/pos/halfz 0.5 cm
/gps/pos/rot1 1. 0.57735 0.
/gps/pos/rot2 -0.57735 1. -0.66667
/gps/ang/type cos
/gps/ene/type Gauss
/gps/ene/mono 40. keV
/gps/ene/sigma 5. keV
It gives me the following errors:
"16:13:18.521| (DEBUG) [I:DepositionGeant4] Applying Geant4 macro command: "/gps/particle gamma
) is not listed in the candidate List.meter value (gamma
"16:13:18.521| (DEBUG) [I:DepositionGeant4] Applying Geant4 macro command: "/gps/pos/type Volume
) is not listed in the candidate List.meter value (Volume
"16:13:18.521| (DEBUG) [I:DepositionGeant4] Applying Geant4 macro command: "/gps/pos/shape Para
) is not listed in the candidate List.meter value (Para
"16:13:18.521| (DEBUG) [I:DepositionGeant4] Applying Geant4 macro command: "/gps/pos/centre 0. 0. -2. cm
|16:13:18.521| (WARNING) [Geant4]
-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : InvalidUnit
issued by : G4UnitDefinition::GetCategory()
' does not exist in the Units Table!e unit 'cm
*** Fatal Exception *** core dump ***
|16:13:18.521| (WARNING) [Geant4] **** Track information is not available at this moment
|16:13:18.521| (WARNING) [Geant4] **** Step information is not available at this moment
|16:13:18.521| (WARNING) [Geant4]
-------- EEEE -------- G4Exception-END --------- EEEE -------
|16:13:18.521| (WARNING) [Geant4]
|16:13:18.521| (WARNING) [Geant4] *** G4Exception: Aborting execution ***
|16:13:18.521| (FATAL) [I:DepositionGeant4] Aborting!
Segmentation fault (core dumped)
Do you have any ideas?
I’m on v.2.1.0. Cfg of DepositionGeant4 module:
[DepositionGeant4]
physics_list = FTFP_BERT_EMZ
source_type = "macro"
file_name = "cube_source.g4mac"
number_of_particles = 1
max_step_length = 5um
fano_factor = 0.14
charge_creation_energy = 4.2eV
range_cut = 200um
Thank you and best regards,
Petr