G4UAtomicDeexcitation.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 // $Id: G4UAtomicDeexcitation.cc,v 1.11 
00027 // GEANT4 tag $Name: not supported by cvs2svn $
00028 //
00029 // -------------------------------------------------------------------
00030 //
00031 // Geant4 Header G4UAtomicDeexcitation
00032 //  
00033 // Authors: Alfonso Mantero (Alfonso.Mantero@ge.infn.it)
00034 //
00035 // Created 22 April 2010 from old G4AtomicDeexcitation class 
00036 //
00037 // Modified:
00038 // ---------
00039 //  
00040 //
00041 // -------------------------------------------------------------------
00042 //
00043 // Class description:
00044 // Implementation of atomic deexcitation 
00045 //
00046 // -------------------------------------------------------------------
00047 
00048 #ifndef G4UAtomicDeexcitation_h
00049 #define G4UAtomicDeexcitation_h 1
00050 
00051 #include "G4VAtomDeexcitation.hh"
00052 #include "G4AtomicShell.hh"
00053 #include "globals.hh"
00054 #include "G4DynamicParticle.hh"
00055 #include <vector>
00056 
00057 class G4AtomicTransitionManager;
00058 class G4VhShellCrossSection;
00059 class G4EmCorrections;
00060 class G4Material;
00061 
00062 class G4UAtomicDeexcitation : public G4VAtomDeexcitation
00063 {  
00064 public: 
00065   
00066   G4UAtomicDeexcitation();
00067   virtual ~G4UAtomicDeexcitation();
00068    
00069   //=================================================================
00070   // methods that are requested to be implemented by the interface
00071   //=================================================================
00072 
00073   // initialisation methods
00074   virtual void InitialiseForNewRun();
00075   virtual void InitialiseForExtraAtom(G4int Z);
00076 
00077 
00078   // Set threshold energy for fluorescence 
00079   void SetCutForSecondaryPhotons(G4double cut);
00080 
00081   // Set threshold energy for Auger electron production
00082   void SetCutForAugerElectrons(G4double cut);
00083   
00084 
00085   // Get atomic shell by shell index, used by discrete processes 
00086   // (for example, photoelectric), when shell vacancy sampled by the model
00087   virtual 
00088   const G4AtomicShell* GetAtomicShell(G4int Z, 
00089                                       G4AtomicShellEnumerator shell);
00090 
00091   // generation of deexcitation for given atom, shell vacancy and cuts
00092   virtual void GenerateParticles(std::vector<G4DynamicParticle*>* secVect,  
00093                                  const G4AtomicShell*, 
00094                                  G4int Z,
00095                                  G4double gammaCut,
00096                                  G4double eCut);
00097 
00098   //  access or compute PIXE cross section 
00099   virtual
00100   G4double GetShellIonisationCrossSectionPerAtom(const G4ParticleDefinition*, 
00101                                                  G4int Z, 
00102                                                  G4AtomicShellEnumerator shell,
00103                                                  G4double kinE,
00104                                                  const G4Material* mat = 0);
00105 
00106   //  access or compute PIXE cross section 
00107   virtual
00108   G4double ComputeShellIonisationCrossSectionPerAtom(const G4ParticleDefinition*, 
00109                                                      G4int Z, 
00110                                                      G4AtomicShellEnumerator shell,
00111                                                      G4double kinE,
00112                                                      const G4Material* mat = 0);
00113 
00114   //=================================================================
00115   // concrete methods of the deextation class
00116   //=================================================================
00117 
00118 private:
00119 
00120   // Decides wether a radiative transition is possible and, if it is,
00121   // returns the identity of the starting shell for the transition
00122   G4int SelectTypeOfTransition(G4int Z, G4int shellId);
00123   
00124   // Generates a particle from a radiative transition and returns it
00125   G4DynamicParticle* GenerateFluorescence(G4int Z, G4int shellId, 
00126                                           G4int provShellId);
00127  
00128   // Generates a particle from a non-radiative transition and returns it
00129   G4DynamicParticle* GenerateAuger(G4int Z, G4int shellId);
00130 
00131   // copy constructor and hide assignment operator
00132   G4UAtomicDeexcitation(G4UAtomicDeexcitation &);
00133   G4UAtomicDeexcitation & operator=(const G4UAtomicDeexcitation &right);
00134 
00135   const G4AtomicTransitionManager* transitionManager;
00136  
00137   // Data member which stores the shells to be filled by 
00138   // the radiative transition
00139   G4int newShellId;
00140 
00141   G4double minGammaEnergy;
00142   G4double minElectronEnergy;
00143 
00144   // Data member wich stores the id of the shell where is the vacancy 
00145   // left from the Auger electron
00146   G4int augerVacancyId;
00147 
00148   // Data member for the calculation of the proton and alpha ionisation XS
00149 
00150   G4VhShellCrossSection* PIXEshellCS;
00151   G4VhShellCrossSection* anaPIXEshellCS;
00152   G4VhShellCrossSection* ePIXEshellCS;
00153   G4EmCorrections*       emcorr;
00154 
00155   const G4ParticleDefinition* theElectron;
00156   const G4ParticleDefinition* thePositron;
00157 };
00158 
00159 #endif
00160 
00161 
00162 
00163 

Generated on Mon May 27 17:50:05 2013 for Geant4 by  doxygen 1.4.7