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
13
#include "
Physics/ExN01PhysicsList.hh
"
14
#include "G4ParticleTypes.hh"
15
16
ExN01PhysicsList::ExN01PhysicsList
() { ; }
17
18
ExN01PhysicsList::~ExN01PhysicsList
() { ; }
19
20
void
ExN01PhysicsList::ConstructParticle
() {
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
29
void
ExN01PhysicsList::ConstructProcess
() {
30
// Define transportation process
31
32
AddTransportation();
33
}
34
35
void
ExN01PhysicsList::SetCuts
() {
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
}
ExN01PhysicsList.hh
ExN01PhysicsList::ConstructProcess
void ConstructProcess()
Definition
ExN01PhysicsList.cxx:29
ExN01PhysicsList::ExN01PhysicsList
ExN01PhysicsList()
Definition
ExN01PhysicsList.cxx:16
ExN01PhysicsList::ConstructParticle
void ConstructParticle()
Definition
ExN01PhysicsList.cxx:20
ExN01PhysicsList::SetCuts
void SetCuts()
Definition
ExN01PhysicsList.cxx:35
ExN01PhysicsList::~ExN01PhysicsList
~ExN01PhysicsList()
Definition
ExN01PhysicsList.cxx:18
8.0.0
BOSS_Source
Simulation
G4Svc
Physics_src
ExN01PhysicsList.cxx
Generated by
1.16.1