Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4HumanPhantomPhysicsList.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 // Code developed by:
28 // S. Guatelli, G. Guerrieri and M. G. Pia
29 //
30 //
31 //
32 // **********************************
33 // * *
34 // * G4HumanPhantomPhysicsList.cc *
35 // * *
36 // **********************************
37 //
38 // $Id: G4HumanPhantomPhysicsList.cc 70025 2013-05-22 08:43:05Z gcosmo $
39 //
41 
42 #include "G4SystemOfUnits.hh"
43 #include "G4ParticleDefinition.hh"
44 #include "G4ProductionCutsTable.hh"
45 #include "G4ProcessManager.hh"
46 #include "G4ParticleTypes.hh"
47 #include "G4UnitsTable.hh"
48 #include "G4ios.hh"
49 #include "G4VModularPhysicsList.hh"
51 
53 {
54  SetVerboseLevel(1);
55  emPhysicsList = new G4EmStandardPhysics_option4(1);
56 
57 // Alternatively you can substitute this physics list
58 // with the LowEnergy Livermore or LowEnergy Penelope:
59 // emPhysicsList = new G4EmLivermorePhysics();
60 // Low Energy based on Livermore Evaluated Data Libraries
61 //
62 // Penelope physics
63 //emPhysicsList = new G4EmPenelopePhysics();
64 }
65 
67 {
68 delete emPhysicsList;
69 }
70 
72 {
73  emPhysicsList -> ConstructParticle();
74 }
75 
77 {
79  emPhysicsList -> ConstructProcess();
80 }
81 
83 {
84  // The production threshold is fixed to 0.1 mm for all the particles
85  // Secondary particles with a range bigger than 0.1 mm
86  // are generated; otherwise their energy is considered deposited locally
87 
88  defaultCutValue = 1. * mm;
89 
90  const G4double cutForGamma = defaultCutValue;
91  const G4double cutForElectron = defaultCutValue;
92  const G4double cutForPositron = defaultCutValue;
93 
94  SetCutValue(cutForGamma, "gamma");
95  SetCutValue(cutForElectron, "e-");
96  SetCutValue(cutForPositron, "e+");
97 
98  // Set the secondary production cut lower than 990. eV
99  // Very important for high precision of lowenergy processes at low energies
100 
101  G4double lowLimit = 250. * eV;
102  G4double highLimit = 100. * GeV;
104 
106 }
void SetCutValue(G4double aCut, const G4String &pname)
void SetEnergyRange(G4double lowedge, G4double highedge)
void DumpCutValuesTable(G4int flag=1)
void SetVerboseLevel(G4int value)
static G4ProductionCutsTable * GetProductionCutsTable()
double G4double
Definition: G4Types.hh:76