Geant4  10.01.p02
G4eBremsstrahlungSpectrum.hh
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 // $Id: G4eBremsstrahlungSpectrum.hh 66241 2012-12-13 18:34:42Z gunter $
27 //
28 // -------------------------------------------------------------------
29 //
30 // GEANT4 Class file
31 //
32 //
33 // File name: G4EBremsstrahlungSpectrum
34 //
35 // Author: V.Ivanchenko (Vladimir.Ivantchenko@cern.ch)
36 //
37 // Creation date: 27 September 2001
38 //
39 // Modifications:
40 // 10.10.01 MGP Revision to improve code quality and consistency with design
41 // 29.11.01 V.Ivanchenko Parametrisation is updated
42 // 21.02.03 V.Ivanchenko Energy bins are defined in the constructor
43 // 28.02.03 V.Ivanchenko Filename is defined in the constructor
44 // 25.05.03 MGP Data member xp contained by value, not a reference
45 //
46 // -------------------------------------------------------------------
47 
48 // Class Description:
49 // Provides various integration over gamma spectrum of e- Bremsstrahlung.
50 // Parametrisation is described in Physics Reference Manual based on
51 // data from EEDL database.
52 // Further documentation available from http://www.ge.infn.it/geant4/lowE
53 
54 // -------------------------------------------------------------------
55 
56 #ifndef G4EBREMSSTRAHLUNGSPECTRUM_HH
57 #define G4EBREMSSTRAHLUNGSPECTRUM_HH 1
58 
59 #include "globals.hh"
60 #include "G4DataVector.hh"
61 #include "G4VEnergySpectrum.hh"
62 
64 
66 {
67 public:
68 
70 
72 
74  G4double tMin,
75  G4double tMax,
76  G4double kineticEnergy,
77  G4int shell=0,
78  const G4ParticleDefinition* pd=0) const;
79 
81  G4double tMin,
82  G4double tMax,
83  G4double kineticEnergy,
84  G4int shell=0,
85  const G4ParticleDefinition* pd=0) const;
86 
88  G4double tMin,
89  G4double tMax,
90  G4double kineticEnergy,
91  G4int shell=0,
92  const G4ParticleDefinition* pd=0) const;
93 
95  G4int Z = 0,
96  const G4ParticleDefinition* pd=0) const;
97 
98  G4double Excitation(G4int Z, G4double kineticEnergy) const;
99 
100  void PrintData() const;
101 
102 private:
103 
105  const G4DataVector& p) const;
106 
108  const G4DataVector& p) const;
109 
110  G4double Function(G4double x, const G4DataVector& p) const;
111 
112 
113  // Hide copy constructor and assignment operator
116 
119  size_t length;
121  // const G4DataVector& xp;
123 };
124 
125 #endif
G4BremsstrahlungParameters * theBRparam
G4double Function(G4double x, const G4DataVector &p) const
G4String name
Definition: TRTMaterials.hh:40
G4double Excitation(G4int Z, G4double kineticEnergy) const
int G4int
Definition: G4Types.hh:78
G4eBremsstrahlungSpectrum(const G4DataVector &bins, const G4String &name)
G4double AverageValue(G4double xMin, G4double xMax, const G4DataVector &p) const
G4eBremsstrahlungSpectrum & operator=(const G4eBremsstrahlungSpectrum &right)
G4double SampleEnergy(G4int Z, G4double tMin, G4double tMax, G4double kineticEnergy, G4int shell=0, const G4ParticleDefinition *pd=0) const
G4double AverageEnergy(G4int Z, G4double tMin, G4double tMax, G4double kineticEnergy, G4int shell=0, const G4ParticleDefinition *pd=0) const
G4double IntSpectrum(G4double xMin, G4double xMax, const G4DataVector &p) const
G4double Probability(G4int Z, G4double tMin, G4double tMax, G4double kineticEnergy, G4int shell=0, const G4ParticleDefinition *pd=0) const
double G4double
Definition: G4Types.hh:76
G4double MaxEnergyOfSecondaries(G4double kineticEnergy, G4int Z=0, const G4ParticleDefinition *pd=0) const