Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer << 3 // * DISCLAIMER * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th << 5 // * The following disclaimer summarizes all the specific disclaimers * 6 // * the Geant4 Collaboration. It is provided << 6 // * of contributors to this software. The specific disclaimers,which * 7 // * conditions of the Geant4 Software License << 7 // * govern, are listed with their locations in: * 8 // * LICENSE and available at http://cern.ch/ << 8 // * http://cern.ch/geant4/license * 9 // * include a list of copyright holders. << 10 // * 9 // * * 11 // * Neither the authors of this software syst 10 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 11 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 12 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 13 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file << 14 // * use. * 16 // * for the full disclaimer and the limitatio << 17 // * 15 // * * 18 // * This code implementation is the result << 16 // * This code implementation is the intellectual property of the * 19 // * technical work of the GEANT4 collaboratio << 17 // * GEANT4 collaboration. * 20 // * By using, copying, modifying or distri << 18 // * By copying, distributing or modifying the Program (or any work * 21 // * any work based on the software) you ag << 19 // * based on the Program) you indicate your acceptance of this * 22 // * use in resulting scientific publicati << 20 // * statement, and all its terms. * 23 // * acceptance of all terms of the Geant4 Sof << 24 // ******************************************* 21 // ******************************************************************** 25 // 22 // 26 // 23 // >> 24 // $Id: G4AtomicTransitionManager.hh,v 1.2 ???? >> 25 // GEANT4 tag $Name: geant4-05-02-patch-01 $ 27 // 26 // 28 // Authors: Elena Guardincerri (Elena.Guardinc 27 // Authors: Elena Guardincerri (Elena.Guardincerri@ge.infn.it) 29 // Alfonso Mantero (Alfonso.Mantero@g 28 // Alfonso Mantero (Alfonso.Mantero@ge.infn.it) 30 // 29 // 31 // History: 30 // History: 32 // ----------- 31 // ----------- 33 // 32 // 34 // 16 Sept 2001 First committed to cvs 33 // 16 Sept 2001 First committed to cvs 35 // 34 // 36 // ------------------------------------------- 35 // ------------------------------------------------------------------- 37 36 38 // Class description: 37 // Class description: 39 // Low Energy Electromagnetic Physics, managem 38 // Low Energy Electromagnetic Physics, management of atomic deexcitation >> 39 // Further documentation available from http://www.ge.infn.it/geant4/lowE >> 40 40 // ------------------------------------------- 41 // ------------------------------------------------------------------- 41 42 42 #ifndef G4AtomicDeexcitation_h 43 #ifndef G4AtomicDeexcitation_h 43 #define G4AtomicDeexcitation_h 1 44 #define G4AtomicDeexcitation_h 1 44 45 45 #include "globals.hh" 46 #include "globals.hh" 46 #include <vector> 47 #include <vector> 47 #include "G4DynamicParticle.hh" 48 #include "G4DynamicParticle.hh" 48 49 49 class G4AtomicDeexcitation { 50 class G4AtomicDeexcitation { >> 51 50 public: 52 public: 51 ///constructor << 53 52 explicit G4AtomicDeexcitation(); << 54 G4AtomicDeexcitation(); 53 ~G4AtomicDeexcitation(); 55 ~G4AtomicDeexcitation(); 54 56 55 /// Returns a vector contains the photons ge << 57 // Returns a vector contains the photons generated by radiative transitions 56 /// (non zero particles) or by non radiative << 58 // (non zero particles) or by non radiative transitions (zero particles) 57 std::vector<G4DynamicParticle*>* GeneratePar 59 std::vector<G4DynamicParticle*>* GenerateParticles(G4int Z, G4int shellId); 58 60 59 void SetCutForSecondaryPhotons(G4double cut) 61 void SetCutForSecondaryPhotons(G4double cut); 60 /// Set threshold energy for fluorescence << 62 // Set threshold energy for fluorescence 61 63 62 void SetCutForAugerElectrons(G4double cut); 64 void SetCutForAugerElectrons(G4double cut); 63 /// Set threshold energy for Auger electron << 65 // Set threshold energy for Auger electron production 64 66 65 void ActivateAugerElectronProduction(G4bool 67 void ActivateAugerElectronProduction(G4bool val); 66 /// Activate Auger electron production << 68 // Activate Auger electron production 67 69 68 70 69 private: << 71 private: 70 /// Decides wether a radiative transition is << 71 /// returns the identity of the starting she << 72 G4int SelectTypeOfTransition(G4int Z, G4int << 73 72 74 /// Generates a particle from a radiative tr << 73 // Decides wether a radiative transition is possible and, if it is, >> 74 // returns the identity of the starting shell for the transition >> 75 const G4int SelectTypeOfTransition(G4int Z, G4int shellId); >> 76 >> 77 // Generates a particle from a radiative transition and returns it 75 G4DynamicParticle* GenerateFluorescence(G4in 78 G4DynamicParticle* GenerateFluorescence(G4int Z, G4int shellId,G4int provShellId); 76 79 77 /// Generates a particle from a non-radiativ << 80 // Dummy function: when invowed returns a null pointer 78 G4DynamicParticle* GenerateAuger(G4int Z, G4 81 G4DynamicParticle* GenerateAuger(G4int Z, G4int shellId); 79 82 >> 83 // Data member which stores the shells to be filled by >> 84 // the radiative transition >> 85 G4int newShellId; >> 86 80 G4double minGammaEnergy; 87 G4double minGammaEnergy; 81 G4double minElectronEnergy; 88 G4double minElectronEnergy; >> 89 G4bool fAuger; 82 90 83 /// Data member which stores the shells to b << 91 // Data member wich stores the id of the shell where is the vacancy 84 /// the radiative transition << 92 // left from the Auger electron 85 G4int newShellId; << 86 << 87 /// Data member wich stores the id of the sh << 88 /// left from the Auger electron << 89 G4int augerVacancyId; 93 G4int augerVacancyId; 90 << 94 91 G4bool fAuger; << 92 }; 95 }; 93 96 94 #endif 97 #endif 95 98 96 99 97 100 98 101 99 102