- pagebs's home page
- Posts
- 2017
- June (1)
- 2016
- 2015
- 2014
- December (2)
- November (1)
- October (2)
- September (4)
- August (1)
- July (2)
- June (2)
- May (3)
- April (2)
- March (2)
- February (2)
- January (1)
- 2013
- November (1)
- October (3)
- September (2)
- August (3)
- July (4)
- June (4)
- May (2)
- April (2)
- March (2)
- February (4)
- January (2)
- 2012
- December (2)
- November (3)
- October (2)
- September (1)
- August (3)
- July (3)
- June (6)
- May (2)
- April (3)
- March (3)
- February (2)
- January (2)
- 2011
- December (2)
- November (1)
- October (7)
- September (3)
- August (2)
- July (5)
- June (2)
- May (2)
- April (4)
- March (2)
- January (1)
- 2010
- December (2)
- October (4)
- September (1)
- August (4)
- July (1)
- June (2)
- May (2)
- March (4)
- February (2)
- January (2)
- 2009
- December (1)
- November (2)
- October (1)
- September (2)
- August (1)
- July (2)
- June (1)
- May (2)
- April (2)
- March (1)
- February (1)
- January (6)
- 2008
- My blog
- Post new blog entry
- All blogs
L2jet Investigation: Ross's Code
Here I note some discrepencies between my 5x5 JP jet code using L2VirtualAlgo2006 and my 5x5 JP jet code using L2VirtualAlgo2009.
The diagnostic plots from VirtAlgo2006 are found here and the plots from VirtAlgo2009 are here.
In particular the bottom left plot on page 5 seems troubling.
Solution
I believe that the problem was with the parts of the code which calculated the energy weighted eta and phi positions of the jet patches. To garud against dividing by zero while doing the averaging, certain variables were initiated to a small value, 1.0. This value was small compared to the raw adc values used in VirtAlgo2006 but were sizable compared to the calabrated energy gotten from the event stream in VirtAlgo2009. These initial values were skewing the averages. To rectify this, I have changed it so that these variables are initialized to 0.001 which should be small enough not to significantly impact the weighted positions. Details of the changes follow on my next blog page.
- pagebs's blog
- Login or register to post comments