From af3d80f8975760832590bf07b5408d49abac1fdf Mon Sep 17 00:00:00 2001
From: Will Buttinger <William.Buttinger@cern.ch>
Date: Wed, 23 Nov 2016 14:31:40 +0100
Subject: [PATCH] 'joboptions for performance monitoring'
 (AthenaRootComps-00-13-28)

	* Added two joboptions for use in performance monitoring of basic event loop with different selectors
	* tag AthenaRootComps-00-13-28


Former-commit-id: d0e972f723fac4acb0244717e338b8a1b1c54214
---
 .../share/POOLEventSelector_testJobOptions.py   | 17 +++++++++++++++++
 .../share/xAODEventSelector_testJobOptions.py   | 17 +++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100644 Database/AthenaRoot/AthenaRootComps/share/POOLEventSelector_testJobOptions.py
 create mode 100644 Database/AthenaRoot/AthenaRootComps/share/xAODEventSelector_testJobOptions.py

diff --git a/Database/AthenaRoot/AthenaRootComps/share/POOLEventSelector_testJobOptions.py b/Database/AthenaRoot/AthenaRootComps/share/POOLEventSelector_testJobOptions.py
new file mode 100644
index 00000000000..c03b9bd2174
--- /dev/null
+++ b/Database/AthenaRoot/AthenaRootComps/share/POOLEventSelector_testJobOptions.py
@@ -0,0 +1,17 @@
+
+
+#this joboption is used in performance monitoring to compare to xAODEventSelector
+
+theApp.EvtMax = -1
+
+import os
+
+jps.AthenaCommonFlags.FilesInput = [os.environ.get("ASG_TEST_FILE_MC","/afs/cern.ch/user/a/asgbase/patspace/xAODs/r7725/mc15_13TeV.410000.PowhegPythiaEvtGen_P2012_ttbar_hdamp172p5_nonallhad.merge.AOD.e3698_s2608_s2183_r7725_r7676/AOD.07915862._000100.pool.root.1")]
+
+
+
+import AthenaPoolCnvSvc.ReadAthenaPool
+
+
+algseq = CfgMgr.AthSequencer("AthAlgSeq")
+algseq += CfgMgr.EventCounterAlg(BookkeepOtherMCEventWeights=True)
diff --git a/Database/AthenaRoot/AthenaRootComps/share/xAODEventSelector_testJobOptions.py b/Database/AthenaRoot/AthenaRootComps/share/xAODEventSelector_testJobOptions.py
new file mode 100644
index 00000000000..224aebf4e92
--- /dev/null
+++ b/Database/AthenaRoot/AthenaRootComps/share/xAODEventSelector_testJobOptions.py
@@ -0,0 +1,17 @@
+
+
+#this joboption is used in performance monitoring to compare to POOL
+
+theApp.EvtMax = -1
+
+import os
+
+jps.AthenaCommonFlags.FilesInput = [os.environ.get("ASG_TEST_FILE_MC","/afs/cern.ch/user/a/asgbase/patspace/xAODs/r7725/mc15_13TeV.410000.PowhegPythiaEvtGen_P2012_ttbar_hdamp172p5_nonallhad.merge.AOD.e3698_s2608_s2183_r7725_r7676/AOD.07915862._000100.pool.root.1")]
+
+
+
+import AthenaRootComps.ReadAthenaxAODHybrid
+
+
+algseq = CfgMgr.AthSequencer("AthAlgSeq")
+algseq += CfgMgr.EventCounterAlg(BookkeepOtherMCEventWeights=True)
-- 
GitLab