Back to home page

EIC code displayed by LXR

 
 

    


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

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 // class description
0027 //
0028 // The class contains few (physical) quantities related to the Ionisation
0029 // process, for the Element defined by its atomic number Z
0030 //
0031 // 09.03.01: copy constructor and assignement operator in public (mma)
0032 // 09.07.98: data moved from G4Element (mma)
0033 
0034 #ifndef G4IonisParamElm_HH
0035 #define G4IonisParamElm_HH
0036 
0037 #include "G4ios.hh"
0038 #include "globals.hh"
0039 
0040 class G4IonisParamElm
0041 {
0042  public:  // with description
0043   G4IonisParamElm(G4double Z);
0044   ~G4IonisParamElm();
0045   G4IonisParamElm& operator=(const G4IonisParamElm&) = delete;
0046   G4IonisParamElm(G4IonisParamElm&) = delete;
0047 
0048   // retrieval methods
0049 
0050   // atomic number Z
0051   G4double GetZ() const { return fZ; }
0052 
0053   // std::pow (Z,1/3)
0054   G4double GetZ3() const { return fZ3; }
0055 
0056   // std::pow (Z(Z+1),1/3)
0057   G4double GetZZ3() const { return fZZ3; }
0058 
0059   // std::log(Z)/3
0060   G4double GetlogZ3() const { return flogZ3; }
0061 
0062   // 0.1*std::pow(Z,1/3)*MeV/proton_mass_c2
0063   G4double GetTau0() const { return fTau0; };
0064 
0065   // 2*MeV/proton mass
0066   G4double GetTaul() const { return fTaul; }
0067 
0068   // parameters for the low energy ion.loss
0069   G4double GetAlow() const { return fAlow; }
0070   G4double GetBlow() const { return fBlow; }
0071   G4double GetClow() const { return fClow; }
0072 
0073   // ICRU'37 report
0074   G4double GetMeanExcitationEnergy() const { return fMeanExcitationEnergy; }
0075 
0076   G4double GetFermiVelocity() const { return fVFermi; };
0077   G4double GetLFactor() const { return fLFactor; };
0078 
0079   // shell correction coefficients
0080   G4double* GetShellCorrectionVector() const { return fShellCorrectionVector; }
0081 
0082   G4bool operator==(const G4IonisParamElm&) const = delete;
0083   G4bool operator!=(const G4IonisParamElm&) const = delete;
0084 
0085  private:
0086   //
0087   //  data members
0088   //
0089   G4double fZ;  // effective Z
0090   G4double fZ3;  // std::pow (Z,1/3)
0091   G4double fZZ3;  // std::pow (Z(Z+1),1/3)
0092   G4double flogZ3;  // std::log(Z)/3
0093 
0094   //  ------ ionisation loss ---------------------------------
0095 
0096   G4double fTau0;  // 0.1*std::pow(Z,1/3)*MeV/proton_mass_c2
0097   G4double fTaul;  // 2*MeV/proton mass
0098   G4double fBetheBlochLow;  // Bethe-Bloch at fTaul*particle mass
0099   G4double fAlow, fBlow, fClow;  // parameters for the low energy ion.loss
0100   G4double fMeanExcitationEnergy;  //
0101   G4double* fShellCorrectionVector;  // shell correction coefficients
0102 
0103   // parameters for ion corrections computations
0104   G4double fVFermi;
0105   G4double fLFactor;
0106 };
0107 
0108 #endif