source: trunk/source/materials/include/G4IronStoppingICRU73.hh @ 1280

Last change on this file since 1280 was 1196, checked in by garnier, 15 years ago

update CVS release candidate geant4.9.3.01

File size: 4.4 KB
Line 
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//
26// $Id: G4IronStoppingICRU73.hh,v 1.6 2009/11/09 16:51:07 vnivanch Exp $
27// GEANT4 tag $Name: materials-V09-02-18 $
28
29#ifndef G4IronStoppingICRU73_h
30#define G4IronStoppingICRU73_h 1
31
32//---------------------------------------------------------------------------
33//
34// ClassName:   G4IronStoppingICRU73
35//
36// Description: Data on stopping powers for light ions in compounds
37//
38// Author:      A.Ivantchenko 8.08.2008
39//
40// in the framework of the ESA Technology Research Programme
41// (ESA contract 21435/08/NL/AT)
42//
43// Modifications:
44// 03.11.2009 A. Lechner:  Added new methods BuildPhysicsVector according
45//            to interface changes in base class G4VIonDEDXTable.
46//
47//----------------------------------------------------------------------------
48//
49// Class Description:
50//
51// Data on Stopping Powers from the ICRU73 report
52//
53
54//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
55
56
57#include "globals.hh"
58#include "G4VIonDEDXTable.hh"
59#include "G4LPhysicsFreeVector.hh"
60#include <vector>
61
62
63class G4IronStoppingICRU73 : public G4VIonDEDXTable
64{
65public:
66
67  G4IronStoppingICRU73(G4bool splineFlag = true);
68
69  ~G4IronStoppingICRU73();
70
71  G4bool BuildPhysicsVector(G4int ionZ, 
72                            const G4String& matName);
73
74  G4bool BuildPhysicsVector(G4int ionZ, 
75                            G4int matZ);
76
77  G4bool IsApplicable(G4int ionZ, 
78                      G4int matZ);
79
80  G4bool IsApplicable(G4int ionZ, 
81                      const G4String& matName);
82
83  G4PhysicsVector* GetPhysicsVector(G4int ionZ, 
84                                    G4int matZ);
85
86  G4PhysicsVector* GetPhysicsVector(G4int ionZ, 
87                                    const G4String& matName);
88
89  G4double GetDEDX(G4double kinEnergyPerNucleon,
90                   G4int ionZ,
91                   const G4String& matName);
92
93  G4double GetDEDX(G4double kinEnergyPerNucleon,
94                   G4int ionZ,
95                   G4int matZ);
96
97private:
98  // Function for creating a physics vector
99  G4PhysicsVector* CreatePhysicsVector(G4double* energy, 
100                                       G4double* stoppower, 
101                                       G4double factor);
102
103  // Assignment operator and copy constructor
104  G4IronStoppingICRU73 & operator=(const G4IronStoppingICRU73 &right);
105  G4IronStoppingICRU73(const G4IronStoppingICRU73&);
106
107  // Flag indicating the use of spline interpolation for dE/dx vectors
108  G4bool spline;
109
110  // Vectors containing the atomic numbers and names of the materials
111  std::vector<G4int> atomicNumbersMat;
112  std::vector<G4String> namesMat;
113
114  // Keys (material names) corresponding to created dE/dx vectors
115  std::vector<G4String> dedxKeys;
116
117  // Vector of dE/dx vectors
118  std::vector<G4PhysicsVector*>  dedx;
119};
120
121
122
123//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
124
125#endif
126 
Note: See TracBrowser for help on using the repository browser.