Linear Collider Forum

Home » Software Tools » LCIO » Merging reconstructed particles
Merging reconstructed particles [message #2167] Fri, 18 March 2011 02:28
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.
Read Message
Previous Topic:GeomConverter build failedh
Next Topic:const correctness of LCTime
Goto Forum:

Current Time: Sat Feb 22 23:58:43 Pacific Standard Time 2020
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software