Geant4  10.00.p01
BrachyPhysicsList.cc
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 /*
27 Author: Susanna Guatelli
28 */
29 //
30 // **********************************
31 // * *
32 // * BrachyPhysicsList.cc *
33 // * *
34 // **********************************
35 //
37 #include "G4EmLivermorePhysics.hh"
38 #include "G4DecayPhysics.hh"
40 #include "G4EmPenelopePhysics.hh"
41 #include "BrachyPhysicsList.hh"
42 #include "G4VPhysicsConstructor.hh"
43 #include "G4ParticleDefinition.hh"
44 #include "G4ProductionCutsTable.hh"
45 #include "G4ProcessManager.hh"
46 #include "G4ParticleTypes.hh"
47 #include "G4ios.hh"
48 #include "G4StepLimiter.hh"
49 #include "G4ParticleDefinition.hh"
50 #include "globals.hh"
51 #include "G4SystemOfUnits.hh"
52 
54 {
55 SetVerboseLevel(1);
56 
57 // EM physics: 3 alternatives
58 
60 
61 // Alternatively you can substitute this physics list
62 // with the LowEnergy Livermore or LowEnergy Penelope:
63 // emPhysicsList = new G4EmLivermorePhysics();
64 // Low Energy based on Livermore Evaluated Data Libraries
65 //
66 // Penelope physics
67 //emPhysicsList = new G4EmPenelopePhysics();
68 
69 // Add Decay
72 
73 }
74 
76 {
77 delete decPhysicsList;
78 delete radDecayPhysicsList;
79 delete emPhysicsList;
80 }
81 
83 {
85 }
86 
88 {
91 
92 // decay physics list
95 }
96 
98 {
99 // Definition of threshold of production
100 // of secondary particles
101 // This is defined in range.
102 defaultCutValue = 0.1 * mm;
103 SetCutValue(defaultCutValue, "gamma");
106 
107 // By default the low energy limit to produce
108 // secondary particles is 990 eV.
109 // This value is correct when using the EM Standard Physics.
110 // When using the Low Energy Livermore this value can be
111 // changed to 250 eV corresponding to the limit
112 // of validity of the physics models.
113 // Comment out following three lines if the
114 // Standard electromagnetic Package is adopted.
115 G4double lowLimit = 250. * eV;
116 G4double highLimit = 100. * GeV;
117 
119  highLimit);
120 
121 // Print the cuts
123 }
G4VPhysicsConstructor * decPhysicsList
void SetCutValue(G4double aCut, const G4String &pname)
void SetEnergyRange(G4double lowedge, G4double highedge)
G4VPhysicsConstructor * emPhysicsList
void DumpCutValuesTable(G4int flag=1)
static const double GeV
Definition: G4SIunits.hh:196
void SetVerboseLevel(G4int value)
static G4ProductionCutsTable * GetProductionCutsTable()
static const double eV
Definition: G4SIunits.hh:194
G4VPhysicsConstructor * radDecayPhysicsList
double G4double
Definition: G4Types.hh:76
static const double mm
Definition: G4SIunits.hh:102