GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Hades » Pluto » [SOLVED] PAnyDistribution Add Multiple equation
Re: PAnyDistribution Add Multiple equation [message #14026 is a reply to message #14024] Mon, 01 October 2012 02:59 Go to previous message
Michael Kunkel is currently offline  Michael Kunkel
Messages: 53
Registered: June 2011
continuous participant
From: *hr.hr.cox.net
The observable I am attempting to control is the t-slope as a function of beam energy. I assumed _parent->GetBeam() would be the beam energy alone and I would have to boost this into to c.m. of the system.


As the way you wrote the example,

decay->AddEquation("beam2 = _parent->GetBeam(); if (beam2->KE() < 4.6) _f = exp( 6.9*t1 );");
decay->AddEquation("if (beam2->KE() >= 4.6) _f = exp( 8.9*t1 );");



This beam2 is in the lab frame, I presume?
 
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] PAnyDistribution broke in v5.40.5
Next Topic: how to calculate 'enhance'
Goto Forum:
  


Current Time: Sat Nov 02 22:26:25 CET 2024

Total time taken to generate the page: 0.00892 seconds