gcowan / RapidSim

Phase space generation of b hadron decays
MIT License
18 stars 29 forks source link

Decay is kinematically forbidden #11

Closed ezfisher closed 7 years ago

ezfisher commented 7 years ago

Hi, I am using RapidSim in lxplus to simulate the decay of Bs0 -> J/psi phi and it is returning the error that the decay is kinematically forbidden. I see that the issue is for the some reason, the program is assigning the same nonexistent ID number to each particle and giving them a mass of 0 GeV. How do I go about fixing this? I've attached a screenshot of the error that RapidSim keeps throwing.

Thanks, Eric

screenshot from 2017-06-14 11-34-33

gcowan commented 7 years ago

The problem is that the “Bs” should be called “Bs0”.

Greig

On 14 Jun 2017, at 16:42, ezfisher notifications@github.com wrote:

Hi, I am using RapidSim in lxplus to simulate the decay of Bs0 -> J/psi phi and it is returning the error that the decay is kinematically forbidden. I see that the issue is for the some reason, the program is assigning the same nonexistent ID number to each particle and giving them a mass of 0 GeV. How do I go about fixing this? I've attached a screenshot of the error that RapidSim keeps throwing.

Thanks, Eric

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

dcraik commented 7 years ago

Hi Eric,

It looks like you've forgotten to set the environment variable $RAPIDSIM_ROOT. This should point to the path where you have installed RapidSim. The particle data is then loaded from $RAPIDSIM_ROOT/config/particles.dat This is also the reason why you're getting warnings from RapidConfig::loadSmearing.

Cheers, Dan