Envelope in example B1

Why does the example B1 of the Geant4 toolkit include an envelope?

_Geant4 Version:_11.2.1
_Operating System:_Windows 10
_Compiler/Version:_Visual Studio 2022
_CMake Version:_3.29.0-rc2

@ivana can correct me, but I believe it’s purely there to help in the implementation of the particle gun (see the PrimaryGeneratorAction class implementation).

Ok, thank you Doctor

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.