Merging reconstructed particles [message #2167] |
Fri, 18 March 2011 02:28 |
doublet Messages: 4 Registered: October 2008 Location: LAL |
|
|
|
Dear LCIO users,
1) I would like to merge ReconstructedParticles which are present in a collection "myParticles" but appear in a collection of composites ReconstructedParticles "myJets" where I have added them via the method addParticles().
My concrete case is for bremsstrahlung photons that I want to add to their electron :
- If I do electron.addParticle(photon), then remove photon from "myParticles", am I sure that the changes are also made in "myJets" collection ?
Is this the best way to do so ?
Or do I have to create new collections and use new IMPLs ?
2) And by the way, when I am using addParticles(), is there a way to recalculate the energy-momentum without using an IMPL ?
Thank you in advance for you help.
Regards,
Philippe.
|
|
|