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-04-00 $ 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 "g4std/vector" >> 48 #include "G4AtomicTransitionManager.hh" 47 #include "G4DynamicParticle.hh" 49 #include "G4DynamicParticle.hh" 48 50 49 class G4AtomicDeexcitation { 51 class G4AtomicDeexcitation { >> 52 50 public: 53 public: 51 ///constructor << 54 52 explicit G4AtomicDeexcitation(); << 55 G4AtomicDeexcitation(); 53 ~G4AtomicDeexcitation(); 56 ~G4AtomicDeexcitation(); 54 57 55 /// Returns a vector contains the photons ge << 58 // Returns a vector contains the photons generated by radiative transitions 56 /// (non zero particles) or by non radiative << 59 // (non zero particles) or by non radiative transitions (zero particles) 57 std::vector<G4DynamicParticle*>* GeneratePar << 60 G4std::vector<G4DynamicParticle*>* GenerateParticles(G4int Z, G4int shellId); 58 61 59 void SetCutForSecondaryPhotons(G4double cut) << 62 private: 60 /// Set threshold energy for fluorescence << 63 61 << 64 // Decides wether a radiative transition is possible and, if it is, 62 void SetCutForAugerElectrons(G4double cut); << 65 // returns the identity of the starting shell for the transition 63 /// Set threshold energy for Auger electron << 66 const G4int SelectTypeOfTransition(G4int Z, G4int shellId); 64 << 65 void ActivateAugerElectronProduction(G4bool << 66 /// Activate Auger electron production << 67 << 68 << 69 private: << 70 /// Decides wether a radiative transition is << 71 /// returns the identity of the starting she << 72 G4int SelectTypeOfTransition(G4int Z, G4int << 73 67 74 /// Generates a particle from a radiative tr << 68 // Generates a particle from a radiative transition and returns it 75 G4DynamicParticle* GenerateFluorescence(G4in 69 G4DynamicParticle* GenerateFluorescence(G4int Z, G4int shellId,G4int provShellId); 76 70 77 /// Generates a particle from a non-radiativ << 71 // Dummy function: when invowed returns a null pointer 78 G4DynamicParticle* GenerateAuger(G4int Z, G4 72 G4DynamicParticle* GenerateAuger(G4int Z, G4int shellId); 79 73 80 G4double minGammaEnergy; << 74 // Data member which stores the shells to be filled by 81 G4double minElectronEnergy; << 75 // the radiative transition 82 << 83 /// Data member which stores the shells to b << 84 /// the radiative transition << 85 G4int newShellId; 76 G4int newShellId; 86 << 77 87 /// Data member wich stores the id of the sh << 88 /// left from the Auger electron << 89 G4int augerVacancyId; << 90 << 91 G4bool fAuger; << 92 }; 78 }; 93 79 94 #endif 80 #endif 95 81 96 82 97 83 98 84 99 85