Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:11

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 // -------------------------------------------------------------------
0047 
0048 #ifndef G4IONISATIONPARAMETERS_HH
0049 #define G4IONISATIONPARAMETERS_HH 1
0050 
0051 #include "globals.hh"
0052 #include "G4DataVector.hh"
0053 #include <map>
0054 
0055 class G4VDataSetAlgorithm;
0056 class G4VEMDataSet;
0057 
0058 class G4eIonisationParameters {
0059  
0060 public:
0061   explicit G4eIonisationParameters();
0062 
0063   ~G4eIonisationParameters();
0064  
0065   G4double Parameter(G4int Z, G4int shellIndex, 
0066              G4int parameterIndex, G4double e) const;
0067   G4double Excitation(G4int Z, G4double e) const;
0068   void PrintData() const;
0069 
0070   G4eIonisationParameters(const G4eIonisationParameters&) = delete;
0071   G4eIonisationParameters & operator=(const G4eIonisationParameters &right) = delete;
0072 
0073 private:
0074   void LoadData();
0075 
0076   G4DataVector activeZ;
0077   // Parameters of the energy spectra
0078   std::map<G4int,G4VEMDataSet*,std::less<G4int> > param;
0079   std::map<G4int,G4VEMDataSet*,std::less<G4int> > excit;
0080 
0081   size_t length = 24;
0082 };
0083  
0084 #endif