Geant4  10.02
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 //
30 // $Id: PhysicsList.cc 94458 2015-11-18 14:36:25Z gcosmo $
31 //
32 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
33 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
34 
35 #include "PhysicsList.hh"
36 #include "G4UnitsTable.hh"
37 #include "G4ParticleTypes.hh"
38 #include "G4IonConstructor.hh"
39 #include "G4PhysicsListHelper.hh"
40 #include "G4RadioactiveDecay.hh"
41 #include "G4SystemOfUnits.hh"
42 #include "G4NuclideTable.hh"
43 
44 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
45 
48 {
49  //add new units for radioActive decays
50  //
51  const G4double minute = 60*second;
52  const G4double hour = 60*minute;
53  const G4double day = 24*hour;
54  const G4double year = 365*day;
55  new G4UnitDefinition("minute", "min", "Time", minute);
56  new G4UnitDefinition("hour", "h", "Time", hour);
57  new G4UnitDefinition("day", "d", "Time", day);
58  new G4UnitDefinition("year", "y", "Time", year);
59 }
60 
61 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
62 
64 { }
65 
66 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
67 
69 {
70  // pseudo-particles
72 
73  // gamma
75 
76  // leptons
79 
82 
83  // baryons
86 
87  // ions
88  G4IonConstructor iConstructor;
89  iConstructor.ConstructParticle();
90 }
91 
92 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
93 
95 {
97 
98  G4RadioactiveDecay* radioactiveDecay = new G4RadioactiveDecay();
99 
100  radioactiveDecay->SetARM(false); //Atomic Rearangement
101 
103  ph->RegisterProcess(radioactiveDecay, G4GenericIon::GenericIon());
104 
107 }
108 
109 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
110 
112 {
114 }
115 
116 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
static G4Geantino * GeantinoDefinition()
Definition: G4Geantino.cc:82
void SetThresholdOfHalfLife(G4double)
static G4Electron * ElectronDefinition()
Definition: G4Electron.cc:89
void ConstructParticle()
Definition: PhysicsList.cc:117
static G4Proton * ProtonDefinition()
Definition: G4Proton.cc:88
static void ConstructParticle()
G4bool RegisterProcess(G4VProcess *process, G4ParticleDefinition *particle)
static G4NeutrinoE * NeutrinoEDefinition()
Definition: G4NeutrinoE.cc:80
void SetARM(G4bool arm)
static const double second
Definition: G4SIunits.hh:156
void SetCuts()
Definition: PhysicsList.cc:219
static G4Positron * PositronDefinition()
Definition: G4Positron.cc:89
void SetLevelTolerance(G4double x)
static const double eV
Definition: G4SIunits.hh:212
static G4GenericIon * GenericIon()
Definition: G4GenericIon.cc:93
static G4PhysicsListHelper * GetPhysicsListHelper()
static G4NuclideTable * GetInstance()
static G4AntiNeutrinoE * AntiNeutrinoEDefinition()
double G4double
Definition: G4Types.hh:76
void ConstructProcess()
Definition: PhysicsList.cc:170
static G4Neutron * NeutronDefinition()
Definition: G4Neutron.cc:99
#define ns
Definition: xmlparse.cc:614
static G4Gamma * GammaDefinition()
Definition: G4Gamma.cc:81