Geant4  10.03
G4MoleculeDefinition Class Reference

#include <G4MoleculeDefinition.hh>

+ Inheritance diagram for G4MoleculeDefinition:
+ Collaboration diagram for G4MoleculeDefinition:

Public Member Functions

 G4MoleculeDefinition (const G4String &name, G4double mass, G4double diffCoeff, G4int charge=0, G4int electronicLevels=0, G4double radius=-1, G4int atomsNumber=-1, G4double lifetime=-1, G4String aType="", G4FakeParticleID ID=G4FakeParticleID::Create())
 
virtual ~G4MoleculeDefinition ()
 
void SetLevelOccupation (G4int, G4int eNb=2)
 
void SetDiffusionCoefficient (G4double)
 
G4double GetDiffusionCoefficient () const
 
void SetAtomsNumber (G4int)
 
G4int GetAtomsNumber () const
 
void SetVanDerVaalsRadius (G4double)
 
G4double GetVanDerVaalsRadius () const
 
G4MolecularConfigurationNewConfiguration (const G4String &excitedStateLabel)
 
G4MolecularConfigurationNewConfigurationWithElectronOccupancy (const G4String &excitedStateLabel, const G4ElectronOccupancy &, double decayTime=0.)
 
G4MolecularConfigurationGetConfigurationWithLabel (const G4String &molecularConfLabel)
 
void AddDecayChannel (const G4MolecularConfiguration *molConf, const G4MolecularDissociationChannel *channel)
 
void AddDecayChannel (const G4String &molecularConfLabel, const G4MolecularDissociationChannel *channel)
 
const std::vector< const
G4MolecularDissociationChannel * > * 
GetDecayChannels (const G4MolecularConfiguration *) const
 
const std::vector< const
G4MolecularDissociationChannel * > * 
GetDecayChannels (const G4String &) const
 
const
G4MolecularDissociationTable
GetDecayTable () const
 
G4MolecularDissociationTableGetDecayTable ()
 
G4double GetDecayTime () const
 
const G4ElectronOccupancyGetGroundStateElectronOccupancy () const
 
G4int GetCharge () const
 
const G4StringGetName () const
 
G4double GetMass () const
 
const G4StringGetType () const
 
G4int GetNbElectrons () const
 
G4int GetNbMolecularShells () const
 
const G4StringGetFormatedName () const
 
void SetFormatedName (const G4String &name)
 
void Finalize ()
 
void Serialize (std::ostream &)
 
- Public Member Functions inherited from G4ParticleDefinition
 G4ParticleDefinition (const G4String &aName, G4double mass, G4double width, G4double charge, G4int iSpin, G4int iParity, G4int iConjugation, G4int iIsospin, G4int iIsospinZ, G4int gParity, const G4String &pType, G4int lepton, G4int baryon, G4int encoding, G4bool stable, G4double lifetime, G4DecayTable *decaytable, G4bool shortlived=false, const G4String &subType="", G4int anti_encoding=0, G4double magneticMoment=0.0)
 
virtual ~G4ParticleDefinition ()
 
const G4StringGetParticleName () const
 
G4double GetPDGMass () const
 
G4double GetPDGWidth () const
 
G4double GetPDGCharge () const
 
G4double GetPDGSpin () const
 
G4int GetPDGiSpin () const
 
G4int GetPDGiParity () const
 
G4int GetPDGiConjugation () const
 
G4double GetPDGIsospin () const
 
G4double GetPDGIsospin3 () const
 
G4int GetPDGiIsospin () const
 
G4int GetPDGiIsospin3 () const
 
G4int GetPDGiGParity () const
 
G4double GetPDGMagneticMoment () const
 
void SetPDGMagneticMoment (G4double mageticMoment)
 
G4double CalculateAnomaly () const
 
const G4StringGetParticleType () const
 
const G4StringGetParticleSubType () const
 
G4int GetLeptonNumber () const
 
G4int GetBaryonNumber () const
 
G4int GetPDGEncoding () const
 
G4int GetAntiPDGEncoding () const
 
void SetAntiPDGEncoding (G4int aEncoding)
 
G4int GetQuarkContent (G4int flavor) const
 
G4int GetAntiQuarkContent (G4int flavor) const
 
G4bool IsShortLived () const
 
G4bool GetPDGStable () const
 
void SetPDGStable (const G4bool aFlag)
 
G4double GetPDGLifeTime () const
 
void SetPDGLifeTime (G4double aLifeTime)
 
G4double GetIonLifeTime () const
 
G4DecayTableGetDecayTable () const
 
void SetDecayTable (G4DecayTable *aDecayTable)
 
