Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 09:22:04

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 //
0028 // Author: Maria Grazia Pia (Maria.Grazia.Pia@cern.ch)
0029 //         V. Ivanchenko (Vladimir.Ivantchenko@cern.ch)
0030 //
0031 // History:
0032 // -----------
0033 // 31 Jul 2001   MGP        Created
0034 //                          Values of the parameters from A. Forti's fit
0035 // 12.09.01 V.Ivanchenko    Add activeZ and paramA
0036 // 25.09.01 V.Ivanchenko    Add parameter C and change interface to B
0037 // 29.11.01 V.Ivanchenko    Parametrisation is updated
0038 // 21.02.03 V.Ivanchenko    Number of parameters is defined in the constructor
0039 // 28.02.03 V.Ivanchenko    Filename is defined in the constructor
0040 //
0041 // -------------------------------------------------------------------
0042 
0043 // Class description:
0044 // Low Energy Electromagnetic Physics
0045 // Load and access to parameters for LowEnergyBremsstrahlung from EEDL
0046 // database. Parametrisation is described in Physics Reference Manual
0047 // Further documentation available from http://www.ge.infn.it/geant4/lowE
0048 
0049 // -------------------------------------------------------------------
0050 
0051 #ifndef G4RDBREMSSTRAHLUNGPARAMETERS_HH
0052 #define G4RDBREMSSTRAHLUNGPARAMETERS_HH 1
0053 
0054 #include "globals.hh"
0055 #include "G4DataVector.hh"
0056 #include <map>
0057 
0058 class G4RDVEMDataSet;
0059 class G4RDVDataSetAlgorithm;
0060 
0061 class G4RDBremsstrahlungParameters {
0062 
0063 public:
0064 
0065   G4RDBremsstrahlungParameters(const G4String& name, size_t num, G4int minZ = 1, G4int maxZ = 99);
0066 
0067   ~G4RDBremsstrahlungParameters();
0068 
0069   G4double Parameter(G4int parameterIndex, G4int Z, G4double energy) const;
0070 
0071   G4double ParameterC(G4int index) const;
0072 
0073   void PrintData() const;
0074 
0075 private:
0076 
0077   // hide assignment operator
0078   G4RDBremsstrahlungParameters(const G4RDBremsstrahlungParameters&);
0079   G4RDBremsstrahlungParameters & operator=(const G4RDBremsstrahlungParameters &right);
0080 
0081   void LoadData(const G4String& name);
0082 
0083   std::map<G4int,G4RDVEMDataSet*,std::less<G4int> > param;
0084 
0085   G4DataVector paramC;
0086   G4DataVector activeZ;
0087 
0088   G4int zMin;
0089   G4int zMax;
0090 
0091   size_t length;
0092 
0093 };
0094  
0095 #endif
0096 
0097 
0098 
0099 
0100 
0101 
0102 
0103 
0104 
0105 
0106