ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RDBremsstrahlungParameters.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4RDBremsstrahlungParameters.hh
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 //
28 // Author: Maria Grazia Pia (Maria.Grazia.Pia@cern.ch)
29 // V. Ivanchenko (Vladimir.Ivantchenko@cern.ch)
30 //
31 // History:
32 // -----------
33 // 31 Jul 2001 MGP Created
34 // Values of the parameters from A. Forti's fit
35 // 12.09.01 V.Ivanchenko Add activeZ and paramA
36 // 25.09.01 V.Ivanchenko Add parameter C and change interface to B
37 // 29.11.01 V.Ivanchenko Parametrisation is updated
38 // 21.02.03 V.Ivanchenko Number of parameters is defined in the constructor
39 // 28.02.03 V.Ivanchenko Filename is defined in the constructor
40 //
41 // -------------------------------------------------------------------
42 
43 // Class description:
44 // Low Energy Electromagnetic Physics
45 // Load and access to parameters for LowEnergyBremsstrahlung from EEDL
46 // database. Parametrisation is described in Physics Reference Manual
47 // Further documentation available from http://www.ge.infn.it/geant4/lowE
48 
49 // -------------------------------------------------------------------
50 
51 #ifndef G4RDBREMSSTRAHLUNGPARAMETERS_HH
52 #define G4RDBREMSSTRAHLUNGPARAMETERS_HH 1
53 
54 #include "globals.hh"
55 #include "G4DataVector.hh"
56 #include <map>
57 
58 class G4RDVEMDataSet;
60 
62 
63 public:
64 
65  G4RDBremsstrahlungParameters(const G4String& name, size_t num, G4int minZ = 1, G4int maxZ = 99);
66 
68 
69  G4double Parameter(G4int parameterIndex, G4int Z, G4double energy) const;
70 
71  G4double ParameterC(G4int index) const;
72 
73  void PrintData() const;
74 
75 private:
76 
77  // hide assignment operator
80 
81  void LoadData(const G4String& name);
82 
83  std::map<G4int,G4RDVEMDataSet*,std::less<G4int> > param;
84 
87 
90 
91  size_t length;
92 
93 };
94 
95 #endif
96 
97 
98 
99 
100 
101 
102 
103 
104 
105 
106