From 69553233a43cd2c62a7cfbe95128196b8a9f54d7 Mon Sep 17 00:00:00 2001
From: Frank Gaede <frank.gaede@desy.de>
Date: Fri, 26 Sep 2014 12:49:42 +0000
Subject: [PATCH]  - fixed charge (don't deveide by three)

---
 DDG4/lcio/LCIOMCParticles.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DDG4/lcio/LCIOMCParticles.cpp b/DDG4/lcio/LCIOMCParticles.cpp
index ead4aad2a..0d406abdf 100644
--- a/DDG4/lcio/LCIOMCParticles.cpp
+++ b/DDG4/lcio/LCIOMCParticles.cpp
@@ -95,7 +95,7 @@ namespace DD4hep {
 	  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
 	  //if ( mask.isSet(G4PARTICLE_GEN_EMPTY) ) 
-- 
GitLab