Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:57:56

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 //
0028 // Authors: Elena Guardincerri (Elena.Guardincerri@ge.infn.it)
0029 //          Alfonso Mantero (Alfonso.Mantero@ge.infn.it)
0030 //
0031 // History:
0032 // -----------
0033 //  
0034 //  16 Sept 2001  First committed to cvs
0035 //
0036 // -------------------------------------------------------------------
0037 
0038 // Class description:
0039 // Low Energy Electromagnetic Physics, management of atomic deexcitation
0040 // -------------------------------------------------------------------
0041 
0042 #ifndef G4AtomicDeexcitation_h
0043 #define G4AtomicDeexcitation_h 1
0044 
0045 #include "globals.hh"
0046 #include <vector>
0047 #include "G4DynamicParticle.hh"
0048 
0049 class G4AtomicDeexcitation {
0050 public:
0051   ///constructor
0052   explicit G4AtomicDeexcitation();
0053   ~G4AtomicDeexcitation();
0054   
0055   /// Returns a vector contains the photons generated by radiative transitions
0056   /// (non zero particles) or by non radiative transitions (zero particles)  
0057   std::vector<G4DynamicParticle*>* GenerateParticles(G4int Z, G4int shellId);
0058   
0059   void SetCutForSecondaryPhotons(G4double cut);
0060   /// Set threshold energy for fluorescence 
0061 
0062   void SetCutForAugerElectrons(G4double cut);
0063   /// Set threshold energy for Auger electron production
0064 
0065   void ActivateAugerElectronProduction(G4bool val);
0066   /// Activate Auger electron production
0067 
0068 
0069 private:  
0070   /// Decides wether a radiative transition is possible and, if it is,
0071   /// returns the identity of the starting shell for the transition
0072   G4int SelectTypeOfTransition(G4int Z, G4int shellId);
0073   
0074   /// Generates a particle from a radiative transition and returns it
0075   G4DynamicParticle* GenerateFluorescence(G4int Z, G4int shellId,G4int provShellId);
0076  
0077   /// Generates a particle from a non-radiative transition and returns it
0078   G4DynamicParticle* GenerateAuger(G4int Z, G4int shellId);
0079  
0080   G4double minGammaEnergy;
0081   G4double minElectronEnergy;
0082 
0083   /// Data member which stores the shells to be filled by 
0084   /// the radiative transition
0085   G4int newShellId;
0086 
0087   /// Data member wich stores the id of the shell where is the vacancy 
0088   /// left from the Auger electron
0089   G4int augerVacancyId;
0090 
0091   G4bool   fAuger; 
0092 };
0093 
0094 #endif
0095 
0096 
0097 
0098