Opened 3 years ago
#1533 new How to
Delphes and HepSim
Reported by: | Ewan | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | mother | Cc: |
Description
Hello,
I'm trying to understand how to properly access the parent particles as saved by Delphes. I am using HepSim events:
https://atlaswww.hep.anl.gov/hepsim/info.php?item=143
I see that from
https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/RootTreeDescription
that
"M1" stores "particle 1st mother" as calculated by "hepevt.jmohep[number][0] - 1" but I am not familiar with hepevt nor do I know what this code / number represents. Is it an index to an array element to look up the mother? When looking at my hepsim events, I have no idea how to use the M1 variable to determine the parent particle.
Can you please help me understand how to properly use the mother particle information to pick out the truth particles that I want.