Home » Hades » Pluto » [SOLVED] Beam Smear and Cross Sections
Re: Bear Smear and Cross Sections [message #13884 is a reply to message #13877] |
Fri, 24 August 2012 16:28 |
Ingo Froehlich
Messages: 167 Registered: March 2004 Location: IKF - Frankfurt
|
first-grade participant |
From: *x-matter.uni-frankfurt.de
|
|
Michael Kunkel wrote on Thu, 23 August 2012 05:05 | I am not sure if I am doing something wrong, or the model technique is flawed, or both.
|
As you already guessed, it was a combination. I found a typo in my calculation of the beam energy, and corrected it.
In your macro, you boosted the object "myeta" 2 times (in the histo2 and histo4 command). Therefore histo4 was corrupted. You can just remove the boost command in histo4.
I added also a SetNpx/y command in PScatterDistribution, just in case that you want to change it when you see steps (it calls just GetRandom2 via a wrapper with all the drawbacks)
The TGraph version will come later - I don't want to change too many things at the same time.
PS: Do not forget that the y-axis (a linear increase of _f) was just dummy.
--
Ingo Froehlich
IKF - University of Frankfurt
069-798-47027, FAX: -47024
|
|
|
Goto Forum:
Current Time: Sun Oct 06 06:58:22 CEST 2024
Total time taken to generate the page: 0.00644 seconds
|