From 2330a74cf3d696e77a6a71df8b46223c288b77c6 Mon Sep 17 00:00:00 2001
From: Markus Frank <Markus.Frank@cern.ch>
Date: Wed, 10 Aug 2022 19:16:58 +0200
Subject: [PATCH] Allow to set MeanExcEnergy, MeanEnergyPerIonPair and
 BirksConstant in G4Materials ionisation parameters

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

diff --git a/DDG4/src/Geant4Converter.cpp b/DDG4/src/Geant4Converter.cpp
index 45c78fb79..21c50e8b2 100644
--- a/DDG4/src/Geant4Converter.cpp
+++ b/DDG4/src/Geant4Converter.cpp
@@ -525,7 +525,7 @@ void* Geant4Converter::handleMaterial(const string& name, Material medium) const
       str << (*mat);
       str << "          log(MEE): " << std::setprecision(4) << ionisation->GetLogMeanExcEnergy();
       if ( ionisation_birks_constant > 0e0 )
-	str << "  Birk's constant: " << std::setprecision(4) << ionisation->GetBirksConstant() << " [MeV/mm]";
+	str << "  Birk's constant: " << std::setprecision(4) << ionisation->GetBirksConstant() << " [mm/MeV]";
       if ( ionisation_ene_per_ion_pair > 0e0 )
 	str << "  Mean Energy Per Ion Pair: " << std::setprecision(4) << ionisation->GetMeanEnergyPerIonPair()/CLHEP::eV << " [eV]";
     }
-- 
GitLab