Fork me on GitHub

Opened 6 years ago

Last modified 6 years ago

#347 new Bug

Stability of "StableParticles" in STDHEP reader

Reported by: misho Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:


In DelphesSTDHEPReader::AnalyzeParticles, particle stability is determined with pdgParticle->Stable(), where pdgParticle = fPDG->GetParticle(pid);.

However, ROOT 5.34.21 has a strange behavior as follows:

root [0] db = TDatabasePDG::Instance();
root [1] db->GetParticle(24)->Stable()
(const Int_t)0
root [2] db->GetParticle(-24)->Stable()
(const Int_t)1

I don't know this is a bug of ROOT or a spec, and I know this fact does not affect usual analysis; so I just leave a comment here.

Change History (2)

comment:1 Changed 6 years ago by pavel

Thanks for finding this problem.

I agree that it should not affect usual analysis.

ROOT 6.00.02 shows the same results.

Have you notified the ROOT developers about this?

comment:2 Changed 6 years ago by misho

I didn't, and I have just done.

This is actually because the database pdg_table.txt has no information other than names for antiparticles; it might be better to understand this as a spec... Anyway we should wait for ROOT developers' replies.

Note: See TracTickets for help on using tickets.