source: trunk/source/materials/include/G4IonisParamMat.hh @ 828

Last change on this file since 828 was 822, checked in by garnier, 16 years ago

import all except CVS

File size: 6.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//
27// $Id: G4IonisParamMat.hh,v 1.10 2007/09/27 14:05:47 vnivanch Exp $
28// GEANT4 tag $Name: geant4-09-01-patch-02 $
29//
30
31// class description
32//
33// The class contains few (physical) quantities related to the Ionisation
34// process, for a material defined by its pointer G4Material*
35//
36
37//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
38
39// 09-07-98: data moved from G4Material (mma)
40// 09-03-01: copy constructor and assignement operator in public (mma)
41// 28-10-02: add setMeanExcitationEnergy (V.Ivanchenko)
42// 27-09-07: add computation of parameters for ions (V.Ivanchenko)
43
44//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
45
46#ifndef G4IonisParamMat_HH
47#define G4IonisParamMat_HH
48
49#include "G4ios.hh"
50#include "globals.hh"
51
52class G4Material;                        // forward declaration
53
54//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
55
56class G4IonisParamMat  // with description
57{
58public:
59
60    G4IonisParamMat(G4Material*); 
61    virtual ~G4IonisParamMat();
62
63    //
64    // retrieval methods
65    //
66     
67    // parameters for mean energy loss calculation:
68    G4double  GetMeanExcitationEnergy()   const {return fMeanExcitationEnergy;};
69    void      SetMeanExcitationEnergy(G4double value);
70    G4double  FindMeanExcitationEnergy(const G4String& chFormula);
71    G4double  GetLogMeanExcEnergy()       const {return fLogMeanExcEnergy;};
72    G4double* GetShellCorrectionVector()  const {return fShellCorrectionVector;};
73    G4double  GetTaul()                   const {return fTaul;};
74   
75    // parameters of the density correction:
76    G4double  GetCdensity()               const {return fCdensity;};
77    G4double  GetMdensity()               const {return fMdensity;};
78    G4double  GetAdensity()               const {return fAdensity;};
79    G4double  GetX0density()              const {return fX0density;};
80    G4double  GetX1density()              const {return fX1density;};
81
82    // parameters of the energy loss fluctuation model:
83    G4double  GetF1fluct()                const {return fF1fluct;};
84    G4double  GetF2fluct()                const {return fF2fluct;};
85    G4double  GetEnergy1fluct()           const {return fEnergy1fluct;};
86    G4double  GetLogEnergy1fluct()        const {return fLogEnergy1fluct;};
87    G4double  GetEnergy2fluct()           const {return fEnergy2fluct;};
88    G4double  GetLogEnergy2fluct()        const {return fLogEnergy2fluct;};
89    G4double  GetEnergy0fluct()           const {return fEnergy0fluct;};
90    G4double  GetRateionexcfluct()        const {return fRateionexcfluct;};
91
92    // parameters for ion corrections computations
93    G4double  GetZeffective()             const {return fZeff;};
94    G4double  GetFermiEnergy()            const {return fFermiEnergy;};
95    G4double  GetLFactor()                const {return fLfactor;};
96
97public:  // without description
98
99    G4IonisParamMat(const G4IonisParamMat&);
100    const G4IonisParamMat& operator=(const G4IonisParamMat&);         
101    G4int operator==(const G4IonisParamMat&) const;
102    G4int operator!=(const G4IonisParamMat&) const;
103
104    G4IonisParamMat(__void__&);
105      // Fake default constructor for usage restricted to direct object
106      // persistency for clients requiring preallocation of memory for
107      // persistifiable objects.
108
109private:
110   
111    // Compute mean parameters : ExcitationEnergy,Shell corretion vector ...
112    void ComputeMeanParameters();
113
114    // Compute parameters for the density effect
115    void ComputeDensityEffect();
116
117    // Compute parameters for the energy fluctuation model
118    void ComputeFluctModel();
119
120    // Compute parameters for ion parameterizations
121    void ComputeIonParameters();
122
123private:
124
125//
126// data members
127//
128    G4Material* fMaterial;                    // this material
129
130   // parameters for mean energy loss calculation
131    G4double  fMeanExcitationEnergy;          //
132    G4double  fLogMeanExcEnergy;              //
133    G4double* fShellCorrectionVector;         // shell correction coefficients
134    G4double  fTaul;                          // lower limit of Bethe-Bloch formula
135
136   // parameters of the density correction....
137    G4double fCdensity;                      // mat.constant
138    G4double fMdensity;                      // exponent
139    G4double fAdensity;                      //
140    G4double fX0density;                     //
141    G4double fX1density;                     //
142
143   // parameters of the energy loss fluctuation model
144    G4double fF1fluct;                       
145    G4double fF2fluct;                       
146    G4double fEnergy1fluct;
147    G4double fLogEnergy1fluct;
148    G4double fEnergy2fluct;
149    G4double fLogEnergy2fluct;
150    G4double fEnergy0fluct;
151    G4double fRateionexcfluct;
152
153    // parameters for ion corrections computations
154    G4double fZeff;
155    G4double fFermiEnergy;
156    G4double fLfactor;
157};
158
159#endif
Note: See TracBrowser for help on using the repository browser.