Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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$
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 "G4UAtomicDeexcitation.hh"
42 #include "G4LossTableManager.hh"
43 #include "G4SystemOfUnits.hh"
44 
45 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
46 
49 {
50  //add new units for radioActive decays
51  //
52  const G4double minute = 60*second;
53  const G4double hour = 60*minute;
54  const G4double day = 24*hour;
55  const G4double year = 365*day;
56  new G4UnitDefinition("minute", "min", "Time", minute);
57  new G4UnitDefinition("hour", "h", "Time", hour);
58  new G4UnitDefinition("day", "d", "Time", day);
59  new G4UnitDefinition("year", "y", "Time", year);
60 }
61 
62 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
63 
65 { }
66 
67 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
68 
70 {
71  // pseudo-particles
73 
74  // gamma
76 
77  // leptons
80 
83 
84  // baryons
87 
88  // ions
89  G4IonConstructor iConstructor;
90  iConstructor.ConstructParticle();
91 }
92 
93 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
94 
96 {
98 
99  G4RadioactiveDecay* radioactiveDecay = new G4RadioactiveDecay();
100  radioactiveDecay->SetHLThreshold(-1.*s);
101  radioactiveDecay->SetICM(true); //Internal Conversion
102  radioactiveDecay->SetARM(false); //Atomic Rearangement
103 
105  ph->RegisterProcess(radioactiveDecay, G4GenericIon::GenericIon());
106 
107  // Deexcitation (in case of Atomic Rearangement)
108  //
110  de->SetFluo(true);
111  de->SetAuger(true);
112  de->SetPIXE(false);
114 }
115 
116 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
117 
119 {
121 }
122 
123 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......