From abaac52deda3254ba9f7621fce7d5bb24701f166 Mon Sep 17 00:00:00 2001
From: Daniela Rebuzzi <drebuzzi@lxplus921.cern.ch>
Date: Tue, 3 Dec 2024 14:13:00 +0100
Subject: [PATCH 1/2] jobOption first commit

---
 700xxx/700948/log.generate.short              |  7 +++
 700xxx/700948/mc.Sh_2214_ysyLO_ee.py          | 63 +++++++++++++++++++
 .../mc_13p6TeV.Sh_2214_ysyLO_ee.GRID.tar.gz   |  1 +
 700xxx/700949/log.generate.short              |  7 +++
 700xxx/700949/mc.Sh_2214_ysyLO_mumu.py        | 62 ++++++++++++++++++
 .../mc_13p6TeV.Sh_2214_ysyLO_mumu.GRID.tar.gz |  1 +
 6 files changed, 141 insertions(+)
 create mode 100644 700xxx/700948/log.generate.short
 create mode 100755 700xxx/700948/mc.Sh_2214_ysyLO_ee.py
 create mode 120000 700xxx/700948/mc_13p6TeV.Sh_2214_ysyLO_ee.GRID.tar.gz
 create mode 100644 700xxx/700949/log.generate.short
 create mode 100755 700xxx/700949/mc.Sh_2214_ysyLO_mumu.py
 create mode 120000 700xxx/700949/mc_13p6TeV.Sh_2214_ysyLO_mumu.GRID.tar.gz

diff --git a/700xxx/700948/log.generate.short b/700xxx/700948/log.generate.short
new file mode 100644
index 0000000000..c99bfbe84d
--- /dev/null
+++ b/700xxx/700948/log.generate.short
@@ -0,0 +1,7 @@
+- estimated CPU for CI job = 0.09 hrs
+- using release =  AthGeneration-23.6.33
+- ecmEnergy =  13600.0
+- randomSeed =  28983
+- EVNT to EVNT =  False
+- LHEonly =  False
+- platform =  x86_64-el9-gcc13-opt
\ No newline at end of file
diff --git a/700xxx/700948/mc.Sh_2214_ysyLO_ee.py b/700xxx/700948/mc.Sh_2214_ysyLO_ee.py
new file mode 100755
index 0000000000..9b7772a56b
--- /dev/null
+++ b/700xxx/700948/mc.Sh_2214_ysyLO_ee.py
@@ -0,0 +1,63 @@
+include("Sherpa_i/Base_Fragment.py")
+include("Sherpa_i/NNPDF30NNLO.py")
+evgenConfig.inputconfcheck = "Sh_2214_ysyLO_ee"
+
+
+evgenConfig.description = "Sherpa eegamma + 0,1,2,3j@LO with yy* cuts, no Higgs"
+evgenConfig.keywords = ["SM", "2electron", "photon", "LO" ]
+evgenConfig.contact  = [ "atlas-generators-sherpa@cern.ch", "danning.liu@cern.ch" ]
+
+genSeq.Sherpa_i.RunCard = """
+(run){
+  % tags for process setup
+  NJET:=3; QCUT:=20;
+
+  % me generator settings
+  ME_SIGNAL_GENERATOR Comix;
+
+  MASS[25]=1e10
+
+}(run)
+
+(processes){
+  Process 93 93 -> 22 11 -11 93{NJET}
+  Order (*,3); CKKW sqr(QCUT/E_CMS)
+  PSI_ItMin 20000 {4}
+  Integration_Error 0.99 {4}
+  PSI_ItMin 50000 {5,6}
+  Integration_Error 0.99 {5,6}
+  End process
+}(processes)
+
+(selector){
+
+# mll > 2*ml
+Mass 11 -11 0.001022 55
+
+# pT dilepton > 28
+"PT" 90,90  28,E_CMS
+
+# pt lepton
+ MinSelector {
+   "PT" 90 19.5,E_CMS:0.5,E_CMS [PT_UP]
+   "PT" 90 13.0,E_CMS:4.5,E_CMS [PT_UP]
+  }
+
+# pT photon > 28
+"PT" 22 28,E_CMS [PT_UP]
+
+# three-body mass
+"Calc(Mass(p[0]+p[1]+p[2])>95.0)" 11,-11,22 1,1
+
+#photon isolation cuts
+  IsolationCut  22  0.1  2  0.10
+  DeltaR  22  90  0.1 1000.0
+
+
+}(selector)
+"""
+
+genSeq.Sherpa_i.Parameters += [ "OL_PARAMETERS=redlib1=5=redlib2=5=write_parameters=1" ]
+genSeq.Sherpa_i.NCores = 24 
+genSeq.Sherpa_i.CleanupGeneratedFiles = 0
+evgenConfig.nEventsPerJob = 2000
diff --git a/700xxx/700948/mc_13p6TeV.Sh_2214_ysyLO_ee.GRID.tar.gz b/700xxx/700948/mc_13p6TeV.Sh_2214_ysyLO_ee.GRID.tar.gz
new file mode 120000
index 0000000000..ae79dddc88
--- /dev/null
+++ b/700xxx/700948/mc_13p6TeV.Sh_2214_ysyLO_ee.GRID.tar.gz
@@ -0,0 +1 @@
+/eos/user/d/drebuzzi/HiggsMC/mc_13p6TeV.Sh_2214_ysyLO_ee.GRID.tar.gz
\ No newline at end of file
diff --git a/700xxx/700949/log.generate.short b/700xxx/700949/log.generate.short
new file mode 100644
index 0000000000..54e0753920
--- /dev/null
+++ b/700xxx/700949/log.generate.short
@@ -0,0 +1,7 @@
+- estimated CPU for CI job = 0.08 hrs
+- using release =  AthGeneration-23.6.33
+- ecmEnergy =  13600.0
+- randomSeed =  15292
+- EVNT to EVNT =  False
+- LHEonly =  False
+- platform =  x86_64-el9-gcc13-opt
\ No newline at end of file
diff --git a/700xxx/700949/mc.Sh_2214_ysyLO_mumu.py b/700xxx/700949/mc.Sh_2214_ysyLO_mumu.py
new file mode 100755
index 0000000000..a3e2ee16d5
--- /dev/null
+++ b/700xxx/700949/mc.Sh_2214_ysyLO_mumu.py
@@ -0,0 +1,62 @@
+include("Sherpa_i/Base_Fragment.py")
+include("Sherpa_i/NNPDF30NNLO.py")
+evgenConfig.inputconfcheck = "Sh_2214_ysyLO_mumu"
+
+
+evgenConfig.description = "Sherpa mumugamma + 0,1,2,3j@LO with yy* cuts, no Higgs"
+evgenConfig.keywords = ["SM", "2muon", "photon", "LO" ]
+evgenConfig.contact  = [ "atlas-generators-sherpa@cern.ch", "danning.liu@cern.ch" ]
+
+genSeq.Sherpa_i.RunCard = """
+(run){
+  % tags for process setup
+  NJET:=3; QCUT:=20;
+
+  % me generator settings
+  ME_SIGNAL_GENERATOR Comix;
+
+  MASS[25]=1e10
+
+
+}(run)
+
+(processes){
+  Process 93 93 -> 22 13 -13 93{NJET}
+  Order (*,3); CKKW sqr(QCUT/E_CMS)
+  PSI_ItMin 20000 {4}
+  Integration_Error 0.99 {4}
+  PSI_ItMin 50000 {5,6}
+  Integration_Error 0.99 {5,6}
+  End process
+}(processes)
+
+(selector){
+
+# mll > 2*ml
+Mass 13 -13 0.21132 55
+
+# pT dilepton > 28
+"PT" 90,90  28,E_CMS
+
+# pT_lep1>10 GeV, pT_lep2>2.5 GeV
+"PT" 90 10.0,E_CMS:2.5,E_CMS [PT_UP]
+
+
+# pT photon > 28
+"PT" 22 28,E_CMS [PT_UP]
+
+# three-body mass
+"Calc(Mass(p[0]+p[1]+p[2])>95.0)" 13,-13,22 1,1
+
+#photon isolation cuts
+  IsolationCut  22  0.1  2  0.10
+  DeltaR  22  90  0.1 1000.0
+
+
+}(selector)
+"""
+
+genSeq.Sherpa_i.Parameters += [ "OL_PARAMETERS=redlib1=5=redlib2=5=write_parameters=1" ]
+genSeq.Sherpa_i.NCores = 24
+genSeq.Sherpa_i.CleanupGeneratedFiles = 0
+evgenConfig.nEventsPerJob = 1000
diff --git a/700xxx/700949/mc_13p6TeV.Sh_2214_ysyLO_mumu.GRID.tar.gz b/700xxx/700949/mc_13p6TeV.Sh_2214_ysyLO_mumu.GRID.tar.gz
new file mode 120000
index 0000000000..fa63d3f24c
--- /dev/null
+++ b/700xxx/700949/mc_13p6TeV.Sh_2214_ysyLO_mumu.GRID.tar.gz
@@ -0,0 +1 @@
+/eos/user/d/drebuzzi/HiggsMC/mc_13p6TeV.Sh_2214_ysyLO_mumu.GRID.tar.gz
\ No newline at end of file
-- 
GitLab


