GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Hades » Pluto » the simulation of ep to e delta(1910)+, delta(1910)+ to Sigma(1385)^0 K+
Re: the simulation of ep to e delta(1910)+, delta(1910)+ to Sigma(1385)^0 K+ [message #19251 is a reply to message #19246] Fri, 29 April 2016 17:58 Go to previous messageGo to previous message
Ingo Froehlich is currently offline  Ingo Froehlich
Messages: 167
Registered: March 2004
Location: IKF - Frankfurt
first-grade participant
From: *dip0.t-ipconnect.de
Hi,

I think you are not doing the decay correctly. For each decay Pluto needs a "primary model" which is doing the mass sampling of the parent. So what you need is not distribution (which is changing the shape of a decay), but a model which samples the mass of the dilepton.

These classes are inherited from PChannelModel (instead of PDistribution).

For each decay, Pluto attaches one single channel model to each decay channel. If no custom model is added (as said the object "sigmadecaytoLee" is not registered as a model), Pluto loops over the existing classes and try to do its best. And therefore it chooses PDalitzDecay but not your custom class.

One can see this very nicely in PDalitzDecay, that it is inherited from PChannelModel. Maybe you could use this class as a template for a new decay?

If you now construct your own decay model, the one thing one has to know: either one adds the decay key as a last option by hand in the ctor (not recommended) or one can let Pluto find out which is the correct key by using the following syntax for the id ("sigma13850_to_e+_e-_lambda_matrix" in your case):

id@parent_anything_list_of_daughters

with "id" and "anything" as arbitrary names, and "list_of_daughters" the underscore separated list of daughters

e.g. mysigma13850decay@sigma13850_to_Lambda_dilepton




--
Ingo Froehlich
IKF - University of Frankfurt
069-798-47027, FAX: -47024
 
Read Message
Read Message
Read Message
Previous Topic: differential cross section
Next Topic: [SOLVED]generate rho0->pi+pi- but found the rho0 has no width
Goto Forum:
  


Current Time: Sat Jul 31 10:49:06 CEST 2021

Total time taken to generate the page: 0.02335 seconds