Skip to content
Snippets Groups Projects
Commit 6ead61fa authored by Frank Gaede's avatar Frank Gaede
Browse files

- fixed MCParticle charge to be 1. for e+

parent 2483e477
No related branches found
No related tags found
No related merge requests found
......@@ -194,7 +194,7 @@ lcio::LCCollectionVec* Geant4Output2LCIO::saveParticles(Geant4ParticleMap* parti
q->setTime(p->time/ns);
q->setMass(p->mass/GeV);
q->setCharge(def ? def->GetPDGCharge()/3.0 : 0); // Charge(e+) = 1 !
q->setCharge(def ? def->GetPDGCharge() : 0); // Charge(e+) = 1 !
// Set generator status
q->setGeneratorStatus(0);
......
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