[819] | 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 | // |
---|
| 27 | // $Id: G4AtomicTransitionManager.hh,v 1.2 ???? |
---|
| 28 | // GEANT4 tag $Name: $ |
---|
| 29 | // |
---|
| 30 | // Authors: Elena Guardincerri (Elena.Guardincerri@ge.infn.it) |
---|
| 31 | // Alfonso Mantero (Alfonso.Mantero@ge.infn.it) |
---|
| 32 | // |
---|
| 33 | // History: |
---|
| 34 | // ----------- |
---|
| 35 | // |
---|
| 36 | // 16 Sept 2001 First committed to cvs |
---|
| 37 | // |
---|
| 38 | // ------------------------------------------------------------------- |
---|
| 39 | |
---|
| 40 | // Class description: |
---|
| 41 | // Low Energy Electromagnetic Physics, management of atomic deexcitation |
---|
| 42 | // Further documentation available from http://www.ge.infn.it/geant4/lowE |
---|
| 43 | |
---|
| 44 | // ------------------------------------------------------------------- |
---|
| 45 | |
---|
| 46 | #ifndef G4AtomicDeexcitation_h |
---|
| 47 | #define G4AtomicDeexcitation_h 1 |
---|
| 48 | |
---|
| 49 | #include "globals.hh" |
---|
| 50 | #include <vector> |
---|
| 51 | #include "G4DynamicParticle.hh" |
---|
| 52 | |
---|
| 53 | class G4AtomicDeexcitation { |
---|
| 54 | |
---|
| 55 | public: |
---|
| 56 | |
---|
| 57 | G4AtomicDeexcitation(); |
---|
| 58 | ~G4AtomicDeexcitation(); |
---|
| 59 | |
---|
| 60 | // Returns a vector contains the photons generated by radiative transitions |
---|
| 61 | // (non zero particles) or by non radiative transitions (zero particles) |
---|
| 62 | std::vector<G4DynamicParticle*>* GenerateParticles(G4int Z, G4int shellId); |
---|
| 63 | |
---|
| 64 | void SetCutForSecondaryPhotons(G4double cut); |
---|
| 65 | // Set threshold energy for fluorescence |
---|
| 66 | |
---|
| 67 | void SetCutForAugerElectrons(G4double cut); |
---|
| 68 | // Set threshold energy for Auger electron production |
---|
| 69 | |
---|
| 70 | void ActivateAugerElectronProduction(G4bool val); |
---|
| 71 | // Activate Auger electron production |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | private: |
---|
| 75 | |
---|
| 76 | // Decides wether a radiative transition is possible and, if it is, |
---|
| 77 | // returns the identity of the starting shell for the transition |
---|
| 78 | G4int SelectTypeOfTransition(G4int Z, G4int shellId); |
---|
| 79 | |
---|
| 80 | // Generates a particle from a radiative transition and returns it |
---|
| 81 | G4DynamicParticle* GenerateFluorescence(G4int Z, G4int shellId,G4int provShellId); |
---|
| 82 | |
---|
| 83 | // Generates a particle from a non-radiative transition and returns it |
---|
| 84 | G4DynamicParticle* GenerateAuger(G4int Z, G4int shellId); |
---|
| 85 | |
---|
| 86 | // Data member which stores the shells to be filled by |
---|
| 87 | // the radiative transition |
---|
| 88 | G4int newShellId; |
---|
| 89 | |
---|
| 90 | G4double minGammaEnergy; |
---|
| 91 | G4double minElectronEnergy; |
---|
| 92 | G4bool fAuger; |
---|
| 93 | |
---|
| 94 | // Data member wich stores the id of the shell where is the vacancy |
---|
| 95 | // left from the Auger electron |
---|
| 96 | G4int augerVacancyId; |
---|
| 97 | |
---|
| 98 | }; |
---|
| 99 | |
---|
| 100 | #endif |
---|
| 101 | |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | |
---|