Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4MicroElecSiStructure Class Reference

#include <G4MicroElecSiStructure.hh>

Public Member Functions

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

Detailed Description

Definition at line 51 of file G4MicroElecSiStructure.hh.

Constructor & Destructor Documentation

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 = energyConstant.size();
56 }
static constexpr double eV
Definition: G4SIunits.hh:215
G4MicroElecSiStructure::~G4MicroElecSiStructure ( )
virtual

Definition at line 59 of file G4MicroElecSiStructure.cc.

60 { }

Member Function Documentation

G4double G4MicroElecSiStructure::Energy ( G4int  level)

Definition at line 63 of file G4MicroElecSiStructure.cc.

64 {
65  G4double energ = 0.;
66 
67  if (level >=0 && level < nLevels) energ = energyConstant[level];
68 
69  return energ;
70 }
double G4double
Definition: G4Types.hh:76

Here is the caller graph for this function:

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: