From 378e8215642a5b4529fca2cac6a13869423647fb Mon Sep 17 00:00:00 2001 From: BrieucF Date: Fri, 11 Oct 2024 14:55:07 +0200 Subject: [PATCH] Edm4hep format as default when both edm4hep and lcio enabled --- DDG4/python/DDSim/Helper/OutputConfig.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DDG4/python/DDSim/Helper/OutputConfig.py b/DDG4/python/DDSim/Helper/OutputConfig.py index e4c6ac6e0..3a30510cd 100644 --- a/DDG4/python/DDSim/Helper/OutputConfig.py +++ b/DDG4/python/DDSim/Helper/OutputConfig.py @@ -12,9 +12,9 @@ def defaultOutputFile(): - if DD4HEP_USE_LCIO: - return "dummyOutput.slcio" - return "dummyOutput.root" + if DD4HEP_USE_LCIO and not DD4HEP_USE_EDM4HEP: + return "ddsimOutput.slcio" + return "ddsimOutput.root" class OutputConfig(ConfigHelper):