Back to home page

EIC code displayed by LXR

 
 

    


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

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 
0030 //         Values of the parameters from A. Forti's fit
0031 //
0032 // History:
0033 // -----------
0034 // 31 Jul 2001   MGP        Created
0035 // 12.09.01 V.Ivanchenko    Add param and interpolation of parametersVI  
0036 // 10.10.2001 MGP           Revision to improve code quality and 
0037 //                          consistency with design
0038 // 29.11.01  V.Ivanchenko    Parametrisation is updated
0039 //
0040 // -------------------------------------------------------------------
0041 
0042 // Class description:
0043 // Low Energy Electromagnetic Physics
0044 // Set of parameters for LowEnergyIonisation described spectrum 
0045 // of delta-electrons retrieved from EEDL database.
0046 // Further documentation available from http://www.ge.infn.it/geant4/lowE
0047 
0048 // -------------------------------------------------------------------
0049 
0050 #ifndef G4RDIONISATIONPARAMETERS_HH
0051 #define G4RDIONISATIONPARAMETERS_HH 1
0052 
0053 #include "globals.hh"
0054 #include "G4DataVector.hh"
0055 #include <map>
0056 
0057 class G4RDVDataSetAlgorithm;
0058 class G4RDVEMDataSet;
0059 
0060 class G4RDeIonisationParameters {
0061  
0062 public:
0063 
0064   G4RDeIonisationParameters(G4int minZ = 1, G4int maxZ = 99);
0065 
0066   ~G4RDeIonisationParameters();
0067  
0068   G4double Parameter(G4int Z, G4int shellIndex, 
0069              G4int parameterIndex, G4double e) const;
0070 
0071   G4double Excitation(G4int Z, G4double e) const;
0072   
0073   void PrintData() const;
0074 
0075 private:
0076 
0077   // Hide copy constructor and assignment operator 
0078   G4RDeIonisationParameters(const G4RDeIonisationParameters&);
0079   G4RDeIonisationParameters & operator=(const G4RDeIonisationParameters &right);
0080 
0081   void LoadData();
0082 
0083   G4int zMin;
0084   G4int zMax;
0085 
0086   G4DataVector activeZ;
0087 
0088   // Parameters of the energy spectra
0089   std::map<G4int,G4RDVEMDataSet*,std::less<G4int> > param;
0090   std::map<G4int,G4RDVEMDataSet*,std::less<G4int> > excit;
0091 
0092   size_t length;
0093 };
0094  
0095 #endif