Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4MuElecSiStructure Class Reference

#include <G4MuElecSiStructure.hh>

Public Member Functions

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

Detailed Description

Definition at line 51 of file G4MuElecSiStructure.hh.

Constructor & Destructor Documentation

G4MuElecSiStructure::G4MuElecSiStructure ( )

Definition at line 46 of file G4MuElecSiStructure.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
G4MuElecSiStructure::~G4MuElecSiStructure ( )
virtual

Definition at line 59 of file G4MuElecSiStructure.cc.

60 { }

Member Function Documentation

G4double G4MuElecSiStructure::Energy ( G4int  level)

Definition at line 63 of file G4MuElecSiStructure.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 G4MuElecSiStructure::NumberOfLevels ( )
inline

Definition at line 61 of file G4MuElecSiStructure.hh.

61 { return nLevels; }

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