G4ProcessManagerGetProcessManager () const
 
void SetProcessManager (G4ProcessManager *aProcessManager)
 
G4ParticleTableGetParticleTable () const
 
G4int GetAtomicNumber () const
 
G4int GetAtomicMass () const
 
void DumpTable () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
void SetApplyCutsFlag (G4bool)
 
G4bool GetApplyCutsFlag () const
 
G4bool IsGeneralIon () const
 
G4int operator== (const G4ParticleDefinition &right) const
 
G4int operator!= (const G4ParticleDefinition &right) const
 
G4ProcessManagerGetMasterProcessManager () const
 
void SetMasterProcessManager (G4ProcessManager *aNewPM)
 
G4int GetInstanceID () const
 
void SetParticleDefinitionID (G4int id=-1)
 
G4int GetParticleDefinitionID () const
 

Static Public Member Functions

static G4MoleculeDefinitionLoad (std::istream &)
 
- Static Public Member Functions inherited from G4ParticleDefinition
static const G4PDefManagerGetSubInstanceManager ()
 

Protected Member Functions

 G4MoleculeDefinition ()
 
 G4MoleculeDefinition (const G4MoleculeDefinition &)
 
- Protected Member Functions inherited from G4ParticleDefinition
G4int FillQuarkContents ()
 
void SetParticleSubType (const G4String &subtype)
 
void SetAtomicNumber (G4int)
 
void SetAtomicMass (G4int)
 
 G4ParticleDefinition (const G4ParticleDefinition &right)
 
 G4ParticleDefinition ()
 

Private Member Functions

const G4MoleculeDefinitionoperator= (const G4MoleculeDefinition &right)
 

Private Attributes

G4int fCharge
 
G4double fDiffusionCoefficient
 
G4int fAtomsNb
 
G4double fVanDerVaalsRadius
 
G4String fFormatedName
 
G4ElectronOccupancyfElectronOccupancy
 
G4MolecularDissociationTablefDecayTable
 

Additional Inherited Members

- Protected Types inherited from G4ParticleDefinition
enum  { NumberOfQuarkFlavor = 6 }
 
- Protected Attributes inherited from G4ParticleDefinition
G4int theQuarkContent [NumberOfQuarkFlavor]
 
G4int theAntiQuarkContent [NumberOfQuarkFlavor]
 
G4bool isGeneralIon
 

Detailed Description

Definition at line 76 of file G4MoleculeDefinition.hh.

Constructor & Destructor Documentation

G4MoleculeDefinition::G4MoleculeDefinition ( const G4String name,
G4double  mass,
G4double  diffCoeff,
G4int  charge = 0,
G4int  electronicLevels = 0,
G4double  radius = -1,
G4int  atomsNumber = -1,
G4double  lifetime = -1,
G4String  aType = "",
G4FakeParticleID  ID = G4FakeParticleID::Create() 
)

Definition at line 46 of file G4MoleculeDefinition.cc.

References fCharge, fDecayTable, fElectronOccupancy, G4MoleculeTable::Insert(), and G4MoleculeTable::Instance().

+ Here is the call graph for this function:

G4MoleculeDefinition::~G4MoleculeDefinition ( )
virtual

Definition at line 131 of file G4MoleculeDefinition.cc.

References fDecayTable, and fElectronOccupancy.

G4MoleculeDefinition::G4MoleculeDefinition ( )
protected

Referenced by G4Electron_aq::Definition(), G4H2O::Definition(), G4Hydrogen::Definition(), G4H3O::Definition(), G4H2O2::Definition(), G4OH::Definition(), G4H2::Definition(), and Load().

+ Here is the caller graph for this function:

G4MoleculeDefinition::G4MoleculeDefinition ( const G4MoleculeDefinition right)
protected

Definition at line 287 of file G4MoleculeDefinition.cc.

References fCharge, fDecayTable, and fElectronOccupancy.

Member Function Documentation

void G4MoleculeDefinition::AddDecayChannel ( const G4MolecularConfiguration molConf,
const G4MolecularDissociationChannel channel 
)

Definition at line 224 of file G4MoleculeDefinition.cc.

References G4MolecularDissociationTable::AddChannel(), and fDecayTable.

Referenced by G4EmDNAChemistry::ConstructDissociationChannels(), and G4DNAElectronHoleRecombination::IsApplicable().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4MoleculeDefinition::AddDecayChannel ( const G4String molecularConfLabel,
const G4MolecularDissociationChannel channel 
)

Definition at line 209 of file G4MoleculeDefinition.cc.

References G4MolecularDissociationTable::AddChannel(), fDecayTable, and G4MolecularConfiguration::GetMolecularConfiguration().

