source: trunk/source/processes/electromagnetic/utils/include/G4VAtomDeexcitation.hh @ 1337

Last change on this file since 1337 was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

  • Property svn:executable set to *
File size: 4.9 KB
Line 
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: G4VAtomDeexcitation.hh,v 1.3 2010/03/30 09:19:56 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-04-beta-01 $
28//
29// -------------------------------------------------------------------
30//
31// GEANT4 Class header file
32//
33//
34// File name:     G4VAtomDeexcitation
35//
36// Author:        Alfonso Mantero & Vladimir Ivanchenko
37//
38// Creation date: 30.06.2009
39//
40// Modifications:
41//
42// Class Description:
43//
44// Abstract interface to energy loss models
45
46// -------------------------------------------------------------------
47//
48
49#ifndef G4VAtomDeexcitation_h
50#define G4VAtomDeexcitation_h 1
51
52#include "globals.hh"
53#include <vector>
54
55class G4AtomicShell;
56class G4ParticleDefinition;
57class G4DynamicParticle;
58
59class G4VAtomDeexcitation {
60
61  G4VAtomDeexcitation(const G4String& pname = "");
62
63  virtual ~G4VAtomDeexcitation();
64
65  //========== initialization ==========
66
67  virtual void PreparePhysicsTable(const G4ParticleDefinition&);
68  virtual void BuildPhysicsTable(const G4ParticleDefinition&);
69
70  // PIXE model name
71  inline void SetPIXECrossSectionModel(const G4String&);
72  inline const G4String& PIXECrossSectionModel() const;
73
74  // Activation of deexcitation per detector region
75  void SetFluorescenceActiveRegion(const G4Region* region = 0);
76  void SetAugerActiveRegion(const G4Region* region = 0);
77  void SetPIXECrossSectionActiveRegion(const G4Region* region = 0); 
78
79  void SetFluorescenceActiveRegion(const G4String& rname = "");
80  void SetAugerActiveRegion(const G4String& rname = "");
81  void SetPIXECrossSectionActiveRegion(const G4String& rname = ""); 
82
83  //========== Run time methods ==========
84
85  // Check if deexcitation is active for a given geometry volume
86  G4bool CheckFluorescenceActiveRegion(G4int coupleIndex);
87
88  // Check if deexcitation is active for a given geometry volume
89  G4bool CheckPIXEActiveRegion(G4int coupleIndex);
90
91  // Get atomic shell by shell index, used by discrete processes
92  // (for example, photoelectric), when shell vacancy sampled by the model
93  const G4AtomicShell* GetAtomicShell(G4int Z, G4int ShellIndex);
94
95  // selection of random shell for ionisation process
96  virtual const G4AtomicShell* SelectRandomShell(const G4DynamicParticle*, 
97                                                 G4int Z);
98
99  // generation of deexcitation for given atom and shell vacancy
100  virtual void GenerateParticles(std::vector<G4DynamicParticle*>*, 
101                                 const G4AtomicShell*, G4int Z) = 0;
102
103  // access or compute PIXE cross section
104  virtual G4double GetPIXECrossSection (const G4ParticleDefinition*, 
105                                        G4int Z, G4double kinE) = 0;
106
107  // calculate PIXE cross section from the models
108  virtual G4double CalculatePIXECrossSection(const G4ParticleDefinition*,
109                                             G4int Z, G4double kinE) = 0;
110
111  // Sampling of PIXE for ionisation processes
112  virtual void 
113  AlongStepDeexcitation(std::vector<G4DynamicParticle*>* secVect, 
114                        const G4DynamicParticle* icidentParticle, 
115                        const G4MaterialCutsCouple*, 
116                        G4double trueStepLenght, 
117                        G4double eLoss) = 0;
118
119
120
121private:
122
123  // copy constructor and hide assignment operator
124  G4VAtomDeexcitation(G4VAtomDeexcitation &);
125  G4VAtomDeexcitation & operator=(const G4VAtomDeexcitation &right);
126
127  G4String namePIXE;
128
129};
130
131inline 
132void G4VAtomDeexcitation::SetPIXECrossSectionModel(const G4String& n)
133{
134  namePIXE = n;
135}
136
137inline 
138const G4String& G4VAtomDeexcitation::PIXECrossSectionModel() const
139{
140  return namePIXE;
141}
142
143#endif
144
Note: See TracBrowser for help on using the repository browser.