source: trunk/source/materials/include/G4SimpleMaterialStoppingICRU73.hh@ 1195

Last change on this file since 1195 was 1058, checked in by garnier, 17 years ago

file release beta

File size: 4.3 KB
RevLine 
[986]1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
[1058]26// $Id: G4SimpleMaterialStoppingICRU73.hh,v 1.6 2009/03/18 10:14:49 alechner Exp $
27// GEANT4 tag $Name: geant4-09-03-beta-cand-01 $
[986]28
29#ifndef G4SimpleMaterialStoppingICRU73_h
30#define G4SimpleMaterialStoppingICRU73_h 1
31
32//---------------------------------------------------------------------------
33//
34// ClassName: G4SimpleMaterialStoppingICRU73
35//
36// Description: Data on stopping powers for light ions in compounds
37//
38// Author: Ivantchenko 10.07.2008
39//
40// Modifications:
41//
42//----------------------------------------------------------------------------
43//
44// Class Description:
45//
46// Data on Stopping Powers from the ICRU73 report
47//
48
49//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
50
51
52#include "globals.hh"
[1058]53#include "G4VIonDEDXTable.hh"
[986]54#include "G4LPhysicsFreeVector.hh"
55#include <vector>
[1058]56#include <utility>
57#include <map>
[986]58
[1058]59
60class G4SimpleMaterialStoppingICRU73 : public G4VIonDEDXTable
[986]61{
62public:
63
64 G4SimpleMaterialStoppingICRU73(G4bool splineFlag = true);
65
66 ~G4SimpleMaterialStoppingICRU73();
67
[1058]68 G4bool IsApplicable(G4int ionZ,
69 G4int matZ);
[986]70
[1058]71 G4bool IsApplicable(G4int ionZ,
72 const G4String& matName);
[986]73
[1058]74 G4PhysicsVector* GetPhysicsVector(G4int ionZ,
75 G4int matZ);
[986]76
[1058]77 G4PhysicsVector* GetPhysicsVector(G4int ionZ,
78 const G4String& matName);
[986]79
[1058]80 G4double GetDEDX(G4double kinEnergyPerNucleon,
81 G4int ionZ,
82 const G4String& matName);
[986]83
[1058]84 G4double GetDEDX(G4double kinEnergyPerNucleon,
85 G4int ionZ,
86 G4int matZ);
[986]87
88private:
[1058]89 // Function for creating a physics vector
90 G4PhysicsVector* CreatePhysicsVector(G4double* energy,
91 G4double* stoppower,
92 G4double factor);
[986]93
[1058]94 // Assignment operator and copy constructor
95 G4SimpleMaterialStoppingICRU73 &
96 operator=(const G4SimpleMaterialStoppingICRU73 &right);
97 G4SimpleMaterialStoppingICRU73(const G4SimpleMaterialStoppingICRU73&);
[986]98
[1058]99 // Flag indicating the use of spline interpolation for dE/dx vectors
100 G4bool spline;
[986]101
[1058]102 // Minimum and maximum atomic number
103 G4int minIonAtomicNmb;
104 G4int maxIonAtomicNmb;
[986]105
[1058]106 // Vectors containing the atomic numbers and names of the materials
107 std::vector<G4int> atomicNumbersMat;
108 std::vector<G4String> namesMat;
[986]109
[1058]110 // Keys (ion atomic number and material names) corresponding to created
111 // dE/dx vectors
112 typedef std::pair<G4int, G4String> DEDXKey;
113 std::vector<DEDXKey> dedxKeys;
[986]114
[1058]115 // Vector of dE/dx vectors
116 std::vector<G4PhysicsVector*> dedx;
[986]117};
118
119
120//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
121
122#endif
Note: See TracBrowser for help on using the repository browser.