Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RDBremsstrahlungParameters.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 //
27 // $Id$
28 // GEANT4 tag $Name: geant4-09-01-ref-00 $
29 //
30 // Author: Maria Grazia Pia (Maria.Grazia.Pia@cern.ch)
31 // V. Ivanchenko (Vladimir.Ivantchenko@cern.ch)
32 //
33 // History:
34 // -----------
35 // 31 Jul 2001 MGP Created
36 // Values of the parameters from A. Forti's fit
37 // 12.09.01 V.Ivanchenko Add activeZ and paramA
38 // 25.09.01 V.Ivanchenko Add parameter C and change interface to B
39 // 29.11.01 V.Ivanchenko Parametrisation is updated
40 // 21.02.03 V.Ivanchenko Number of parameters is defined in the constructor
41 // 28.02.03 V.Ivanchenko Filename is defined in the constructor
42 //
43 // -------------------------------------------------------------------
44 
45 // Class description:
46 // Low Energy Electromagnetic Physics
47 // Load and access to parameters for LowEnergyBremsstrahlung from EEDL
48 // database. Parametrisation is described in Physics Reference Manual
49 // Further documentation available from http://www.ge.infn.it/geant4/lowE
50 
51 // -------------------------------------------------------------------
52 
53 #ifndef G4RDBREMSSTRAHLUNGPARAMETERS_HH
54 #define G4RDBREMSSTRAHLUNGPARAMETERS_HH 1
55 
56 #include "globals.hh"
57 #include "G4DataVector.hh"
58 #include <map>
59 
60 class G4RDVEMDataSet;
62 
64 
65 public:
66 
67  G4RDBremsstrahlungParameters(const G4String& name, size_t num, G4int minZ = 1, G4int maxZ = 99);
68 
70 
71  G4double Parameter(G4int parameterIndex, G4int Z, G4double energy) const;
72 
73  G4double ParameterC(G4int index) const;
74 
75  void PrintData() const;
76 
77 private:
78 
79  // hide assignment operator
82 
83  void LoadData(const G4String& name);
84 
85  std::map<G4int,G4RDVEMDataSet*,std::less<G4int> > param;
86 
87  G4DataVector paramC;
88  G4DataVector activeZ;
89 
90  G4int zMin;
91  G4int zMax;
92 
93  size_t length;
94 
95 };
96 
97 #endif
98 
99 
100 
101 
102 
103 
104 
105 
106 
107 
108 
const XML_Char * name
int G4int
Definition: G4Types.hh:78
double precision function energy(A, Z)
Definition: dpm25nuc6.f:4106
G4double ParameterC(G4int index) const
G4double Parameter(G4int parameterIndex, G4int Z, G4double energy) const
double G4double
Definition: G4Types.hh:76
G4RDBremsstrahlungParameters(const G4String &name, size_t num, G4int minZ=1, G4int maxZ=99)