Skip to content
Snippets Groups Projects
Commit cb872d35 authored by Andre Sailer's avatar Andre Sailer
Browse files

Gean4InputHandling: createG4Primary: add comment about setting mass

parent f65e6ea8
No related branches found
No related tags found
No related merge requests found
......@@ -351,7 +351,9 @@ static G4PrimaryParticle* createG4Primary(const Geant4ParticleHandle p) {
g4 = new G4PrimaryParticle(def, p->psx, p->psy, p->psz, p.energy());
g4->SetCharge(p.charge());
}
g4->SetMass(p->mass);
// The particle is fully defined with the 4-vector set above, setting the mass isn't necessary, not
// using the 4-vector, means the PDG mass is used, and the momentum is scaled if the mass is set here
// g4->SetMass(p->mass);
return g4;
}
......
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