From d1577920b5513d6c468c8fb1b140b97915314925 Mon Sep 17 00:00:00 2001
From: Sarah Gaiser <s.gaiser96@gmx.de>
Date: Wed, 29 May 2024 13:53:13 -0700
Subject: [PATCH] adding singles2 trigger for overlay reconstruction

---
 ...2019TrigSinglesWithPulserDataMerging.lcsim | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/steering-files/src/main/resources/org/hps/steering/readout/PhysicsRun2019TrigSinglesWithPulserDataMerging.lcsim b/steering-files/src/main/resources/org/hps/steering/readout/PhysicsRun2019TrigSinglesWithPulserDataMerging.lcsim
index 27bb2227a..f1afda715 100644
--- a/steering-files/src/main/resources/org/hps/steering/readout/PhysicsRun2019TrigSinglesWithPulserDataMerging.lcsim
+++ b/steering-files/src/main/resources/org/hps/steering/readout/PhysicsRun2019TrigSinglesWithPulserDataMerging.lcsim
@@ -35,7 +35,8 @@
 
        
         <!-- Trigger Simulation -->
-        <driver name="SinglesTrigger"/>
+        <driver name="SinglesTrigger2"/>
+        <driver name="SinglesTrigger3"/>
 
 	<driver name="SvtDigitizationWithPulserDataMergingDriver"/>
 
@@ -395,7 +396,7 @@
 	</driver>  
 
         
-        <driver name="SinglesTrigger" type="org.hps.readout.trigger2019.SinglesTrigger2019ReadoutDriver">
+        <driver name="SinglesTrigger3" type="org.hps.readout.trigger2019.SinglesTrigger2019ReadoutDriver">
             <inputCollectionNameEcal>EcalClustersGTP</inputCollectionNameEcal>
 
             <inputCollectionNameHodo>HodoscopePatterns</inputCollectionNameHodo>
@@ -406,6 +407,20 @@
             <deadTime>15</deadTime>            
 
         </driver>
+
+        <driver name="SinglesTrigger2" type="org.hps.readout.trigger2019.SinglesTrigger2019ReadoutDriver">
+            <inputCollectionNameEcal>EcalClustersGTP</inputCollectionNameEcal>
+
+            <inputCollectionNameHodo>HodoscopePatterns</inputCollectionNameHodo>
+
+            <triggerType>singles2</triggerType>
+
+            <daqConfigurationAppliedintoReadout>true</daqConfigurationAppliedintoReadout>
+
+            <!-- Units of 2 ns beam bunches. -->
+            <deadTime>15</deadTime>
+
+        </driver>
                     
 
         <driver name="SvtDigitizationWithPulserDataMergingDriver" type="org.hps.digi.SvtDigitizationWithPulserDataMergingReadoutDriver">