#include <G4Ions.hh>
Inheritance diagram for G4Ions:
Public Member Functions | |
G4Ions (const G4String &aName, G4double mass, G4double width, G4double charge, G4int iSpin, G4int iParity, G4int iConjugation, G4int iIsospin, G4int iIsospin3, G4int gParity, const G4String &pType, G4int lepton, G4int baryon, G4int encoding, G4bool stable, G4double lifetime, G4DecayTable *decaytable, G4bool shortlived, const G4String &subType="", G4int anti_encoding=0, G4double excitation=0.0) | |
virtual | ~G4Ions () |
G4Ions * | IonsDefinition () |
G4Ions * | Ions () |
G4double | GetExcitationEnergy () const |
Protected Member Functions | |
G4Ions () |
Definition at line 51 of file G4Ions.hh.
G4Ions::G4Ions | ( | ) | [inline, protected] |
Definition at line 62 of file G4Ions.hh.
Referenced by G4Triton::Definition(), G4Proton::Definition(), G4Neutron::Definition(), G4He3::Definition(), G4GenericIon::Definition(), G4Deuteron::Definition(), G4AntiTriton::Definition(), G4AntiHe3::Definition(), G4AntiDeuteron::Definition(), G4AntiAlpha::Definition(), and G4Alpha::Definition().
G4Ions::G4Ions | ( | const G4String & | aName, | |
G4double | mass, | |||
G4double | width, | |||
G4double | charge, | |||
G4int | iSpin, | |||
G4int | iParity, | |||
G4int | iConjugation, | |||
G4int | iIsospin, | |||
G4int | iIsospin3, | |||
G4int | gParity, | |||
const G4String & | pType, | |||
G4int | lepton, | |||
G4int | baryon, | |||
G4int | encoding, | |||
G4bool | stable, | |||
G4double | lifetime, | |||
G4DecayTable * | decaytable, | |||
G4bool | shortlived, | |||
const G4String & | subType = "" , |
|||
G4int | anti_encoding = 0 , |
|||
G4double | excitation = 0.0 | |||
) |
Definition at line 48 of file G4Ions.cc.
References G4ParticleDefinition::GetAtomicNumber(), G4ParticleDefinition::GetBaryonNumber(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::SetAtomicMass(), and G4ParticleDefinition::SetAtomicNumber().
00061 : G4ParticleDefinition( aName,mass,width,charge,iSpin,iParity, 00062 iConjugation,iIsospin,iIsospin3,gParity,pType, 00063 lepton,baryon,encoding,stable,lifetime,decaytable, 00064 shortlived, subType, anti_encoding) 00065 { 00066 // initialize excitation energy/level 00067 theExcitationEnergy = excitation; 00068 00069 if (GetAtomicNumber() == 0 ) { 00070 // AtomicNumber/Mass is positve even for anti_nulceus 00071 SetAtomicNumber( std::abs(G4int(GetPDGCharge()/eplus)) ); 00072 SetAtomicMass( std::abs(GetBaryonNumber()) ); 00073 } 00074 }
G4Ions::~G4Ions | ( | ) | [virtual] |
G4double G4Ions::GetExcitationEnergy | ( | ) | const [inline] |
G4Ions * G4Ions::Ions | ( | ) | [inline] |
G4Ions * G4Ions::IonsDefinition | ( | ) |