// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration. It is provided under the terms and * // * conditions of the Geant4 Software License, included in the file * // * LICENSE and available at http://cern.ch/geant4/license . These * // * include a list of copyright holders. * // * * // * Neither the authors of this software system, nor their employing * // * institutes,nor the agencies providing financial support for this * // * work make any representation or warranty, express or implied, * // * regarding this software system or assume any liability for its * // * use. Please see the license in the file LICENSE and URL above * // * for the full disclaimer and the limitation of liability. * // * * // * This code implementation is the result of the scientific and * // * technical work of the GEANT4 collaboration. * // * By using, copying, modifying or distributing the software (or * // * any work based on the software) you agree to acknowledge its * // * use in resulting scientific publications, and indicate your * // * acceptance of all terms of the Geant4 Software license. * // ******************************************************************** // // $Id: G4IronStoppingICRU73.hh,v 1.4 2009/03/18 10:14:48 alechner Exp $ // GEANT4 tag $Name: geant4-09-03-beta-cand-01 $ #ifndef G4IronStoppingICRU73_h #define G4IronStoppingICRU73_h 1 //--------------------------------------------------------------------------- // // ClassName: G4IronStoppingICRU73 // // Description: Data on stopping powers for light ions in compounds // // Author: A.Ivantchenko 8.08.2008 // // Modifications: // //---------------------------------------------------------------------------- // // Class Description: // // Data on Stopping Powers from the ICRU73 report // //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... #include "globals.hh" #include "G4VIonDEDXTable.hh" #include "G4LPhysicsFreeVector.hh" #include class G4IronStoppingICRU73 : public G4VIonDEDXTable { public: G4IronStoppingICRU73(G4bool splineFlag = true); ~G4IronStoppingICRU73(); G4bool IsApplicable(G4int ionZ, G4int matZ); G4bool IsApplicable(G4int ionZ, const G4String& matName); G4PhysicsVector* GetPhysicsVector(G4int ionZ, G4int matZ); G4PhysicsVector* GetPhysicsVector(G4int ionZ, const G4String& matName); G4double GetDEDX(G4double kinEnergyPerNucleon, G4int ionZ, const G4String& matName); G4double GetDEDX(G4double kinEnergyPerNucleon, G4int ionZ, G4int matZ); private: // Function for creating a physics vector G4PhysicsVector* CreatePhysicsVector(G4double* energy, G4double* stoppower, G4double factor); // Assignment operator and copy constructor G4IronStoppingICRU73 & operator=(const G4IronStoppingICRU73 &right); G4IronStoppingICRU73(const G4IronStoppingICRU73&); // Flag indicating the use of spline interpolation for dE/dx vectors G4bool spline; // Vectors containing the atomic numbers and names of the materials std::vector atomicNumbersMat; std::vector namesMat; // Keys (material names) corresponding to created dE/dx vectors std::vector dedxKeys; // Vector of dE/dx vectors std::vector dedx; }; //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... #endif