00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // 00027 // $Id$ 00028 // 00029 // Author: Maria Grazia Pia (Maria.Grazia.Pia@cern.ch) 00030 // V. Ivanchenko (Vladimir.Ivantchenko@cern.ch) 00031 // 00032 // History: 00033 // ----------- 00034 // 31 Jul 2001 MGP Created 00035 // Values of the parameters from A. Forti's fit 00036 // 12.09.01 V.Ivanchenko Add activeZ and paramA 00037 // 25.09.01 V.Ivanchenko Add parameter C and change interface to B 00038 // 29.11.01 V.Ivanchenko Parametrisation is updated 00039 // 21.02.03 V.Ivanchenko Number of parameters is defined in the constructor 00040 // 28.02.03 V.Ivanchenko Filename is defined in the constructor 00041 // 00042 // ------------------------------------------------------------------- 00043 00044 // Class description: 00045 // Low Energy Electromagnetic Physics 00046 // Load and access to parameters for LowEnergyBremsstrahlung from EEDL 00047 // database. Parametrisation is described in Physics Reference Manual 00048 // Further documentation available from http://www.ge.infn.it/geant4/lowE 00049 00050 // ------------------------------------------------------------------- 00051 00052 #ifndef G4BREMSSTRAHLUNGPARAMETERS_HH 00053 #define G4BREMSSTRAHLUNGPARAMETERS_HH 1 00054 00055 #include "globals.hh" 00056 #include "G4DataVector.hh" 00057 #include <map> 00058 00059 class G4VEMDataSet; 00060 class G4VDataSetAlgorithm; 00061 00062 class G4BremsstrahlungParameters { 00063 00064 public: 00065 00066 G4BremsstrahlungParameters(const G4String& name, size_t num, G4int minZ = 1, G4int maxZ = 99); 00067 00068 ~G4BremsstrahlungParameters(); 00069 00070 G4double Parameter(G4int parameterIndex, G4int Z, G4double energy) const; 00071 00072 G4double ParameterC(G4int index) const; 00073 00074 void PrintData() const; 00075 00076 private: 00077 00078 // hide assignment operator 00079 G4BremsstrahlungParameters(const G4BremsstrahlungParameters&); 00080 G4BremsstrahlungParameters & operator=(const G4BremsstrahlungParameters &right); 00081 00082 void LoadData(const G4String& name); 00083 00084 std::map<G4int,G4VEMDataSet*,std::less<G4int> > param; 00085 00086 G4DataVector paramC; 00087 G4DataVector activeZ; 00088 00089 G4int zMin; 00090 G4int zMax; 00091 00092 size_t length; 00093 00094 }; 00095 00096 #endif 00097 00098 00099 00100 00101 00102 00103 00104 00105 00106 00107