Opened 6 years ago
Last modified 6 years ago
#1335 new How to
How to get mother PdgID of generator level particle in Delphes
Reported by: | snandan | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | Cc: |
Description
Hi,
I am running delphes using hepmc input. I don't understand the meaning of M1, M2, D1, D2. Does M1 or M2 mean the mother's pdgid of a particle? I want to match some final particle with generator level particle for which I need generator level information. I'll be grateful if some one explains how Delphes read the hepmc input.
Thanks,
saswati
Note:
See TracTickets
for help on using tickets.
It is the index of appearance in the Particle collection.
For example, if you want to access the D1 of a given particle "gen" , you can do:
daughter = branchParticle.At(gen->D1)