BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Attributes
BDSElectronOccupancy Class Reference

Electron Occupancy for more than just n quantum number. More...

#include <BDSElectronOccupancy.hh>

Collaboration diagram for BDSElectronOccupancy:
Collaboration graph

Public Member Functions

 BDSElectronOccupancy (G4int maxn)
 
void CreateNewLevel (G4int n, G4int l, G4int j)
 
void PopulateLevels ()
 
void AddElectrons (G4int number)
 
void AddElectrons (G4int n, G4int l, G4double j, G4int number)
 
void RemoveElectrons (G4int number)
 
void RemoveElectrons (G4int n, G4int l, G4double j, G4int number)
 
void SetStateLifetime (G4int n, G4int l, G4double lifetime)
 
G4double GetStateLifetime (G4int n, G4int l, G4double j)
 
G4bool StatePopulated (G4int n, G4int l, G4double j)
 
void SetTimeOfExciation (G4double timeOfExcitationIn, G4int n, G4int l, G4double j)
 
G4double GetTimeOfExcitation (G4int n, G4int l, G4double j)
 
void SetTotalElectrons (G4int totalElectronsIn)
 

Static Public Member Functions

static G4bool CompareEnergy (BDSElectronQuantumLevel *level1, BDSElectronQuantumLevel *level2)
 

Private Attributes

std::vector< BDSElectronQuantumLevel * > stateList
 
G4int totalElectrons
 

Detailed Description

Electron Occupancy for more than just n quantum number.

Author
Siobhan Alden

Definition at line 35 of file BDSElectronOccupancy.hh.

Constructor & Destructor Documentation

◆ BDSElectronOccupancy()

BDSElectronOccupancy::BDSElectronOccupancy ( G4int  maxn)

Definition at line 25 of file BDSElectronOccupancy.cc.

◆ ~BDSElectronOccupancy()

BDSElectronOccupancy::~BDSElectronOccupancy ( )

Definition at line 51 of file BDSElectronOccupancy.cc.

Member Function Documentation

◆ AddElectrons() [1/2]

void BDSElectronOccupancy::AddElectrons ( G4int  n,
G4int  l,
G4double  j,
G4int  number 
)

Definition at line 112 of file BDSElectronOccupancy.cc.

◆ AddElectrons() [2/2]

void BDSElectronOccupancy::AddElectrons ( G4int  number)

Definition at line 88 of file BDSElectronOccupancy.cc.

◆ CompareEnergy()

G4bool BDSElectronOccupancy::CompareEnergy ( BDSElectronQuantumLevel level1,
BDSElectronQuantumLevel level2 
)
static

Definition at line 59 of file BDSElectronOccupancy.cc.

◆ CreateNewLevel()

void BDSElectronOccupancy::CreateNewLevel ( G4int  n,
G4int  l,
G4int  j 
)

Definition at line 54 of file BDSElectronOccupancy.cc.

◆ GetStateLifetime()

G4double BDSElectronOccupancy::GetStateLifetime ( G4int  n,
G4int  l,
G4double  j 
)

Definition at line 199 of file BDSElectronOccupancy.cc.

◆ GetTimeOfExcitation()

G4double BDSElectronOccupancy::GetTimeOfExcitation ( G4int  n,
G4int  l,
G4double  j 
)

Definition at line 213 of file BDSElectronOccupancy.cc.

◆ PopulateLevels()

void BDSElectronOccupancy::PopulateLevels ( )

Definition at line 64 of file BDSElectronOccupancy.cc.

◆ RemoveElectrons()

void BDSElectronOccupancy::RemoveElectrons ( G4int  n,
G4int  l,
G4double  j,
G4int  number 
)

Definition at line 136 of file BDSElectronOccupancy.cc.

◆ SetStateLifetime()

void BDSElectronOccupancy::SetStateLifetime ( G4int  n,
G4int  l,
G4double  lifetime 
)

Definition at line 172 of file BDSElectronOccupancy.cc.

◆ SetTimeOfExciation()

void BDSElectronOccupancy::SetTimeOfExciation ( G4double  timeOfExcitationIn,
G4int  n,
G4int  l,
G4double  j 
)

Definition at line 187 of file BDSElectronOccupancy.cc.

◆ SetTotalElectrons()

void BDSElectronOccupancy::SetTotalElectrons ( G4int  totalElectronsIn)
inline

Definition at line 54 of file BDSElectronOccupancy.hh.

◆ StatePopulated()

G4bool BDSElectronOccupancy::StatePopulated ( G4int  n,
G4int  l,
G4double  j 
)

Definition at line 155 of file BDSElectronOccupancy.cc.

Field Documentation

◆ stateList

std::vector<BDSElectronQuantumLevel*> BDSElectronOccupancy::stateList
private

Definition at line 57 of file BDSElectronOccupancy.hh.

◆ totalElectrons

G4int BDSElectronOccupancy::totalElectrons
private

Definition at line 58 of file BDSElectronOccupancy.hh.


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