Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -23,44 +23,51 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// G4ParticlePropertyData inline methods implementation
|
||||
//
|
||||
//
|
||||
// Author: H.Kurashige, 9 June 2003
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetVerboseLevel(G4int value)
|
||||
void G4ParticlePropertyData::SetVerboseLevel(G4int value)
|
||||
{
|
||||
verboseLevel = value;
|
||||
verboseLevel = value;
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ParticlePropertyData::GetVerboseLevel() const
|
||||
G4int G4ParticlePropertyData::GetVerboseLevel() const
|
||||
{
|
||||
return verboseLevel;
|
||||
return verboseLevel;
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ParticlePropertyData::GetQuarkContent(G4int flavor) const
|
||||
G4int G4ParticlePropertyData::GetQuarkContent(G4int flavor) const
|
||||
{
|
||||
if ((flavor>0) && (flavor<=NumberOfQuarkFlavor)){
|
||||
if ((flavor>0) && (flavor<=NumberOfQuarkFlavor))
|
||||
{
|
||||
return theQuarkContent[flavor-1];
|
||||
}else {
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
inline
|
||||
G4int G4ParticlePropertyData::GetAntiQuarkContent(G4int flavor) const
|
||||
G4int G4ParticlePropertyData::GetAntiQuarkContent(G4int flavor) const
|
||||
{
|
||||
if ((flavor>0) && (flavor<NumberOfQuarkFlavor)){
|
||||
if ((flavor>0) && (flavor<NumberOfQuarkFlavor))
|
||||
{
|
||||
return theAntiQuarkContent[flavor-1];
|
||||
}else {
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetPDGEncoding(G4int aEncoding)
|
||||
void G4ParticlePropertyData::SetPDGEncoding(G4int aEncoding)
|
||||
{
|
||||
thePDGEncoding = aEncoding;
|
||||
fPDGEncodingModified = true;
|
||||
@@ -69,122 +76,120 @@ inline
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetAntiPDGEncoding(G4int aEncoding)
|
||||
void G4ParticlePropertyData::SetAntiPDGEncoding(G4int aEncoding)
|
||||
{
|
||||
theAntiPDGEncoding = aEncoding;
|
||||
fAntiPDGEncodingModified = true;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetPDGMass(G4double newMass)
|
||||
void G4ParticlePropertyData::SetPDGMass(G4double newMass)
|
||||
{
|
||||
thePDGMass = newMass;
|
||||
fPDGMassModified = true;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetPDGWidth(G4double newWidth)
|
||||
void G4ParticlePropertyData::SetPDGWidth(G4double newWidth)
|
||||
{
|
||||
thePDGWidth = newWidth;
|
||||
fPDGWidthModified = true;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetPDGCharge(G4double newCharge)
|
||||
void G4ParticlePropertyData::SetPDGCharge(G4double newCharge)
|
||||
{
|
||||
thePDGCharge = newCharge;
|
||||
fPDGChargeModified = true;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetPDGiSpin(G4int newSpin)
|
||||
void G4ParticlePropertyData::SetPDGiSpin(G4int newSpin)
|
||||
{
|
||||
thePDGiSpin = newSpin;
|
||||
fPDGiSpinModified = true;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetPDGiParity(G4int newParity)
|
||||
void G4ParticlePropertyData::SetPDGiParity(G4int newParity)
|
||||
{
|
||||
thePDGiParity = newParity;
|
||||
fPDGiParityModified = true;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetPDGiConjugation(G4int newConjugation)
|
||||
void G4ParticlePropertyData::SetPDGiConjugation(G4int newConjugation)
|
||||
{
|
||||
thePDGiConjugation = newConjugation;
|
||||
fPDGiConjugationModified = true;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetPDGiIsospin(G4int newIsospin)
|
||||
void G4ParticlePropertyData::SetPDGiIsospin(G4int newIsospin)
|
||||
{
|
||||
thePDGiIsospin = newIsospin;
|
||||
fPDGiIsospinModified = true;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetPDGiIsospin3(G4int newIsospin3)
|
||||
void G4ParticlePropertyData::SetPDGiIsospin3(G4int newIsospin3)
|
||||
{
|
||||
thePDGiIsospin3 = newIsospin3;
|
||||
fPDGiIsospin3Modified = true;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetPDGMagneticMoment(G4double mageticMoment)
|
||||
void G4ParticlePropertyData::SetPDGMagneticMoment(G4double mageticMoment)
|
||||
{
|
||||
thePDGMagneticMoment = mageticMoment;
|
||||
fPDGMagneticMomentModified = true;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetPDGiGParity(G4int newGParity)
|
||||
void G4ParticlePropertyData::SetPDGiGParity(G4int newGParity)
|
||||
{
|
||||
thePDGiGParity = newGParity;
|
||||
fPDGiGParityModified = true;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetLeptonNumber(G4int newLeptonNumber)
|
||||
void G4ParticlePropertyData::SetLeptonNumber(G4int newLeptonNumber)
|
||||
{
|
||||
theLeptonNumber = newLeptonNumber;
|
||||
fLeptonNumberModified = true;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetBaryonNumber(G4int newBaryonNumber)
|
||||
void G4ParticlePropertyData::SetBaryonNumber(G4int newBaryonNumber)
|
||||
{
|
||||
theBaryonNumber = newBaryonNumber;
|
||||
fBaryonNumberModified = true;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetQuarkContent(G4int flavor, G4int newContent)
|
||||
void G4ParticlePropertyData::SetQuarkContent(G4int flavor, G4int newContent)
|
||||
{
|
||||
if ((flavor>0) && (flavor<=NumberOfQuarkFlavor)){
|
||||
if ((flavor>0) && (flavor<=NumberOfQuarkFlavor))
|
||||
{
|
||||
theQuarkContent[flavor-1] = newContent;
|
||||
fQuarkContentModified = true;
|
||||
}
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetAntiQuarkContent(G4int flavor, G4int newContent)
|
||||
void G4ParticlePropertyData::SetAntiQuarkContent(G4int flavor,
|
||||
G4int newContent)
|
||||
{
|
||||
if ((flavor>0) && (flavor<=NumberOfQuarkFlavor)){
|
||||
if ((flavor>0) && (flavor<=NumberOfQuarkFlavor))
|
||||
{
|
||||
theAntiQuarkContent[flavor-1] = newContent;
|
||||
fAntiQuarkContentModified = true;
|
||||
}
|
||||
}
|
||||
|
||||
inline
|
||||
void G4ParticlePropertyData::SetPDGLifeTime(G4double newLifeTime)
|
||||
void G4ParticlePropertyData::SetPDGLifeTime(G4double newLifeTime)
|
||||
{
|
||||
thePDGLifeTime = newLifeTime;
|
||||
fPDGLifeTimeModified = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user