Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LXeEMPhysics.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 #include "LXeEMPhysics.hh"
31 
32 #include "globals.hh"
33 #include "G4ios.hh"
34 #include <iomanip>
35 
36 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
37 
39  : G4VPhysicsConstructor(name)
40 {
41  fPhotoEffect = NULL;
42  fComptonEffect = NULL;
43  fPairProduction = NULL;
45  fElectronIonisation = NULL;
48  fPositronIonisation = NULL;
50  fAnnihilation = NULL;
51 }
52 
53 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
54 
56 
57 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
58 
59 #include "G4ParticleDefinition.hh"
60 #include "G4ParticleTable.hh"
61 
62 #include "G4Gamma.hh"
63 
64 #include "G4Electron.hh"
65 #include "G4Positron.hh"
66 
67 #include "G4NeutrinoE.hh"
68 #include "G4AntiNeutrinoE.hh"
69 
71 {
72  // gamma
74 
75  // electron
80 }
81 
82 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
83 
84 #include "G4ProcessManager.hh"
85 
87 {
91 
92  // Electron physics
96 
97  //Positron physics
102 
103  G4ProcessManager* pManager = 0;
104 
105  // Gamma Physics
106  pManager = G4Gamma::Gamma()->GetProcessManager();
107  pManager->AddDiscreteProcess(fPhotoEffect);
110 
111  // Electron Physics
112  pManager = G4Electron::Electron()->GetProcessManager();
113 
114  pManager->AddProcess(fElectronMultipleScattering, -1, 1, 1);
115  pManager->AddProcess(fElectronIonisation, -1, 2, 2);
116  pManager->AddProcess(fElectronBremsStrahlung, -1, 3, 3);
117 
118  //Positron Physics
119  pManager = G4Positron::Positron()->GetProcessManager();
120 
121  pManager->AddProcess(fPositronMultipleScattering, -1, 1, 1);
122  pManager->AddProcess(fPositronIonisation, -1, 2, 2);
123  pManager->AddProcess(fPositronBremsStrahlung, -1, 3, 3);
124  pManager->AddProcess(fAnnihilation, 0,-1, 4);
125 
126 }