You ask whether the men were assigned to Company B. The short answer is no. In the summer of 1861 everyone was a volunteer; conscription didn't start until a year later. So those Irishmen chose to form a company together, no one was assigning them. The same with William Howell.
George