BOSS
7.0.7
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-53 $
10
//
11
//
12
13
#include "
Physics/ExN01PhysicsList.hh
"
14
#include "G4ParticleTypes.hh"
15
16
17
ExN01PhysicsList::ExN01PhysicsList
()
18
{;}
19
20
ExN01PhysicsList::~ExN01PhysicsList
()
21
{;}
22
23
void
ExN01PhysicsList::ConstructParticle
()
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
33
void
ExN01PhysicsList::ConstructProcess
()
34
{
35
// Define transportation process
36
37
AddTransportation();
38
}
39
40
void
ExN01PhysicsList::SetCuts
()
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
ExN01PhysicsList.hh
ExN01PhysicsList::ConstructProcess
void ConstructProcess()
Definition:
ExN01PhysicsList.cxx:33
ExN01PhysicsList::ExN01PhysicsList
ExN01PhysicsList()
Definition:
ExN01PhysicsList.cxx:17
ExN01PhysicsList::ConstructParticle
void ConstructParticle()
Definition:
ExN01PhysicsList.cxx:23
ExN01PhysicsList::SetCuts
void SetCuts()
Definition:
ExN01PhysicsList.cxx:40
ExN01PhysicsList::~ExN01PhysicsList
~ExN01PhysicsList()
Definition:
ExN01PhysicsList.cxx:20
source
Simulation
G4Svc
G4Svc-00-01-53
Physics_src
ExN01PhysicsList.cxx
Generated by
1.9.6