Files
geant4/source/materials/include/G4IonisParamMat.hh
T
2016-06-01 15:25:35 +02:00

107 lines
3.7 KiB
C++

// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4IonisParamMat.hh,v 2.3 1998/07/13 17:13:51 urbi Exp $
// GEANT4 tag $Name: geant4-00 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
// 09-07-98, data moved from G4Material, M.Maire
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
#ifndef G4IonisParamMat_HH
#define G4IonisParamMat_HH
#include "G4ios.hh"
#include "globals.hh"
class G4Material; // forward declaration
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... ....oooOO0OOooo....
class G4IonisParamMat
{
public:
G4IonisParamMat(G4Material*);
~G4IonisParamMat();
//
// retrieval methods
//
G4double GetMeanExcitationEnergy() const {return fMeanExcitationEnergy;};
G4double GetLogMeanExcEnergy() const {return fLogMeanExcEnergy;};
G4double* GetShellCorrectionVector() const {return fShellCorrectionVector;};
G4double GetTaul() const {return fTaul;};
G4double GetCdensity() const {return fCdensity;};
G4double GetMdensity() const {return fMdensity;};
G4double GetAdensity() const {return fAdensity;};
G4double GetX0density() const {return fX0density;};
G4double GetX1density() const {return fX1density;};
G4double GetF1fluct() const {return fF1fluct;};
G4double GetF2fluct() const {return fF2fluct;};
G4double GetEnergy1fluct() const {return fEnergy1fluct;};
G4double GetLogEnergy1fluct() const {return fLogEnergy1fluct;};
G4double GetEnergy2fluct() const {return fEnergy2fluct;};
G4double GetLogEnergy2fluct() const {return fLogEnergy2fluct;};
G4double GetEnergy0fluct() const {return fEnergy0fluct;};
G4double GetRateionexcfluct() const {return fRateionexcfluct;};
G4int operator==(const G4IonisParamMat&) const;
G4int operator!=(const G4IonisParamMat&) const;
private:
G4IonisParamMat(const G4IonisParamMat&);
const G4IonisParamMat& operator=(const G4IonisParamMat&);
// Compute mean parameters : ExcitationEnergy,Shell corretion vector ...
void ComputeMeanParameters();
// Compute parameters for the density effect
void ComputeDensityEffect();
// Compute parameters for the energy fluctuation model
void ComputeFluctModel();
private:
//
// data members
//
G4Material* fMaterial; // this material
// parameters for energy loss calculation
G4double fMeanExcitationEnergy; //
G4double fLogMeanExcEnergy; //
G4double* fShellCorrectionVector; // shell correction coefficients
G4double fTaul; // lower limit of Bethe-Bloch formula
// parameters of the density correction....
G4double fCdensity; // mat.constant
G4double fMdensity; // exponent
G4double fAdensity; //
G4double fX0density; //
G4double fX1density; //
// parameters of the energy fluctuation model
G4double fF1fluct;
G4double fF2fluct;
G4double fEnergy1fluct;
G4double fLogEnergy1fluct;
G4double fEnergy2fluct;
G4double fLogEnergy2fluct;
G4double fEnergy0fluct;
G4double fRateionexcfluct;
};
#endif