Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4UAtomicDeexcitation.hh
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 // $Id: G4UAtomicDeexcitation.cc,v 1.11
27 //
28 // -------------------------------------------------------------------
29 //
30 // Geant4 Header G4UAtomicDeexcitation
31 //
32 // Authors: Alfonso Mantero (Alfonso.Mantero@ge.infn.it)
33 //
34 // Created 22 April 2010 from old G4AtomicDeexcitation class
35 //
36 // Modified:
37 // ---------
38 //
39 //
40 // -------------------------------------------------------------------
41 //
42 // Class description:
43 // Implementation of atomic deexcitation
44 //
45 // -------------------------------------------------------------------
46 
47 #ifndef G4UAtomicDeexcitation_h
48 #define G4UAtomicDeexcitation_h 1
49 
50 #include "G4VAtomDeexcitation.hh"
51 #include "G4AtomicShell.hh"
52 #include "globals.hh"
53 #include "G4DynamicParticle.hh"
54 #include <vector>
55 
58 class G4EmCorrections;
59 class G4Material;
60 
62 {
63 public:
64 
66  virtual ~G4UAtomicDeexcitation();
67 
68  //=================================================================
69  // methods that are requested to be implemented by the interface
70  //=================================================================
71 
72  // initialisation methods
73  virtual void InitialiseForNewRun();
74  virtual void InitialiseForExtraAtom(G4int Z);
75 
76 
77  // Set threshold energy for fluorescence
79 
80  // Set threshold energy for Auger electron production
82 
83 
84  // Get atomic shell by shell index, used by discrete processes
85  // (for example, photoelectric), when shell vacancy sampled by the model
86  virtual
89 
90  // generation of deexcitation for given atom, shell vacancy and cuts
91  virtual void GenerateParticles(std::vector<G4DynamicParticle*>* secVect,
92  const G4AtomicShell*,
93  G4int Z,
94  G4double gammaCut,
95  G4double eCut);
96 
97  // access or compute PIXE cross section
98  virtual
100  G4int Z,
102  G4double kinE,
103  const G4Material* mat = 0);
104 
105  // access or compute PIXE cross section
106  virtual
108  G4int Z,
110  G4double kinE,
111  const G4Material* mat = 0);
112 
113  //=================================================================
114  // concrete methods of the deextation class
115  //=================================================================
116 
117 private:
118 
119  // Decides wether a radiative transition is possible and, if it is,
120  // returns the identity of the starting shell for the transition
121  G4int SelectTypeOfTransition(G4int Z, G4int shellId);
122 
123  // Generates a particle from a radiative transition and returns it
124  G4DynamicParticle* GenerateFluorescence(G4int Z, G4int shellId,
125  G4int provShellId);
126 
127  // Generates a particle from a non-radiative transition and returns it
128  G4DynamicParticle* GenerateAuger(G4int Z, G4int shellId);
129 
130  //SI
131  //Auger cascade by Burkhant Suerfu on March 24 2015 (Bugzilla 1727)
132  //Generates auger electron cascade.
133  G4DynamicParticle* GenerateAuger(G4int Z, G4int shellId, G4int& newAugerShellId);
134  //ENDSI
135 
136  // copy constructor and hide assignment operator
139 
140  G4AtomicTransitionManager* transitionManager;
141 
142  // Data member which stores the shells to be filled by
143  // the radiative transition
144  G4int newShellId;
145 
146  G4double minGammaEnergy;
147  G4double minElectronEnergy;
148 
149  // Data member wich stores the id of the shell where is the vacancy
150  // left from the Auger electron
151  G4int augerVacancyId;
152 
153  // Data member for the calculation of the proton and alpha ionisation XS
154 
155  G4VhShellCrossSection* PIXEshellCS;
156  G4VhShellCrossSection* anaPIXEshellCS;
157  G4VhShellCrossSection* ePIXEshellCS;
158  G4EmCorrections* emcorr;
159 
160  const G4ParticleDefinition* theElectron;
161  const G4ParticleDefinition* thePositron;
162 
163  //SI
164  //Auger cascade by Burkhant Suerfu on March 24 2015 (Bugzilla 1727)
165  //Data member to keep track of cascading vacancies.
166  std::vector<int> vacancyArray;
167  //ENDSI
168 };
169 
170 #endif
171 
172 
173 
174 
virtual G4double GetShellIonisationCrossSectionPerAtom(const G4ParticleDefinition *, G4int Z, G4AtomicShellEnumerator shell, G4double kinE, const G4Material *mat=0)
virtual void InitialiseForExtraAtom(G4int Z)
virtual G4double ComputeShellIonisationCrossSectionPerAtom(const G4ParticleDefinition *, G4int Z, G4AtomicShellEnumerator shell, G4double kinE, const G4Material *mat=0)
int G4int
Definition: G4Types.hh:78
virtual void InitialiseForNewRun()
void SetCutForSecondaryPhotons(G4double cut)
void SetCutForAugerElectrons(G4double cut)
virtual const G4AtomicShell * GetAtomicShell(G4int Z, G4AtomicShellEnumerator shell)
double G4double
Definition: G4Types.hh:76
virtual void GenerateParticles(std::vector< G4DynamicParticle * > *secVect, const G4AtomicShell *, G4int Z, G4double gammaCut, G4double eCut)
G4AtomicShellEnumerator