BOSS 8.0.0
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-58 $
10//
11//
12
14#include "G4ParticleTypes.hh"
15
17
19
21 // In this method, static member functions should be called
22 // for all particles which you want to use.
23 // This ensures that objects of these particle types will be
24 // created in the program.
25
26 G4Geantino::GeantinoDefinition();
27}
28
30 // Define transportation process
31
32 AddTransportation();
33}
34
36 // uppress error messages even in case e/gamma/proton do not exist
37 G4int temp = GetVerboseLevel();
38 SetVerboseLevel( 0 );
39 // " G4VUserPhysicsList::SetCutsWithDefault" method sets
40 // the default cut value for all particle types
41 SetCutsWithDefault();
42
43 // Retrieve verbose level
44 SetVerboseLevel( temp );
45}