CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
G4BuilderPhysicsList.cxx
Go to the documentation of this file.
1
3#include "G4ParticleTypes.hh"
4
5
8
11
13{
14 // In this method, static member functions should be called
15 // for all particles which you want to use.
16 // This ensures that objects of these particle types will be
17 // created in the program.
18
19 G4Geantino::GeantinoDefinition();
20 G4ChargedGeantino::ChargedGeantinoDefinition();
21}
22
24{
25 // Define transportation process
26
27 AddTransportation();
28}
29
31{
32 // uppress error messages even in case e/gamma/proton do not exist
33 G4int temp = GetVerboseLevel();
34 SetVerboseLevel(0);
35 // " G4VUserPhysicsList::SetCutsWithDefault" method sets
36 // the default cut value for all particle types
37 SetCutsWithDefault();
38
39 // Retrieve verbose level
40 SetVerboseLevel(temp);
41}
42
43
44