Geant4  10.00.p01
G4BremsstrahlungParameters.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: G4BremsstrahlungParameters.hh 66241 2012-12-13 18:34:42Z gunter $
28 //
29 // Author: Maria Grazia Pia (Maria.Grazia.Pia@cern.ch)
30 // V. Ivanchenko (Vladimir.Ivantchenko@cern.ch)
31 //
32 // History:
33 // -----------
34 // 31 Jul 2001 MGP Created
35 // Values of the parameters from A. Forti's fit
36 // 12.09.01 V.Ivanchenko Add activeZ and paramA
37 // 25.09.01 V.Ivanchenko Add parameter C and change interface to B
38 // 29.11.01 V.Ivanchenko Parametrisation is updated
39 // 21.02.03 V.Ivanchenko Number of parameters is defined in the constructor
40 // 28.02.03 V.Ivanchenko Filename is defined in the constructor
41 //
42 // -------------------------------------------------------------------
43 
44 // Class description:
45 // Low Energy Electromagnetic Physics
46 // Load and access to parameters for LowEnergyBremsstrahlung from EEDL
47 // database. Parametrisation is described in Physics Reference Manual
48 // Further documentation available from http://www.ge.infn.it/geant4/lowE
49 
50 // -------------------------------------------------------------------
51 
52 #ifndef G4BREMSSTRAHLUNGPARAMETERS_HH
53 #define G4BREMSSTRAHLUNGPARAMETERS_HH 1
54 
55 #include "globals.hh"
56 #include "G4DataVector.hh"
57 #include <map>
58 
59 class G4VEMDataSet;
61 
63 
64 public:
65 
66  G4BremsstrahlungParameters(const G4String& name, size_t num, G4int minZ = 1, G4int maxZ = 99);
67 
69 
70  G4double Parameter(G4int parameterIndex, G4int Z, G4double energy) const;
71 
72  G4double ParameterC(G4int index) const;
73 
74  void PrintData() const;
75 
76 private:
77 
78  // hide assignment operator
81 
82  void LoadData(const G4String& name);
83 
84  std::map<G4int,G4VEMDataSet*,std::less<G4int> > param;
85 
88 
91 
92  size_t length;
93 
94 };
95 
96 #endif
97 
98 
99 
100 
101 
102 
103 
104 
105 
106 
107 
G4String name
Definition: TRTMaterials.hh:40
int G4int
Definition: G4Types.hh:78
G4BremsstrahlungParameters & operator=(const G4BremsstrahlungParameters &right)
G4double Parameter(G4int parameterIndex, G4int Z, G4double energy) const
G4BremsstrahlungParameters(const G4String &name, size_t num, G4int minZ=1, G4int maxZ=99)
G4double energy(const ThreeVector &p, const G4double m)
double G4double
Definition: G4Types.hh:76
G4double ParameterC(G4int index) const
void LoadData(const G4String &name)
std::map< G4int, G4VEMDataSet *, std::less< G4int > > param