[Rivet] particle charge

Andy Buckley andy.buckley at ed.ac.uk
Mon Jun 27 14:05:57 BST 2011


On 27/06/11 13:54, Hendrik Hoeth wrote:
> Hi (Andy?),
>
> what are the lines
>
>    if(ida==1000017 || ida==1000018) { charge = 0; }
>    if(ida==1000034 || ida==1000052) { charge = 0; }
>    if(ida==1000053 || ida==1000054) { charge = 0; }
>    if(ida==5100061 || ida==5100062) { charge = 6; }
>
> in threeCharge() in ParticleIdUtils.cc?

*I* have no idea (without checking the montecarlorpp file)! Q-balls or 
R-hadrons, or something similarly wacky?

I stole (and then enhanced) the contents of that source file from the 
HepPID library, to avoid introducing a package dependence for a bunch of 
inline functions... so the logic within is not of our making.

Andy

-- 
Dr Andy Buckley
SUPA Advanced Research Fellow
Particle Physics Experiment Group, University of Edinburgh

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



More information about the Rivet mailing list