Will go through the code and slowly label the places where barcode is used as a unique id (truth matching) and where it is checked to indicate the origin of a particle (finding lots of bugs in the latter).
Tagging @zmarshal and @abuckley