From 3a43ac5d3cc13c98b3e3362033fcb55f680bdfb3 Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Sun, 7 May 2023 13:40:21 -0500
Subject: [PATCH] Geant4Output2EDM4hep: use std::string; using first

---
 DDG4/edm4hep/Geant4Output2EDM4hep.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/DDG4/edm4hep/Geant4Output2EDM4hep.cpp b/DDG4/edm4hep/Geant4Output2EDM4hep.cpp
index 87dac57a2..a40893001 100644
--- a/DDG4/edm4hep/Geant4Output2EDM4hep.cpp
+++ b/DDG4/edm4hep/Geant4Output2EDM4hep.cpp
@@ -45,13 +45,13 @@ namespace dd4hep {
     protected:
       using writer_t = podio::ROOTFrameWriter;
       using stringmap_t = std::map< std::string, std::string >;
+      using trackermap_t = std::map< std::string, edm4hep::SimTrackerHitCollection >;
+      using calorimeterpair_t std::pair< edm4hep::SimCalorimeterHitCollection, edm4hep::CaloHitContributionCollection >;
+      using calorimetermap_t = std::map< std::string, calorimeterpair_t >;
       std::unique_ptr<writer_t>     m_file  { };
       podio::Frame                  m_frame { };
       edm4hep::MCParticleCollection m_particles { };
-      using trackermap_t = std::map<string, edm4hep::SimTrackerHitCollection>;
       trackermap_t                  m_trackerHits;
-      using calorimeterpair_t std::pair<edm4hep::SimCalorimeterHitCollection, edm4hep::CaloHitContributionCollection>;
-      using calorimetermap_t = std::map<string, calorimeterpair_t>;
       calorimetermap_t              m_calorimeterHits;
       stringmap_t                   m_runHeader;
       stringmap_t                   m_eventParametersInt;
-- 
GitLab