GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Hades » Pluto » [SOLVED] GetBeam Function
Re: GetBeam Function [message #13337 is a reply to message #13335] Mon, 16 April 2012 21:42 Go to previous message
Michael Kunkel is currently offline  Michael Kunkel
Messages: 53
Registered: June 2011
continuous participant
From: 129.57.114*
Thanks for helping me with the GetBeam, I had tried that but I used
_x = [g+p]->GetBeam()->E()

instead of

_x = ([g+p]->GetBeam())->E()

Thanks for that clarification.

As for the histo3, I understand. I had tried using
[p,1]+[eta]-([g+p]->GetTarget())
but as you stated before, this just points to the PParticle, instead I had to

   my_reaction.Do(histo3,"ene = (([p,1] + [eta])) ;_x=ene->E() - 0.938272");


 
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] Beam Smearing
Next Topic: Pion off Nuclei [quasi-free]
Goto Forum:
  


Current Time: Sat Apr 20 13:04:13 CEST 2024

Total time taken to generate the page: 0.01037 seconds