From 7aa267becf039b982371f413b58343af46b29b2c Mon Sep 17 00:00:00 2001
From: "lvalery@ifae.es" <lvalery@at302.pic.es>
Date: Mon, 24 Jul 2017 23:58:17 +0200
Subject: [PATCH] Update the luminosity uncertainty - Adding also the MET
 trigger uncertainty

---
 .../PrepareConfigFilesFromTemplate.py          |  2 +-
 .../TEMPLATE_Systematics_BackNorm.txt          | 18 ++++++++++++++++--
 2 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/macros/macros_stats/PrepareConfigFilesFromTemplate.py b/macros/macros_stats/PrepareConfigFilesFromTemplate.py
index 15b41d9..4595b33 100644
--- a/macros/macros_stats/PrepareConfigFilesFromTemplate.py
+++ b/macros/macros_stats/PrepareConfigFilesFromTemplate.py
@@ -43,7 +43,7 @@ here = os.getcwd()
 ##------------------------------------------------------
 _ARGUMENTS_ = []
 #Job arguments
-_ARGUMENTS_ += [{'arg':"__LUMIVALUE__",'value':"36074.6"}]
+_ARGUMENTS_ += [{'arg':"__LUMIVALUE__",'value':"36097.6"}]
 _ARGUMENTS_ += [{'arg':"__ADDITION__",'value':""}]
 _ARGUMENTS_ += [{'arg':"__STATONLY__",'value':"FALSE"}]
 #Fit
diff --git a/macros/macros_stats/templates/TEMPLATE_Systematics_BackNorm.txt b/macros/macros_stats/templates/TEMPLATE_Systematics_BackNorm.txt
index 68193e8..9bf3f6b 100644
--- a/macros/macros_stats/templates/TEMPLATE_Systematics_BackNorm.txt
+++ b/macros/macros_stats/templates/TEMPLATE_Systematics_BackNorm.txt
@@ -6,8 +6,8 @@ Systematic: "Luminosity"
   Title: "Luminosity"
   Type: OVERALL
   Category: Others
-  OverallUp: 0.032
-  OverallDown: -0.032
+  OverallUp: 0.022
+  OverallDown: -0.022
   Exclude: QCD
 
 % ------------------------- %
@@ -255,3 +255,17 @@ Systematic: HTX_BKGNP_OTHERS_QCD0L_XS_0lepHighMtbmin_0Tex0Hex; HTX_BKGNP_OTHERS_
   OverallDown: -1.0
   Samples: "QCD0L"
   Regions: HTX_c0lep0Tex0Hex7jin2bexHighMtbmin,HTX_c0lep0Tex0Hex7jin3bexHighMtbmin,HTX_c0lep0Tex0Hex7jin4binHighMtbmin,HTX_c0lep0Tex0Hex6jex2bexHighMtbmin,HTX_c0lep0Tex0Hex6jex3bexHighMtbmin,HTX_c0lep0Tex0Hex6jex4binHighMtbmin; HTX_c0lep1Tex0Hex7jin2bexHighMtbmin,HTX_c0lep1Tex0Hex7jin3bexHighMtbmin,HTX_c0lep1Tex0Hex7jin4binHighMtbmin,HTX_c0lep1Tex0Hex6jex2bexHighMtbmin,HTX_c0lep1Tex0Hex6jex3bexHighMtbmin; HTX_c0lep0Tex1Hex7jin2bexHighMtbmin,HTX_c0lep0Tex1Hex7jin3bexHighMtbmin,HTX_c0lep0Tex1Hex7jin4binHighMtbmin,HTX_c0lep0Tex1Hex6jex2bexHighMtbmin,HTX_c0lep0Tex1Hex6jex3bexHighMtbmin; HTX_c0lep1Tex1Hex7jin3bexHighMtbmin; HTX_c0lep2Tin0_1Hwin7jin3bexHighMtbmin; HTX_c0lep2THin7jin2bexHighMtbmin,HTX_c0lep2THin6jex2bexHighMtbmin; HTX_c0lep0Tex0Hex7jin3bexLowMtbmin,HTX_c0lep0Tex0Hex7jin4binLowMtbmin,HTX_c0lep0Tex0Hex6jex3bexLowMtbmin,HTX_c0lep0Tex0Hex6jex4binLowMtbmin; HTX_c0lep1Tex0Hex7jin3bexLowMtbmin,HTX_c0lep1Tex0Hex7jin4binLowMtbmin,HTX_c0lep1Tex0Hex6jex3bexLowMtbmin; HTX_c0lep0Tex1Hex7jin3bexLowMtbmin,HTX_c0lep0Tex1Hex7jin4binLowMtbmin,HTX_c0lep0Tex1Hex6jex3bexLowMtbmin; HTX_c0lep1Tex1Hex7jin3bexLowMtbmin; HTX_c0lep2Tin0_1Hwin7jin3bexLowMtbmin; HTX_c0lep1Tex0Hex6jex4bin; HTX_c0lep0Tex1Hex6jex4bin; HTX_c0lep0Tin2Hin7jin3bex; HTX_c0lep2THin7jin4bin,HTX_c0lep2THin6jex3bex,HTX_c0lep2THin6jex4bin
+
+
+% ------------------------- %
+% -----  MET trigger  ----- %
+% ------------------------- %
+
+Systematic: HTX_MET_TRIGGER_0L
+  Title: "MET trigger uncertainty"
+  Type: OVERALL
+  Category: Others
+  OverallUp: 0.02
+  OverallDown: -0.02
+  Exclude: QCD0L,QCD
+  Regions: HTX_c0lep*
-- 
GitLab