From 61dffeed88f5296200f85445cca1df031f739290 Mon Sep 17 00:00:00 2001
From: Atlas-Software Librarian <Atlas-Software.Librarian@cern.ch>
Date: Fri, 8 Apr 2016 19:04:56 +0200
Subject: [PATCH] 'CMakeLists.txt' (TrigMissingETHypo-00-02-05)

	* Changed upper limits of automatic XS accept
	* tagged TrigMissingETHypo-00-02-05

2015-04-07: Florian Bernlochner <florian.bernlochner@cern.ch>
	* Added run2 XS constants for 2sided cell alg
	* tagged TrigMissingETHypo-00-02-04
---
 .../TrigMissingETHypo/CMakeLists.txt          | 39 +++++++++++++++++++
 .../python/TrigMissingETHypoConfig.py         | 17 ++++++++
 .../src/TrigEFMissingETHypo.cxx               |  4 +-
 3 files changed, 58 insertions(+), 2 deletions(-)
 create mode 100644 Trigger/TrigHypothesis/TrigMissingETHypo/CMakeLists.txt

diff --git a/Trigger/TrigHypothesis/TrigMissingETHypo/CMakeLists.txt b/Trigger/TrigHypothesis/TrigMissingETHypo/CMakeLists.txt
new file mode 100644
index 000000000000..eaee50866005
--- /dev/null
+++ b/Trigger/TrigHypothesis/TrigMissingETHypo/CMakeLists.txt
@@ -0,0 +1,39 @@
+################################################################################
+# Package: TrigMissingETHypo
+################################################################################
+
+# Declare the package name:
+atlas_subdir( TrigMissingETHypo )
+
+# Declare the package's dependencies:
+atlas_depends_on_subdirs( PUBLIC
+                          Trigger/TrigSteer/TrigInterfaces
+                          Trigger/TrigTools/TrigTimeAlgs
+                          PRIVATE
+                          Event/xAOD/xAODTrigMissingET
+                          GaudiKernel
+                          Trigger/TrigEvent/TrigMissingEtEvent )
+
+# External dependencies:
+find_package( CLHEP )
+
+# tag ROOTMathLibs was not recognized in automatic conversion in cmt2cmake
+
+# Component(s) in the package:
+atlas_add_library( TrigMissingETHypoLib
+                   src/*.cxx
+                   PUBLIC_HEADERS TrigMissingETHypo
+                   PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS}
+                   PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS}
+                   LINK_LIBRARIES TrigInterfacesLib TrigTimeAlgsLib
+                   PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} xAODTrigMissingET GaudiKernel TrigMissingEtEvent )
+
+atlas_add_component( TrigMissingETHypo
+                     src/components/*.cxx
+                     INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS}
+                     LINK_LIBRARIES ${CLHEP_LIBRARIES} TrigInterfacesLib TrigTimeAlgsLib xAODTrigMissingET GaudiKernel TrigMissingEtEvent TrigMissingETHypoLib )
+
+# Install files from the package:
+atlas_install_python_modules( python/*.py )
+atlas_install_joboptions( share/TriggerConfig_*.py )
+
diff --git a/Trigger/TrigHypothesis/TrigMissingETHypo/python/TrigMissingETHypoConfig.py b/Trigger/TrigHypothesis/TrigMissingETHypo/python/TrigMissingETHypoConfig.py
index c7e8e4848c31..90fa34353bb3 100755
--- a/Trigger/TrigHypothesis/TrigMissingETHypo/python/TrigMissingETHypoConfig.py
+++ b/Trigger/TrigHypothesis/TrigMissingETHypo/python/TrigMissingETHypoConfig.py
@@ -396,6 +396,23 @@ class L2MetHypoFEBXS_L1check (EFMissingETHypoBase):
             self.onlineMonitoring(True)
 
 class EFMetHypoXS_2sided (EFMissingETHypoBase):
+    __slots__ = []
+    def __init__(self, name = "EFMetHypo_xs100",ef_thr=10):
+        super( EFMetHypoXS_2sided, self ).__init__( name )
+        
+        self.SigCut=ef_thr
+        self.CutType=1
+        self.METLabel='TrigEFMissingET'
+        self.doMuonCorrection = False
+        self.forceAccept=False
+        self.significanceOffset = 4.93182
+        self.significanceSlope = 0.442864
+        self.xsMETok = 150000
+        if 'xs30' in name:
+            self.onlineMonitoring(True)
+
+
+class EFMetHypoXS_2sided_2012 (EFMissingETHypoBase):
     __slots__ = []
     def __init__(self, name = "EFMetHypo_xs100",ef_thr=10):
         super( EFMetHypoXS_2sided, self ).__init__( name )
diff --git a/Trigger/TrigHypothesis/TrigMissingETHypo/src/TrigEFMissingETHypo.cxx b/Trigger/TrigHypothesis/TrigMissingETHypo/src/TrigEFMissingETHypo.cxx
index fcba486c53af..fffa6974257f 100755
--- a/Trigger/TrigHypothesis/TrigMissingETHypo/src/TrigEFMissingETHypo.cxx
+++ b/Trigger/TrigHypothesis/TrigMissingETHypo/src/TrigEFMissingETHypo.cxx
@@ -61,7 +61,7 @@ TrigEFMissingETHypo::TrigEFMissingETHypo(const std::string& name, ISvcLocator* p
   declareProperty("xsSETmin",  m_xsSETmin = 16*CLHEP::GeV, "Minimum Value for MET in xs chains");  
 
   declareProperty("xsMETok",   m_xsMETok = 64*CLHEP::GeV,   "MET value for acceptance in xs chains" );
-  declareProperty("xsSETok",   m_xsSETok = 4000*CLHEP::GeV, "SET value for acceptance in xs chains" );
+  declareProperty("xsSETok",   m_xsSETok = 6500*CLHEP::GeV, "SET value for acceptance in xs chains" );
 
   m_bitMask = 0;
   declareProperty("bitMaskComp", m_bitMaskComp = 0, "bit mask to enable rejection based on the component level status flag" );
@@ -664,4 +664,4 @@ HLT::ErrorCode TrigEFMissingETHypo::hltExecute(const HLT::TriggerElement* output
 
   return HLT::OK;
 }
- 
\ No newline at end of file
+ 
-- 
GitLab