Opened 8 years ago
Last modified 8 years ago
#972 new How to
GenJets and Jets collections with empty Particle branches
Reported by: | Alexis Kalogeropoulos | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | Cc: |
Description
Hello
Looking this
https://cp3.irmp.ucl.ac.be/projects/delphes/wiki/WorkBook/RootTreeDescription
I think it is bit outdated, as in delphes3, there is no GenParticle collection, but there is GenJets for instance. In any case, my question is this : In both the GenJets and Jets collections, the "Particles" Branch is empty - Is this on purpose ? Can I activate it somehow ?
Regards
Note:
See TracTickets
for help on using tickets.
Hi,
the branches are not empty, they just don't show in the TBrowser root.
If you want to access Particle you can have a look at examples/Example3.C and replace in:
https://github.com/delphes/delphes/blob/master/examples/Example3.C#l174-176
"Constituents" by "Particles"
This said, you probably want to access constituents though, which for GenJets are only gen particles and for Jets they are tracks and towers.
Michele