- jwebb's home page
- Posts
- 2019
- 2018
- 2017
- 2016
- 2015
- 2014
- 2013
- November (1)
- October (1)
- September (1)
- July (1)
- June (1)
- April (1)
- March (3)
- February (1)
- January (1)
- 2012
- 2011
- December (2)
- September (3)
- August (5)
- July (6)
- June (6)
- May (1)
- April (5)
- March (5)
- February (2)
- January (2)
- 2010
- December (3)
- October (3)
- September (2)
- August (2)
- June (2)
- May (4)
- April (4)
- March (2)
- February (4)
- January (10)
- 2009
- 2008
- 2007
- 2006
- July (1)
- My blog
- Post new blog entry
- All blogs
List of ROOT annoyances
- Looks like the particle database has some issues:
root [1] TDatabasePDG table; root [2] table.GetParticle(11).Print(); e- 11 Mass: 0.0005 Width (GeV): Stable Charge: -3.0 Channel Code BranchingRatio Nd ...................Daughters.................... 0 102 0.00000e+00 2 gamma( 22) e-( 11) 1 102 0.00000e+00 2 Z0( 23) e-( 11) 2 102 0.00000e+00 2 W-( -24) nu_e( 12) 3 102 0.00000e+00 2 h0( 25) e-( 11) root [3] cout << table.GetParticle(11).Spin() << " " << table.GetParticle(11).Parity() << endl; 0 0
a) First, all charges in units of |e|/3. This is documented (if somewhat annoying and unexpected given that
they use a double precision function to return something which is always going to be an integer)
b) Second, spin and parity are zero. Why give access methods if you don't plan to fill the data, hmmm?
Groups:
- jwebb's blog
- Login or register to post comments