GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Hades » Pluto » [SOLVED] GetBeam Function
Re: GetBeam Function [message #13335 is a reply to message #13334] Mon, 16 April 2012 20:26 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: *dip.t-dialin.net
GetBeam() returns a PParticle object, so I think you should use something like

my_reaction.Do(histo2,"_x = ([g+p]->GetBeam())->E()");

to project a scalar onto the x-axis.

ene is empty, because you use a second proton, but in the outgoing channel you have only one (I know I should throw some warning but this is not so easy for mixed channels)



--
Ingo Froehlich
IKF - University of Frankfurt
069-798-47027, FAX: -47024
 
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] Beam Smearing
Next Topic: Pion off Nuclei [quasi-free]
Goto Forum:
  


Current Time: Sun Apr 14 01:11:57 CEST 2024

Total time taken to generate the page: 0.01191 seconds