From 6ad52551ba1beb7603b22ccdcd4e81e92f0ed647 Mon Sep 17 00:00:00 2001
From: Alaettin Serhan Mete <alaettin.serhan.mete@cern.ch>
Date: Tue, 13 Feb 2024 19:02:23 +0100
Subject: [PATCH] AthenaPoolCnvSvc: Align D2AOD settings w/ DAOD_PHYSLITE

---
 Database/AthenaPOOL/AthenaPoolCnvSvc/python/PoolWriteConfig.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Database/AthenaPOOL/AthenaPoolCnvSvc/python/PoolWriteConfig.py b/Database/AthenaPOOL/AthenaPoolCnvSvc/python/PoolWriteConfig.py
index 78ecd75dbaad..268f32b9e603 100644
--- a/Database/AthenaPOOL/AthenaPoolCnvSvc/python/PoolWriteConfig.py
+++ b/Database/AthenaPOOL/AthenaPoolCnvSvc/python/PoolWriteConfig.py
@@ -92,6 +92,8 @@ def PoolWriteCfg(flags):
             compAlg, compLvl, autoFlush, splitLvl, dynSplitLvl = defaults[stream]
         elif "DAOD" in stream:
             compAlg, compLvl, autoFlush, splitLvl, dynSplitLvl = 5, 5, 100, 0, 1 # Change the defaults for DAODs
+        elif "D2AOD" in stream:
+            compAlg, compLvl, autoFlush, splitLvl, dynSplitLvl = 5, 5, 500, 1, 1 # Change the defaults for D2AODs
 
         # For temporary files we always use ZLIB for compression algorithm
         compAlg = 1 if fileName.endswith('_000') or fileName.startswith('tmp.') else compAlg
-- 
GitLab