Geant4  10.02.p01
PhysicsList.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 //
28 //
29 // $Id: PhysicsList.cc 70268 2013-05-28 14:17:50Z maire $
30 
31 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
32 
33 #include "PhysicsList.hh"
34 
35 #include "G4SystemOfUnits.hh"
36 #include "G4UnitsTable.hh"
37 
38 
39 #include "EmStandardPhysics.hh"
40 #include "G4DecayPhysics.hh"
42 
46 #include "G4HadronInelasticQBBC.hh"
47 #include "G4HadronPhysicsINCLXX.hh"
48 #include "G4IonElasticPhysics.hh"
49 #include "G4IonPhysics.hh"
50 #include "G4IonINCLXXPhysics.hh"
51 #include "GammaPhysics.hh"
52 
53 // particles
54 
55 #include "G4BosonConstructor.hh"
56 #include "G4LeptonConstructor.hh"
57 #include "G4MesonConstructor.hh"
58 #include "G4BosonConstructor.hh"
59 #include "G4BaryonConstructor.hh"
60 #include "G4IonConstructor.hh"
62 
63 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
64 
67 {
68  G4int verb = 1;
69  SetVerboseLevel(verb);
70 
71  //add new units for radioActive decays
72  //
73  new G4UnitDefinition( "millielectronVolt", "meV", "Energy", 1.e-3*eV);
74  //
75  const G4double minute = 60*second;
76  const G4double hour = 60*minute;
77  const G4double day = 24*hour;
78  const G4double year = 365*day;
79  new G4UnitDefinition("minute", "min", "Time", minute);
80  new G4UnitDefinition("hour", "h", "Time", hour);
81  new G4UnitDefinition("day", "d", "Time", day);
82  new G4UnitDefinition("year", "y", "Time", year);
83 
84  // EM physics
86 
87  // Decay
89 
90  // Radioactive decay
92 
93  // Hadron Elastic scattering
95 
96  // Hadron Inelastic physics
101 
102  // Ion Elastic scattering
104 
105  // Ion Inelastic physics
108 
109  // Gamma-Nuclear Physics
111 }
112 
113 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
114 
116 { }
117 
118 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
119 
121 {
122  G4BosonConstructor pBosonConstructor;
123  pBosonConstructor.ConstructParticle();
124 
125  G4LeptonConstructor pLeptonConstructor;
126  pLeptonConstructor.ConstructParticle();
127 
128  G4MesonConstructor pMesonConstructor;
129  pMesonConstructor.ConstructParticle();
130 
131  G4BaryonConstructor pBaryonConstructor;
132  pBaryonConstructor.ConstructParticle();
133 
134  G4IonConstructor pIonConstructor;
135  pIonConstructor.ConstructParticle();
136 
137  G4ShortLivedConstructor pShortLivedConstructor;
138  pShortLivedConstructor.ConstructParticle();
139 }
140 
141 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
142 
144 {
145  SetCutValue(0*mm, "proton");
146  SetCutValue(10*km, "e-");
147  SetCutValue(10*km, "e+");
148  SetCutValue(10*km, "gamma");
149 }
150 
151 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void ConstructParticle()
Definition: PhysicsList.cc:117
void RegisterPhysics(G4VPhysicsConstructor *)
void SetCutValue(G4double aCut, const G4String &pname)
static void ConstructParticle()
static void ConstructParticle()
int G4int
Definition: G4Types.hh:78
static void ConstructParticle()
static void ConstructParticle()
static const double second
Definition: G4SIunits.hh:156
void SetVerboseLevel(G4int value)
void SetCuts()
Definition: PhysicsList.cc:219
static void ConstructParticle()
static const double eV
Definition: G4SIunits.hh:212
static const double km
Definition: G4SIunits.hh:132
double G4double
Definition: G4Types.hh:76
static const double mm
Definition: G4SIunits.hh:114