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 n, G4int l, G4double j, G4int number)
 
void SetStateLifetime (G4int n, G4int l, G4double lifetime)
 
void SetTimeOfExciation (G4double timeOfExcitationIn, G4int n, G4int l, G4double j)
 
G4bool StatePopulated (G4int n, G4int l, G4double j) const
 
G4double GetStateLifetime (G4int n, G4int l, G4double j) const
 
G4double GetTimeOfExcitation (G4int n, G4int l, G4double j) const
 
void SetTotalElectrons (G4int totalElectronsIn)
 

Static Public Member Functions

static G4bool CompareEnergy (const BDSElectronQuantumLevel *level1, const 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 32 of file BDSElectronOccupancy.hh.

Constructor & Destructor Documentation

◆ BDSElectronOccupancy()

BDSElectronOccupancy::BDSElectronOccupancy ( G4int  maxn)
explicit

Definition at line 28 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 99 of file BDSElectronOccupancy.cc.

◆ AddElectrons() [2/2]

void BDSElectronOccupancy::AddElectrons ( G4int  number)

Definition at line 73 of file BDSElectronOccupancy.cc.

◆ CompareEnergy()

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

Definition at line 63 of file BDSElectronOccupancy.cc.

◆ CreateNewLevel()

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

Definition at line 58 of file BDSElectronOccupancy.cc.

◆ GetStateLifetime()

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

Definition at line 174 of file BDSElectronOccupancy.cc.

◆ GetTimeOfExcitation()

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

Definition at line 184 of file BDSElectronOccupancy.cc.

◆ PopulateLevels()

void BDSElectronOccupancy::PopulateLevels ( )

Definition at line 68 of file BDSElectronOccupancy.cc.

◆ RemoveElectrons()

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

Definition at line 120 of file BDSElectronOccupancy.cc.

◆ SetStateLifetime()

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

Definition at line 139 of file BDSElectronOccupancy.cc.

◆ SetTimeOfExciation()

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

Definition at line 151 of file BDSElectronOccupancy.cc.

◆ SetTotalElectrons()

void BDSElectronOccupancy::SetTotalElectrons ( G4int  totalElectronsIn)
inline

Definition at line 55 of file BDSElectronOccupancy.hh.

◆ StatePopulated()

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

Definition at line 160 of file BDSElectronOccupancy.cc.

Field Documentation

◆ stateList

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

Definition at line 58 of file BDSElectronOccupancy.hh.

◆ totalElectrons

G4int BDSElectronOccupancy::totalElectrons
private

Definition at line 59 of file BDSElectronOccupancy.hh.


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