+ Here is the call graph for this function:

void G4MoleculeDefinition::Finalize ( )

Definition at line 321 of file G4MoleculeDefinition.cc.

References G4MoleculeTable::Finalize(), and G4MoleculeTable::Instance().

+ Here is the call graph for this function:

G4int G4MoleculeDefinition::GetAtomsNumber ( ) const
inline

Definition at line 226 of file G4MoleculeDefinition.hh.

References fAtomsNb.

G4int G4MoleculeDefinition::GetCharge ( ) const
inline

Definition at line 211 of file G4MoleculeDefinition.hh.

References fCharge.

Referenced by G4MolecularConfiguration::CreateMolecularConfiguration(), G4MolecularConfiguration::G4MolecularConfiguration(), and G4MolecularConfiguration::GetOrCreateMolecularConfiguration().

+ Here is the caller graph for this function:

G4MolecularConfiguration * G4MoleculeDefinition::GetConfigurationWithLabel ( const G4String molecularConfLabel)

Definition at line 161 of file G4MoleculeDefinition.cc.

References G4MolecularConfiguration::GetMolecularConfiguration().

+ Here is the call graph for this function:

const vector< const G4MolecularDissociationChannel * > * G4MoleculeDefinition::GetDecayChannels ( const G4MolecularConfiguration conf) const

Definition at line 260 of file G4MoleculeDefinition.cc.

References fDecayTable, and G4MolecularDissociationTable::GetDecayChannels().

+ Here is the call graph for this function:

const vector< const G4MolecularDissociationChannel * > * G4MoleculeDefinition::GetDecayChannels ( const G4String ExState) const

Definition at line 237 of file G4MoleculeDefinition.cc.

References FatalErrorInArgument, fDecayTable, G4Exception(), G4MolecularDissociationTable::GetDecayChannels(), and GetName().

+ Here is the call graph for this function:

const G4MolecularDissociationTable * G4MoleculeDefinition::GetDecayTable ( ) const
inline

Definition at line 283 of file G4MoleculeDefinition.hh.

References fDecayTable.

Referenced by G4DNAMolecularDissociation::DecayIt().

+ Here is the caller graph for this function:

G4MolecularDissociationTable * G4MoleculeDefinition::GetDecayTable ( )
inline

Definition at line 288 of file G4MoleculeDefinition.hh.

References fDecayTable.

G4double G4MoleculeDefinition::GetDecayTime ( ) const
inline

Definition at line 216 of file G4MoleculeDefinition.hh.

References G4ParticleDefinition::GetPDGLifeTime().

+ Here is the call graph for this function:

G4double G4MoleculeDefinition::GetDiffusionCoefficient ( ) const
inline

Definition at line 206 of file G4MoleculeDefinition.hh.

References fDiffusionCoefficient.

const G4String& G4MoleculeDefinition::GetFormatedName ( ) const
inline

Definition at line 159 of file G4MoleculeDefinition.hh.

References fFormatedName.

const G4ElectronOccupancy * G4MoleculeDefinition::GetGroundStateElectronOccupancy ( ) const
inline

Definition at line 241 of file G4MoleculeDefinition.hh.

References fElectronOccupancy.

Referenced by G4EmDNAChemistry::ConstructDissociationChannels(), G4MolecularConfiguration::CreateMolecularConfiguration(), G4Molecule::G4Molecule(), and G4MolecularConfiguration::GetOrCreateMolecularConfiguration().

+ Here is the caller graph for this function:

G4double G4MoleculeDefinition::GetMass ( ) const
inline

Definition at line 252 of file G4MoleculeDefinition.hh.

References G4ParticleDefinition::GetPDGMass().

Referenced by G4MolecularConfiguration::G4MolecularConfiguration().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4String & G4MoleculeDefinition::GetName ( void  ) const
inline

Definition at line 246 of file G4MoleculeDefinition.hh.

References G4ParticleDefinition::GetParticleName().

Referenced by G4MolecularConfiguration::CreateMolecularConfiguration(), GetDecayChannels(), G4MolecularConfiguration::GetOrCreateMolecularConfiguration(), G4MoleculeTable::Insert(), NewConfiguration(), and NewConfigurationWithElectronOccupancy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4MoleculeDefinition::GetNbElectrons ( ) const
inline

Definition at line 262 of file G4MoleculeDefinition.hh.

References fElectronOccupancy, and G4ElectronOccupancy::GetTotalOccupancy().

Referenced by G4MolecularConfiguration::G4MolecularConfiguration().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4MoleculeDefinition::GetNbMolecularShells ( ) const
inline

Definition at line 273 of file G4MoleculeDefinition.hh.

