Code for CMS SMP study of Z+c vs Z+b and Z+j XS's.