Geant4  10.02.p03
G4MuElecSiStructure Class Reference

#include <G4MuElecSiStructure.hh>

Collaboration diagram for G4MuElecSiStructure:

Public Member Functions

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

Private Attributes

G4int nLevels
 
std::vector< G4doubleenergyConstant
 

Detailed Description

Definition at line 51 of file G4MuElecSiStructure.hh.

Constructor & Destructor Documentation

◆ G4MuElecSiStructure()

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 }
std::vector< G4double > energyConstant
static const double eV
Definition: G4SIunits.hh:212

◆ ~G4MuElecSiStructure()

G4MuElecSiStructure::~G4MuElecSiStructure ( )
virtual

Definition at line 59 of file G4MuElecSiStructure.cc.

60 { }

Member Function Documentation

◆ Energy()

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 }
std::vector< G4double > energyConstant
double G4double
Definition: G4Types.hh:76
Here is the caller graph for this function:

◆ NumberOfLevels()

G4int G4MuElecSiStructure::NumberOfLevels ( )
inline

Definition at line 61 of file G4MuElecSiStructure.hh.

61 { return nLevels; }

Member Data Documentation

◆ energyConstant

std::vector<G4double> G4MuElecSiStructure::energyConstant
private

Definition at line 69 of file G4MuElecSiStructure.hh.

◆ nLevels

G4int G4MuElecSiStructure::nLevels
private

Definition at line 67 of file G4MuElecSiStructure.hh.


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