Dear ROOTers,
TDatabasePDG::GetParticleClass() causes a crash if the pdg table is not yet read in. In order to prevent from this I suggest to replace the current implementation by:
TParticleClassPDG* GetParticleClass(const char* name) {
if (fParticleList == 0) ((TDatabasePDG*)this)->ReadPDGTable();
return (TParticleClassPDG*) fListOfClasses->FindObject(name);
}
Thanks in advance,
Oliver