Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4MicroElecSiStructure Class Reference

#include <G4MicroElecSiStructure.hh>

Public Member Functions

 G4MicroElecSiStructure ()
 
virtual ~G4MicroElecSiStructure ()=default
 
G4double Energy (G4int level)
 
G4int NumberOfLevels ()
 

Detailed Description

Definition at line 47 of file G4MicroElecSiStructure.hh.

Constructor & Destructor Documentation

◆ G4MicroElecSiStructure()

G4MicroElecSiStructure::G4MicroElecSiStructure ( )

Definition at line 45 of file G4MicroElecSiStructure.cc.

46{
47 energyConstant.push_back(16.65 * eV);
48 energyConstant.push_back(6.52 * eV);
49 energyConstant.push_back(13.63 * eV);
50 energyConstant.push_back(107.98 * eV);
51 energyConstant.push_back(151.55 * eV);
52 energyConstant.push_back(1828.5 * eV);
53
54 nLevels = (G4int)energyConstant.size();
55}
int G4int
Definition G4Types.hh:85

◆ ~G4MicroElecSiStructure()

virtual G4MicroElecSiStructure::~G4MicroElecSiStructure ( )
virtualdefault

Member Function Documentation

◆ Energy()

G4double G4MicroElecSiStructure::Energy ( G4int level)

Definition at line 57 of file G4MicroElecSiStructure.cc.

58{
59 G4double energ = 0.;
60
61 if (level >= 0 && level < nLevels) {
62 energ = energyConstant[level];
63 }
64
65 return energ;
66}
double G4double
Definition G4Types.hh:83

Referenced by G4MicroElecInelasticModel::DifferentialCrossSection(), G4MicroElecInelasticModel::SampleSecondaries(), and G4MicroElecInelasticModel::TransferedEnergy().

◆ NumberOfLevels()

G4int G4MicroElecSiStructure::NumberOfLevels ( )
inline

Definition at line 56 of file G4MicroElecSiStructure.hh.

56{ return nLevels; }

The documentation for this class was generated from the following files: