From 6ead61fa3f25bc0fd5945eaf6f0567e18014b8f4 Mon Sep 17 00:00:00 2001 From: Frank Gaede <frank.gaede@desy.de> Date: Wed, 15 Oct 2014 11:26:57 +0000 Subject: [PATCH] - fixed MCParticle charge to be 1. for e+ --- DDG4/lcio/Geant4Output2LCIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDG4/lcio/Geant4Output2LCIO.cpp b/DDG4/lcio/Geant4Output2LCIO.cpp index 7c62ff6b6..aff0ec9ad 100644 --- a/DDG4/lcio/Geant4Output2LCIO.cpp +++ b/DDG4/lcio/Geant4Output2LCIO.cpp @@ -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); -- GitLab