Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 09:22:04

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 // Further documentation available from http://www.ge.infn.it/geant4/lowE
0041 
0042 // -------------------------------------------------------------------
0043 
0044 #ifndef G4RDAtomicDeexcitation_h
0045 #define G4RDAtomicDeexcitation_h 1
0046 
0047 #include "globals.hh"
0048 #include <vector>
0049 #include "G4DynamicParticle.hh"
0050 
0051 class G4RDAtomicDeexcitation {
0052 
0053 public:
0054 
0055   G4RDAtomicDeexcitation();
0056   ~G4RDAtomicDeexcitation();
0057   
0058   // Returns a vector contains the photons generated by radiative transitions
0059   // (non zero particles) or by non radiative transitions (zero particles)  
0060   std::vector<G4DynamicParticle*>* GenerateParticles(G4int Z, G4int shellId);
0061   
0062   void SetCutForSecondaryPhotons(G4double cut);
0063   // Set threshold energy for fluorescence 
0064 
0065   void SetCutForAugerElectrons(G4double cut);
0066   // Set threshold energy for Auger electron production
0067 
0068   void ActivateAugerElectronProduction(G4bool val);
0069   // Activate Auger electron production
0070 
0071 
0072 private:
0073   
0074   // Decides wether a radiative transition is possible and, if it is,
0075   // returns the identity of the starting shell for the transition
0076   G4int SelectTypeOfTransition(G4int Z, G4int shellId);
0077   
0078   // Generates a particle from a radiative transition and returns it
0079   G4DynamicParticle* GenerateFluorescence(G4int Z, G4int shellId,G4int provShellId);
0080  
0081   // Generates a particle from a non-radiative transition and returns it
0082   G4DynamicParticle* GenerateAuger(G4int Z, G4int shellId);
0083  
0084   // Data member which stores the shells to be filled by 
0085   // the radiative transition
0086   G4int newShellId;
0087 
0088   G4double minGammaEnergy;
0089   G4double minElectronEnergy;
0090   G4bool   fAuger;
0091 
0092   // Data member wich stores the id of the shell where is the vacancy 
0093   // left from the Auger electron
0094   G4int augerVacancyId;
0095  
0096 };
0097 
0098 #endif
0099 
0100 
0101 
0102