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