Geant4  10.03.p03
 All Classes 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 84279 2014-10-13 07:19:58Z 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 #include "G4DecayPhysics.hh"
52 
54 {
55  SetVerboseLevel(1);
56  emPhysicsList = new G4EmStandardPhysics_option4(1);
57  decPhysicsList = new G4DecayPhysics();
58 // Alternatively you can substitute this physics list
59 // with the LowEnergy Livermore or LowEnergy Penelope:
60 // emPhysicsList = new G4EmLivermorePhysics();
61 // Low Energy based on Livermore Evaluated Data Libraries
62 //
63 // Penelope physics
64 //emPhysicsList = new G4EmPenelopePhysics();
65 }
66 
68 {
69 delete decPhysicsList;
70 delete emPhysicsList;
71 }
72 
74 {
75  decPhysicsList -> ConstructParticle();
76 }
77 
79 {
81  emPhysicsList -> ConstructProcess();
82  decPhysicsList -> ConstructProcess();
83 }
84 
86 {
87  // The production threshold is fixed to 0.1 mm for all the particles
88  // Secondary particles with a range bigger than 0.1 mm
89  // are generated; otherwise their energy is considered deposited locally
90 
91  defaultCutValue = 1. * mm;
92 
93  const G4double cutForGamma = defaultCutValue;
94  const G4double cutForElectron = defaultCutValue;
95  const G4double cutForPositron = defaultCutValue;
96 
97  SetCutValue(cutForGamma, "gamma");
98  SetCutValue(cutForElectron, "e-");
99  SetCutValue(cutForPositron, "e+");
100 
101  // Set the secondary production cut lower than 990. eV
102  // Very important for high precision of lowenergy processes at low energies
103 
104  G4double lowLimit = 250. * eV;
105  G4double highLimit = 100. * GeV;
107 
109 }
static constexpr double mm
Definition: G4SIunits.hh:115
void SetCutValue(G4double aCut, const G4String &pname)
void SetEnergyRange(G4double lowedge, G4double highedge)
void DumpCutValuesTable(G4int flag=1)
static constexpr double eV
Definition: G4SIunits.hh:215
void SetVerboseLevel(G4int value)
static G4ProductionCutsTable * GetProductionCutsTable()
static constexpr double GeV
Definition: G4SIunits.hh:217
double G4double
Definition: G4Types.hh:76