Geant4 11.1.1
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 51 of file G4MicroElecSiStructure.hh.

Constructor & Destructor Documentation

◆ G4MicroElecSiStructure()

G4MicroElecSiStructure::G4MicroElecSiStructure ( )

Definition at line 46 of file G4MicroElecSiStructure.cc.

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

◆ ~G4MicroElecSiStructure()

virtual G4MicroElecSiStructure::~G4MicroElecSiStructure ( )
virtualdefault

Member Function Documentation

◆ Energy()

G4double G4MicroElecSiStructure::Energy ( G4int  level)

Definition at line 58 of file G4MicroElecSiStructure.cc.

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

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

◆ NumberOfLevels()

G4int G4MicroElecSiStructure::NumberOfLevels ( )
inline

Definition at line 61 of file G4MicroElecSiStructure.hh.

61{ return nLevels; }

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