16 #include <HepPDT/ParticleDataTable.hh>
28 if ( m_pps.retrieve().isFailure() ) {
29 error() <<
"Could not get PartPropSvc" <<
endmsg;
35 info() <<
"this should cause a warning: " <<
endmsg;
38 HepPDT::ParticleDataTable* pdt = m_pps->PDT();
43 pdt->writeParticleData( ost );
62 CommonParticleData* cpd =
nullptr;
63 if (
key.isNucleus() ) {
66 TempParticleData tpd(
key );
71 const ParticleData* proton = pdt.particle( 2212 );
73 double protonMass = proton->mass();
74 tpd.tempMass = Measurement(
key.A() * protonMass, 0. );
76 cpd =
new CommonParticleData( tpd );