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;
#define theParticleIterator
G4GLOB_DLL std::ostream G4cout
G4VDecayChannel * GetDecayChannel(G4int index) const
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)
G4ParticlePropertyData * GetParticleProperty(const G4String &aParticleName)
G4bool SetParticleProperty(const G4ParticlePropertyData &newProperty)
void reset(G4bool ifSkipIon=true)
G4PTblDicIterator * GetIterator() const
static G4ParticleTable * GetParticleTable()
void SparseOption(const G4String &option)
G4bool ModifyPropertyTable(const G4ParticleDefinition *)
void Retrieve(const G4String &option="") override
void SetBR(G4double value)
G4int GetNumberOfDaughters() const
G4ParticlePropertyTable * pPropertyTable