References fElectronOccupancy, and G4ElectronOccupancy::GetSizeOfOrbit().

+ Here is the call graph for this function:

const G4String & G4MoleculeDefinition::GetType ( ) const
inline

Definition at line 257 of file G4MoleculeDefinition.hh.

References G4ParticleDefinition::GetParticleSubType().

+ Here is the call graph for this function:

G4double G4MoleculeDefinition::GetVanDerVaalsRadius ( ) const
inline

Definition at line 236 of file G4MoleculeDefinition.hh.

References fVanDerVaalsRadius.

G4MoleculeDefinition * G4MoleculeDefinition::Load ( std::istream &  in)
static

Definition at line 76 of file G4MoleculeDefinition.cc.

References G4MoleculeDefinition(), G4InuclParticleNames::name(), and READ().

+ Here is the call graph for this function:

G4MolecularConfiguration * G4MoleculeDefinition::NewConfiguration ( const G4String excitedStateLabel)

Definition at line 148 of file G4MoleculeDefinition.cc.

References G4MolecularConfiguration::CreateMolecularConfiguration(), and GetName().

Referenced by G4DNAElectronHoleRecombination::IsApplicable().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4MolecularConfiguration * G4MoleculeDefinition::NewConfigurationWithElectronOccupancy ( const G4String excitedStateLabel,
const G4ElectronOccupancy elecConf,
double  decayTime = 0. 
)

Definition at line 171 of file G4MoleculeDefinition.cc.

References G4MolecularConfiguration::CreateMolecularConfiguration(), GetName(), and G4MolecularConfiguration::SetDecayTime().

Referenced by G4EmDNAChemistry::ConstructDissociationChannels().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4MoleculeDefinition & G4MoleculeDefinition::operator= ( const G4MoleculeDefinition right)
private

Definition at line 311 of file G4MoleculeDefinition.cc.

void G4MoleculeDefinition::Serialize ( std::ostream &  out)

Definition at line 109 of file G4MoleculeDefinition.cc.

References fAtomsNb, fCharge, fDiffusionCoefficient, fElectronOccupancy, fVanDerVaalsRadius, G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetParticleType(), G4ParticleDefinition::GetPDGLifeTime(), G4ParticleDefinition::GetPDGMass(), G4ElectronOccupancy::GetSizeOfOrbit(), and WRITE().

+ Here is the call graph for this function:

void G4MoleculeDefinition::SetAtomsNumber ( G4int  val)
inline

Definition at line 221 of file G4MoleculeDefinition.hh.

References fAtomsNb.

void G4MoleculeDefinition::SetDiffusionCoefficient ( G4double  value)
inline

Definition at line 201 of file G4MoleculeDefinition.hh.

References fDiffusionCoefficient.

void G4MoleculeDefinition::SetFormatedName ( const G4String name)
inline

Definition at line 165 of file G4MoleculeDefinition.hh.

References fFormatedName, and G4InuclParticleNames::name().

+ Here is the call graph for this function:

void G4MoleculeDefinition::SetLevelOccupation ( G4int  shell,
G4int  eNb = 2 
)

Definition at line 191 of file G4MoleculeDefinition.cc.

References G4ElectronOccupancy::AddElectron(), fElectronOccupancy, G4ElectronOccupancy::GetOccupancy(), and G4ElectronOccupancy::RemoveElectron().

+ Here is the call graph for this function:

void G4MoleculeDefinition::SetVanDerVaalsRadius ( G4double  val)
inline

Definition at line 231 of file G4MoleculeDefinition.hh.

References fVanDerVaalsRadius.

Member Data Documentation

G4int G4MoleculeDefinition::fAtomsNb
private

Definition at line 192 of file G4MoleculeDefinition.hh.

Referenced by GetAtomsNumber(), Serialize(), and SetAtomsNumber().

G4int G4MoleculeDefinition::fCharge
private

Definition at line 183 of file G4MoleculeDefinition.hh.

Referenced by G4MoleculeDefinition(), GetCharge(), and Serialize().

G4MolecularDissociationTable* G4MoleculeDefinition::fDecayTable
private
G4double G4MoleculeDefinition::fDiffusionCoefficient
private
G4String G4MoleculeDefinition::fFormatedName
private

Definition at line 195 of file G4MoleculeDefinition.hh.

Referenced by GetFormatedName(), and SetFormatedName().

G4double G4MoleculeDefinition::fVanDerVaalsRadius
private

Definition at line 193 of file G4MoleculeDefinition.hh.

Referenced by GetVanDerVaalsRadius(), Serialize(), and SetVanDerVaalsRadius().


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