|
||||
File indexing completed on 2025-01-31 09:22:05
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 file 0030 // 0031 // 0032 // File name: G4EBremsstrahlungSpectrum 0033 // 0034 // Author: V.Ivanchenko (Vladimir.Ivantchenko@cern.ch) 0035 // 0036 // Creation date: 27 September 2001 0037 // 0038 // Modifications: 0039 // 10.10.01 MGP Revision to improve code quality and consistency with design 0040 // 29.11.01 V.Ivanchenko Parametrisation is updated 0041 // 21.02.03 V.Ivanchenko Energy bins are defined in the constructor 0042 // 28.02.03 V.Ivanchenko Filename is defined in the constructor 0043 // 25.05.03 MGP Data member xp contained by value, not a reference 0044 // 0045 // ------------------------------------------------------------------- 0046 0047 // Class Description: 0048 // Provides various integration over gamma spectrum of e- Bremsstrahlung. 0049 // Parametrisation is described in Physics Reference Manual based on 0050 // data from EEDL database. 0051 // Further documentation available from http://www.ge.infn.it/geant4/lowE 0052 0053 // ------------------------------------------------------------------- 0054 0055 #ifndef G4RDEBREMSSTRAHLUNGSPECTRUM_HH 0056 #define G4RDEBREMSSTRAHLUNGSPECTRUM_HH 1 0057 0058 #include "globals.hh" 0059 #include "G4DataVector.hh" 0060 #include "G4RDVEnergySpectrum.hh" 0061 0062 class G4RDBremsstrahlungParameters; 0063 0064 class G4RDeBremsstrahlungSpectrum : public G4RDVEnergySpectrum 0065 { 0066 public: 0067 0068 G4RDeBremsstrahlungSpectrum(const G4DataVector& bins,const G4String& name); 0069 0070 ~G4RDeBremsstrahlungSpectrum(); 0071 0072 G4double Probability(G4int Z, 0073 G4double tMin, 0074 G4double tMax, 0075 G4double kineticEnergy, 0076 G4int shell=0, 0077 const G4ParticleDefinition* pd=0) const; 0078 0079 G4double AverageEnergy(G4int Z, 0080 G4double tMin, 0081 G4double tMax, 0082 G4double kineticEnergy, 0083 G4int shell=0, 0084 const G4ParticleDefinition* pd=0) const; 0085 0086 G4double SampleEnergy(G4int Z, 0087 G4double tMin, 0088 G4double tMax, 0089 G4double kineticEnergy, 0090 G4int shell=0, 0091 const G4ParticleDefinition* pd=0) const; 0092 0093 G4double MaxEnergyOfSecondaries(G4double kineticEnergy, 0094 G4int Z = 0, 0095 const G4ParticleDefinition* pd=0) const; 0096 0097 G4double Excitation(G4int Z, G4double kineticEnergy) const; 0098 0099 void PrintData() const; 0100 0101 private: 0102 0103 G4double IntSpectrum(G4double xMin, G4double xMax, 0104 const G4DataVector& p) const; 0105 0106 G4double AverageValue(G4double xMin, G4double xMax, 0107 const G4DataVector& p) const; 0108 0109 G4double Function(G4double x, const G4DataVector& p) const; 0110 0111 0112 // Hide copy constructor and assignment operator 0113 G4RDeBremsstrahlungSpectrum(const G4RDeBremsstrahlungSpectrum&); 0114 G4RDeBremsstrahlungSpectrum & operator = (const G4RDeBremsstrahlungSpectrum &right); 0115 0116 G4RDBremsstrahlungParameters* theBRparam; 0117 G4double lowestE; 0118 size_t length; 0119 G4int verbose; 0120 // const G4DataVector& xp; 0121 const G4DataVector xp; 0122 }; 0123 0124 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |