76 if (name ==
"J/psi") fileName =
baseDir +
"jpsi.txt";
78 std::ifstream inFile(fileName, std::ios::in);
79 if (!inFile)
return false;
89 G4cout <<
"G4TextPPRetriever::ModifyPropertyTable: ";
90 G4cout <<
"particle name or encoding mismatch for " << name;
96 G4int iIsoSpin, iSpin, iParity, iConj;
97 inFile >> iIsoSpin >> iSpin >> iParity >> iConj;
101 G4cout <<
"G4TextPPRetriever::ModifyPropertyTable: ";
102 G4cout <<
"IJPC mismatch for " << name;
109 inFile >> mass >> width >> charge;
135 if (dcyTable ==
nullptr)
return true;
138 while (!inFile.eof()) {
141 inFile >> br >> n_daughters;
150 if (idx >= dcyTable->
entries())
break;
G4DecayTable * GetDecayTable() const
const G4String & GetParticleName() const
void SetPDGMass(G4double newMass)
G4double GetPDGLifeTime() const
G4double GetPDGMass() const
G4int GetPDGiIsospin() const
G4int GetPDGiSpin() const
void SetPDGCharge(G4double newCharge)
G4int GetPDGiParity() const
G4int GetPDGEncoding() const
G4double GetPDGWidth() const
G4int GetPDGiConjugation() const
void SetPDGLifeTime(G4double newLifeTime)
G4double GetPDGCharge() const
void SetPDGWidth(G4double newWidth)
G4PTblDicIterator * GetIterator() const
static G4ParticleTable * GetParticleTable()
G4ParticleTableIterator< G4String, G4ParticleDefinition * > G4PTblDicIterator
void SparseOption(const G4String &option)
G4bool ModifyPropertyTable(const G4ParticleDefinition *)
void Retrieve(const G4String &option="") override
G4ParticlePropertyTable * pPropertyTable