|
||||
File indexing completed on 2025-01-18 09:58:12
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 // 0029 // GEANT4 Class header file 0030 // 0031 // File name: G4EmCaptureCascade 0032 // 0033 // Author: V.Ivanchenko (Vladimir.Ivantchenko@cern.ch) 0034 // 0035 // Creation date: 22 April 2012 on base of G4MuMinusCaptureCascade 0036 // 0037 // Class Description: 0038 // 0039 // Simulation of electromagnetic cascade from capture level to K-shell 0040 // of the mesonic atom 0041 // 0042 // Probabilities of gamma and Auger transitions from 0043 // N.C.Mukhopadhyay Phys. Rep. 30 (1977) 1. 0044 // 0045 //----------------------------------------------------------------------------- 0046 // 0047 // Modifications: 0048 // 0049 //----------------------------------------------------------------------------- 0050 0051 #ifndef G4EmCaptureCascade_h 0052 #define G4EmCaptureCascade_h 1 0053 0054 #include "globals.hh" 0055 #include "G4Nucleus.hh" 0056 #include "G4Track.hh" 0057 #include "G4HadProjectile.hh" 0058 #include "G4HadSecondary.hh" 0059 #include "G4HadFinalState.hh" 0060 #include "G4HadronicInteraction.hh" 0061 #include "G4RandomDirection.hh" 0062 #include "G4ParticleDefinition.hh" 0063 #include "G4DynamicParticle.hh" 0064 #include "G4ThreeVector.hh" 0065 0066 class G4EmCaptureCascade : public G4HadronicInteraction 0067 { 0068 public: 0069 0070 explicit G4EmCaptureCascade(); 0071 0072 virtual ~G4EmCaptureCascade(); 0073 0074 virtual G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, 0075 G4Nucleus & targetNucleus ); 0076 0077 virtual void ModelDescription(std::ostream& outFile) const; 0078 0079 private: 0080 0081 inline void AddNewParticle(G4ParticleDefinition* aParticle, 0082 G4double kinEnergy); 0083 0084 // hide assignment operator as private 0085 G4EmCaptureCascade& operator=(const G4EmCaptureCascade &right) = delete; 0086 G4EmCaptureCascade(const G4EmCaptureCascade& ) = delete; 0087 0088 G4HadFinalState result; 0089 G4ParticleDefinition* theElectron; 0090 G4ParticleDefinition* theGamma; 0091 G4double fMuMass; 0092 G4double fTime; 0093 G4double fLevelEnergy[14]; 0094 G4double fKLevelEnergy[93]; 0095 }; 0096 0097 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 0098 0099 inline void 0100 G4EmCaptureCascade::AddNewParticle(G4ParticleDefinition* aParticle, 0101 G4double kinEnergy) 0102 { 0103 G4DynamicParticle* dp = new G4DynamicParticle(aParticle, 0104 G4RandomDirection(), 0105 kinEnergy); 0106 G4HadSecondary hs(dp); 0107 hs.SetTime(fTime); 0108 result.AddSecondary(hs); 0109 } 0110 0111 #endif 0112 0113
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |