Skip to content
Snippets Groups Projects
Commit 8dd70780 authored by John Chapman's avatar John Chapman
Browse files

Migrate TruthJiveXML package to use the HepMC::barcode helper method

parent e7222ecd
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ namespace JiveXML {
phi.push_back(DataType( (thePhi<0) ? thePhi+=2*M_PI : thePhi ));
eta.push_back(DataType( particle->momentum().pseudoRapidity() ));
code.push_back(DataType( particle->pdg_id() ));
id.push_back(DataType( particle->barcode() ));
id.push_back(DataType( HepMC::barcode(*particle) ));
// Get the vertex information
auto vertex = particle->production_vertex();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment