|
||||
File indexing completed on 2025-01-18 09:58:34
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 // 0032 // File name: G4KleinNishinaModel 0033 // 0034 // Author: Vladimir Ivanchenko on base of G4KleinNishinaCompton 0035 // 0036 // Creation date: 13.06.2010 0037 // 0038 // Modifications: 0039 // 0040 // Class Description: 0041 // 0042 // Implementation of gamma Compton scattering with atomic effects 0043 // 0044 0045 // ------------------------------------------------------------------- 0046 // 0047 0048 #ifndef G4KleinNishinaModel_h 0049 #define G4KleinNishinaModel_h 1 0050 0051 #include "G4VEmModel.hh" 0052 #include "G4LorentzVector.hh" 0053 #include <vector> 0054 0055 class G4ParticleChangeForGamma; 0056 class G4VAtomDeexcitation; 0057 0058 class G4KleinNishinaModel : public G4VEmModel 0059 { 0060 0061 public: 0062 0063 explicit G4KleinNishinaModel(const G4String& nam = "KleinNishina"); 0064 0065 ~G4KleinNishinaModel() override; 0066 0067 void Initialise(const G4ParticleDefinition*, const G4DataVector&) override; 0068 0069 void InitialiseLocal(const G4ParticleDefinition*, 0070 G4VEmModel* masterModel) override; 0071 0072 G4double ComputeCrossSectionPerAtom( 0073 const G4ParticleDefinition*, 0074 G4double kinEnergy, 0075 G4double Z, 0076 G4double A, 0077 G4double cut, 0078 G4double emax) override; 0079 0080 void SampleSecondaries(std::vector<G4DynamicParticle*>*, 0081 const G4MaterialCutsCouple*, 0082 const G4DynamicParticle*, 0083 G4double tmin, 0084 G4double maxEnergy) override; 0085 0086 // hide assignment operator 0087 G4KleinNishinaModel & operator=(const G4KleinNishinaModel &right) = delete; 0088 G4KleinNishinaModel(const G4KleinNishinaModel&) = delete; 0089 0090 protected: 0091 0092 G4ParticleDefinition* theGamma; 0093 G4ParticleDefinition* theElectron; 0094 G4ParticleChangeForGamma* fParticleChange; 0095 G4double lowestSecondaryEnergy; 0096 0097 private: 0098 0099 G4LorentzVector lv1, lv2; 0100 G4ThreeVector bst; 0101 0102 G4VAtomDeexcitation* fAtomDeexcitation; 0103 G4double limitFactor; 0104 std::vector<G4double> fProbabilities; 0105 }; 0106 0107 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 0108 0109 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |