HepMC
2.05 Barcode Convention

HepMC Savannah ] [ HepMC Homepage ] [ Downloads ]

Proposed Changes ]
Status Codes ] [ Barcodes ] [ Vector Methods ] [ Cross Section ] [ IO Issues ] [ Other Issues ]
User Manual ] [ Doxygen Reference Manual ]

Please use the Savannah support thread sr #106968 for comments.

Barcodes are intended for internal use within HepMC as a unique identifier for the particles and vertices.

However, the barcode is being used in some cases to encode extra Monte Carlo truth information. This is an abuse of the barcode data member and causes confusion among users.

See sr# for details of the barcode discussion.

The proposal to make suggest_barcode() a protected function was not approved.

The documentation about barcodes will be improved. A clear explanation of the (ab)use of barcodes to store MC truth information will be added.

Please use the Savannah support thread sr #106968 for comments.