Geant4  10.01
G4ElectronOccupancy Class Reference

#include <G4ElectronOccupancy.hh>

Public Types

enum  { MaxSizeOfOrbit = 20 }
 

Public Member Functions

 G4ElectronOccupancy (G4int sizeOrbit=MaxSizeOfOrbit)
 
 G4ElectronOccupancy (const G4ElectronOccupancy &right)
 
virtual ~G4ElectronOccupancy ()
 
void * operator new (size_t)
 
void operator delete (void *aElectronOccupancy)
 
G4ElectronOccupancy & operator= (const G4ElectronOccupancy &right)
 
G4int operator== (const G4ElectronOccupancy &right) const
 
G4int operator!= (const G4ElectronOccupancy &right) const
 
G4int GetTotalOccupancy () const
 
G4int GetOccupancy (G4int orbit) const
 
G4int AddElectron (G4int orbit, G4int number=1)
 
G4int RemoveElectron (G4int orbit, G4int number=1)
 
G4int GetSizeOfOrbit () const
 
void DumpInfo () const
 

Private Attributes

G4int theSizeOfOrbit
 
G4int theTotalOccupancy
 
G4int * theOccupancies
 

Detailed Description

Definition at line 62 of file G4ElectronOccupancy.hh.

Member Enumeration Documentation

anonymous enum
Enumerator
MaxSizeOfOrbit 

Definition at line 65 of file G4ElectronOccupancy.hh.

Constructor & Destructor Documentation

G4ElectronOccupancy::G4ElectronOccupancy ( G4int  sizeOrbit = MaxSizeOfOrbit)
G4ElectronOccupancy::G4ElectronOccupancy ( const G4ElectronOccupancy &  right)

Definition at line 72 of file G4ElectronOccupancy.cc.

References theOccupancies, theSizeOfOrbit, and theTotalOccupancy.

G4ElectronOccupancy::~G4ElectronOccupancy ( )
virtual

Definition at line 63 of file G4ElectronOccupancy.cc.

References theOccupancies, theSizeOfOrbit, and theTotalOccupancy.

Member Function Documentation

G4int G4ElectronOccupancy::AddElectron ( G4int  orbit,
G4int  number = 1 
)

Definition at line 136 of file G4ElectronOccupancy.cc.

References G4Exception(), JustWarning, theOccupancies, theSizeOfOrbit, and theTotalOccupancy.

Referenced by G4MolecularConfiguration::AddElectron(), G4EmDNAChemistry::ConstructDissociationChannels(), G4MolecularConfiguration::ExciteMolecule(), G4MolecularConfiguration::MoveOneElectron(), and G4MoleculeDefinition::SetLevelOccupation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ElectronOccupancy::DumpInfo ( ) const

Definition at line 126 of file G4ElectronOccupancy.cc.

References G4cout, G4endl, theOccupancies, and theSizeOfOrbit.

Referenced by G4DNAMolecularDissociation::DecayIt().

+ Here is the caller graph for this function:

G4int G4ElectronOccupancy::GetOccupancy ( G4int  orbit) const
inline

Definition at line 138 of file G4ElectronOccupancy.hh.

References theOccupancies, and theSizeOfOrbit.

Referenced by G4MolecularConfiguration::IonizeMolecule(), G4MolecularConfiguration::MoveOneElectron(), comparator::operator()(), eOccComp::operator()(), G4MolecularConfiguration::RemoveElectron(), and G4MoleculeDefinition::SetLevelOccupation().

+ Here is the caller graph for this function:

G4int G4ElectronOccupancy::GetSizeOfOrbit ( ) const
inline

Definition at line 126 of file G4ElectronOccupancy.hh.

References theSizeOfOrbit.

Referenced by G4MoleculeDefinition::GetNbMolecularShells(), comparator::operator()(), and eOccComp::operator()().

+ Here is the caller graph for this function:

G4int G4ElectronOccupancy::GetTotalOccupancy ( ) const
inline

Definition at line 132 of file G4ElectronOccupancy.hh.

References theTotalOccupancy.

Referenced by G4MoleculeDefinition::GetNbElectrons(), comparator::operator()(), and eOccComp::operator()().

+ Here is the caller graph for this function:

void G4ElectronOccupancy::operator delete ( void *  aElectronOccupancy)
inline

Definition at line 120 of file G4ElectronOccupancy.hh.

References aElectronOccupancyAllocator.

void * G4ElectronOccupancy::operator new ( size_t  )
inline

Definition at line 111 of file G4ElectronOccupancy.hh.

References aElectronOccupancyAllocator.

G4int G4ElectronOccupancy::operator!= ( const G4ElectronOccupancy &  right) const

Definition at line 121 of file G4ElectronOccupancy.cc.

References right.

G4ElectronOccupancy & G4ElectronOccupancy::operator= ( const G4ElectronOccupancy &  right)

Definition at line 86 of file G4ElectronOccupancy.cc.

References theOccupancies, theSizeOfOrbit, and theTotalOccupancy.

G4int G4ElectronOccupancy::operator== ( const G4ElectronOccupancy &  right) const

Definition at line 104 of file G4ElectronOccupancy.cc.

References MaxSizeOfOrbit, theOccupancies, and theSizeOfOrbit.

G4int G4ElectronOccupancy::RemoveElectron ( G4int  orbit,
G4int  number = 1 
)

Definition at line 155 of file G4ElectronOccupancy.cc.

References G4Exception(), JustWarning, theOccupancies, theSizeOfOrbit, and theTotalOccupancy.

Referenced by G4EmDNAChemistry::ConstructDissociationChannels(), G4MolecularConfiguration::ExciteMolecule(), G4Molecule::G4Molecule(), G4VGammaDeexcitation::GenerateGamma(), G4MolecularConfiguration::IonizeMolecule(), G4MolecularConfiguration::MoveOneElectron(), G4MolecularConfiguration::RemoveElectron(), and G4MoleculeDefinition::SetLevelOccupation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4int* G4ElectronOccupancy::theOccupancies
private
G4int G4ElectronOccupancy::theSizeOfOrbit
private
G4int G4ElectronOccupancy::theTotalOccupancy
private

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