From 805b865efa3724bb4bc3a57a0f70c5b306a6c604 Mon Sep 17 00:00:00 2001
From: mcgensvc <mcgensvc@cern.ch>
Date: Tue, 3 Dec 2024 14:30:13 +0100
Subject: [PATCH 2/2] Commit: abaac52d pipeline succeeded. Removing
 log.generate files

---
 700xxx/700948/log.generate.short | 7 -------
 700xxx/700949/log.generate.short | 7 -------
 2 files changed, 14 deletions(-)
 delete mode 100644 700xxx/700948/log.generate.short
 delete mode 100644 700xxx/700949/log.generate.short

diff --git a/700xxx/700948/log.generate.short b/700xxx/700948/log.generate.short
deleted file mode 100644
index c99bfbe84d..0000000000
--- a/700xxx/700948/log.generate.short
+++ /dev/null
@@ -1,7 +0,0 @@
-- estimated CPU for CI job = 0.09 hrs
-- using release =  AthGeneration-23.6.33
-- ecmEnergy =  13600.0
-- randomSeed =  28983
-- EVNT to EVNT =  False
-- LHEonly =  False
-- platform =  x86_64-el9-gcc13-opt
\ No newline at end of file
diff --git a/700xxx/700949/log.generate.short b/700xxx/700949/log.generate.short
deleted file mode 100644
index 54e0753920..0000000000
--- a/700xxx/700949/log.generate.short
+++ /dev/null
@@ -1,7 +0,0 @@
-- estimated CPU for CI job = 0.08 hrs
-- using release =  AthGeneration-23.6.33
-- ecmEnergy =  13600.0
-- randomSeed =  15292
-- EVNT to EVNT =  False
-- LHEonly =  False
-- platform =  x86_64-el9-gcc13-opt
\ No newline at end of file
-- 
GitLab