BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
ExN01PhysicsList.cxx
Go to the documentation of this file.
1// This code implementation is the intellectual property of
2// the GEANT4 collaboration.
3//
4// By copying, distributing or modifying the Program (or any work
5// based on the Program) you indicate your acceptance of this statement,
6// and all its terms.
7//
8// $Id: ExN01PhysicsList.cxx,v 1.1.1.1 2004/09/28 05:16:53 liwd Exp $
9// GEANT4 tag $Name: G4Svc-00-01-52 $
10//
11//
12
14#include "G4ParticleTypes.hh"
15
16
18{;}
19
21{;}
22
24{
25 // In this method, static member functions should be called
26 // for all particles which you want to use.
27 // This ensures that objects of these particle types will be
28 // created in the program.
29
30 G4Geantino::GeantinoDefinition();
31}
32
34{
35 // Define transportation process
36
37 AddTransportation();
38}
39
41{
42 // uppress error messages even in case e/gamma/proton do not exist
43 G4int temp = GetVerboseLevel(); SetVerboseLevel(0);
44 // " G4VUserPhysicsList::SetCutsWithDefault" method sets
45 // the default cut value for all particle types
46 SetCutsWithDefault();
47
48 // Retrieve verbose level
49 SetVerboseLevel(temp);
50}
51