Print

Print


Anyone have a good answer for this?

On Jun 18, 2014, at 10:25 AM, Rafayel Paremuzyan <[log in to unmask]> wrote:

> Dear jeremy,
> 
> I am running a very simple code over Mock Data,
> and now I am trying to get Lorentz Vectors of two MCParticles, and 
> reconstruct their invariant mass.
> 
> In the following documentation
> http://www.lcsim.org/sites/lcsim/apidocs/index.html
> I found a method "asFourVector" which returns "HepLorentzVector" type 
> object,
> however looks like "HepLorentzVector" has very limited methods, and in 
> particular I didn't
> find a way to sum two "HepLorentzVector"s.
> 
> There is also another class "Lorentz4Vector" which has much more methods 
> including the sum.
> Now I am not sure how to get Lorentz4Vector from MCParticle.
> 
> Is there a simple way of doing that?
> 
> Rafayel
> 

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1