From 0fe4dec3b816a80165e3ef71c85a128c8c380f9c Mon Sep 17 00:00:00 2001
From: rta <kate.abigail.richardson@cern.ch>
Date: Fri, 1 Jul 2022 12:57:37 +0200
Subject: [PATCH] update Allen configuration to the one used in thi pit

---
 AllenOnline/options/AllenConfig.py | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/AllenOnline/options/AllenConfig.py b/AllenOnline/options/AllenConfig.py
index 4ff64e148..b4bf92156 100755
--- a/AllenOnline/options/AllenConfig.py
+++ b/AllenOnline/options/AllenConfig.py
@@ -50,7 +50,8 @@ options.data_type = 'Upgrade'
 options.input_type = 'MDF'
 options.dddb_tag = dddb_tag
 options.conddb_tag = conddb_tag
-
+print("dddb_tag = " + dddb_tag)
+print("options.conddb_tag = " + conddb_tag)
 options.finalize()
 config = ComponentConfig()
 
@@ -87,7 +88,7 @@ if run_online:
 
 allen_conf = AllenConfiguration()
 allen_conf.StopTimeout = 5.
-allen_conf.NThreads = 8
+allen_conf.NThreads = 12
 # Device is a string so the PCI ID can also be given
 # allen_conf.Device = "01:00.0"
 allen_conf.Device = "0"
@@ -116,12 +117,12 @@ else:
     allen_conf.Output = "allen_output.mdf"
 
 mep_provider = MEPProvider()
-mep_provider.NSlices = 36
+mep_provider.NSlices = 48
 # Events per slice should be set, and memory reserved per thread as well
-mep_provider.EventsPerSlice = 1000
+mep_provider.EventsPerSlice = 10000
 mep_provider.OutputLevel = 3
-# Number of MEP buffers and number of transpose/offset threads
-mep_provider.BufferConfig = (12, 8)
+# Number of MEP buffers and number of transpose/offset/input threads
+mep_provider.BufferConfig = (20, 4)
 mep_provider.TransposeMEPs = False
 mep_provider.SplitByRun = False
 mep_provider.ThreadPerBuffer = True
-- 
GitLab