From 6c3122a25da2444f45b7a72f340162f34720494d Mon Sep 17 00:00:00 2001
From: Marija Glisic <marija.glisic@cern.ch>
Date: Wed, 16 Dec 2020 12:09:32 +0100
Subject: [PATCH 1/4] fix C1 decay, check log of dsid 501152

---
 501xxx/501152/log.generate.short | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 501xxx/501152/log.generate.short

diff --git a/501xxx/501152/log.generate.short b/501xxx/501152/log.generate.short
new file mode 100644
index 0000000000..1065e8c1b5
--- /dev/null
+++ b/501xxx/501152/log.generate.short
@@ -0,0 +1,4 @@
+- estimated CPU for CI job = 0.01 hrs
+- using release =  AthGeneration-21.6.46.1
+- ecmEnergy =  13000.0
+- LHEonly =  False
-- 
GitLab


From 409f1f867ceb33a2ccdc594909b92913da77a019 Mon Sep 17 00:00:00 2001
From: Marija Glisic <marija.glisic@cern.ch>
Date: Wed, 16 Dec 2020 12:10:13 +0100
Subject: [PATCH 2/4] fix C1 decay, check log of dsid 501152

---
 501xxx/501138/SUSY_RPV_C1N2N1.py | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/501xxx/501138/SUSY_RPV_C1N2N1.py b/501xxx/501138/SUSY_RPV_C1N2N1.py
index fb1ab9ecc5..dbc3d29211 100644
--- a/501xxx/501138/SUSY_RPV_C1N2N1.py
+++ b/501xxx/501138/SUSY_RPV_C1N2N1.py
@@ -18,7 +18,10 @@ headerC1 = 'DECAY   1000024  ' + decayWidthStr
 headerN2 = 'DECAY   1000023  ' + decayWidthStr
 evgenLog.info('lifetime of 1000022 is set to %s ns'% neutralinoLifetime)
 
-run_settings.update({'time_of_flight':'1E-2', 'event_norm':'average'})
+evgenConfig.nEventsPerJob = 5000
+evt_multiplier=2
+nevents = runArgs.maxEvents*evt_multiplier if runArgs.maxEvents>0 else evt_multiplier*evgenConfig.nEventsPerJob
+run_settings.update({'time_of_flight':'1E-2', 'event_norm':'average', 'nevents':int(nevents)})
 
 if realdecaytype == "rpvdem":
         branchingRatiosN1 = '''
@@ -62,13 +65,13 @@ if realdecaytype == "rpvdem":
         0.04      3    6  1  6
         0.04      3    6  3  6
         0.04      3    6  5  6
-        0.04      3    1  1  3
-        0.04      3    1  1  5
-        0.04      3    1  3  3
-        0.04      3    1  3  5
-        0.04      3    1  5  5
-        0.04      3    3  3  5
-        0.04      3    3  5  5
+        0.04      3    -1  -1  -3
+        0.04      3    -1  -1  -5
+        0.04      3    -1  -3  -3
+        0.04      3    -1  -3  -5
+        0.04      3    -1  -5  -5
+        0.04      3    -3  -3  -5
+        0.04      3    -3  -5  -5
         '''
 elif realdecaytype == "rpvLF":
         branchingRatiosN1 = '''
@@ -84,8 +87,8 @@ elif realdecaytype == "rpvLF":
         0.1250000    3     2     1     2       # BR(~chi_1+ -> u d u)
         0.1250000    3     2     3     4       # BR(~chi_1+ -> u s c)
         0.1250000    3     2     3     2       # BR(~chi_1+ -> u s u)
-        0.1250000    3     1     1     3       # BR(~chi_1+ -> d d s)
-        0.1250000    3     1     3     3       # BR(~chi_1+ -> d s s)
+        0.1250000    3     -1    -1    -3      # BR(~chi_1+ -> d d s)
+        0.1250000    3     -1    -3    -3      # BR(~chi_1+ -> d s s)
         0.1250000    3     4     1     4       # BR(~chi_1+ -> c d c)
         0.1250000    3     4     3     4       # BR(~chi_1+ -> c s c)
         #'''
-- 
GitLab


From bf780b17cbd39fb19f0ceb5e4f0e158e1fffe4e1 Mon Sep 17 00:00:00 2001
From: Marija Glisic <marija.glisic@cern.ch>
Date: Wed, 16 Dec 2020 13:08:15 +0100
Subject: [PATCH 3/4] removed nEventsPerJob line

---
 501xxx/501138/SUSY_RPV_C1N2N1.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/501xxx/501138/SUSY_RPV_C1N2N1.py b/501xxx/501138/SUSY_RPV_C1N2N1.py
index dbc3d29211..62e3bd559e 100644
--- a/501xxx/501138/SUSY_RPV_C1N2N1.py
+++ b/501xxx/501138/SUSY_RPV_C1N2N1.py
@@ -18,7 +18,6 @@ headerC1 = 'DECAY   1000024  ' + decayWidthStr
 headerN2 = 'DECAY   1000023  ' + decayWidthStr
 evgenLog.info('lifetime of 1000022 is set to %s ns'% neutralinoLifetime)
 
-evgenConfig.nEventsPerJob = 5000
 evt_multiplier=2
 nevents = runArgs.maxEvents*evt_multiplier if runArgs.maxEvents>0 else evt_multiplier*evgenConfig.nEventsPerJob
 run_settings.update({'time_of_flight':'1E-2', 'event_norm':'average', 'nevents':int(nevents)})
-- 
GitLab


From 3ffc44acc2187e1ac4de8a938d7a6f38be569ee9 Mon Sep 17 00:00:00 2001
From: Marija Glisic <marija.glisic@cern.ch>
Date: Wed, 16 Dec 2020 13:30:07 +0100
Subject: [PATCH 4/4] removed log.generate.short [skip modfiles]

---
 501xxx/501152/log.generate.short | 4 ----
 1 file changed, 4 deletions(-)
 delete mode 100644 501xxx/501152/log.generate.short

diff --git a/501xxx/501152/log.generate.short b/501xxx/501152/log.generate.short
deleted file mode 100644
index 1065e8c1b5..0000000000
--- a/501xxx/501152/log.generate.short
+++ /dev/null
@@ -1,4 +0,0 @@
-- estimated CPU for CI job = 0.01 hrs
-- using release =  AthGeneration-21.6.46.1
-- ecmEnergy =  13000.0
-- LHEonly =  False
-- 
GitLab