From c28cb925a9c5bff1f207d381ee804b3585d9efc3 Mon Sep 17 00:00:00 2001
From: Frank Gaede <frank.gaede@desy.de>
Date: Thu, 20 Apr 2023 15:50:44 +0200
Subject: [PATCH] remove old commented code

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

diff --git a/DDG4/src/Geant4FastSimShowerModel.cpp b/DDG4/src/Geant4FastSimShowerModel.cpp
index 69496dac3..de30aa2cd 100644
--- a/DDG4/src/Geant4FastSimShowerModel.cpp
+++ b/DDG4/src/Geant4FastSimShowerModel.cpp
@@ -186,7 +186,7 @@ void Geant4FastSimShowerModel::constructSensitives(Geant4DetectorConstructionCon
   G4Region* region = this->getRegion(this->m_regionName);
   for(const auto& prop : this->m_eTriggerNames)    {
     G4ParticleDefinition* def = this->getParticleDefinition(prop.first);
-    double val = dd4hep::_toDouble(prop.second) ; // allready in G4units /dd4hep::GeV*CLHEP::GeV;
+    double val = dd4hep::_toDouble(prop.second) ; // allready in G4units
     this->m_eTriggerCut.emplace(def, val);
     this->info("Set Energy(ModelTrigger) [%-16s] = %8.4f GeV", prop.first.c_str(), val);
   }
-- 
GitLab