From 95f34619c14d1bb4edc2f314f707fef7592f7823 Mon Sep 17 00:00:00 2001
From: Andrzej Olszewski <andrzej.olszewski@cern.ch>
Date: Sat, 28 Nov 2015 09:34:15 +0100
Subject: [PATCH] HIRecExample-01-00-11 (HIRecExample-01-00-11)

	* changing HIEarlyIncludes.py to reenable some DQ monitoring
	* tag HIRecExample-01-00-11
2015-11-15  Aaron Angerami <angerami@cern.ch>
	* changing heavyion_flagsESD.py to allow for subtracted topoclusters in HI mode
	* tag HIRecExample-01-00-10
2015-11-06  Aaron Angerami <angerami@cern.ch>
	* changing hip_flagsESD.py and HIPEarlyIncludes.py for cleaner T0 tf
	* tag HIRecExample-01-00-08
---
 .../HeavyIonRec/HIRecExample/share/HIEarlyIncludes.py  |  3 ---
 .../HeavyIonRec/HIRecExample/share/HIPEarlyIncludes.py |  2 +-
 .../HIRecExample/share/heavyion_flagsESD.py            | 10 +++++++---
 .../HeavyIonRec/HIRecExample/share/hip_flagsESD.py     | 10 ++++++++--
 4 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/Reconstruction/HeavyIonRec/HIRecExample/share/HIEarlyIncludes.py b/Reconstruction/HeavyIonRec/HIRecExample/share/HIEarlyIncludes.py
index c709bfc4f9de..53049255cae6 100644
--- a/Reconstruction/HeavyIonRec/HIRecExample/share/HIEarlyIncludes.py
+++ b/Reconstruction/HeavyIonRec/HIRecExample/share/HIEarlyIncludes.py
@@ -10,9 +10,6 @@ if rec.doMonitoring() :
     from AthenaMonitoring.DQMonFlags import DQMonFlags
     DQMonFlags.doMissingEtMon.set_Value_and_Lock(False)
     DQMonFlags.doTauMon.set_Value_and_Lock(False)
-    DQMonFlags.doLVL1CaloMon.set_Value_and_Lock(False)
-    DQMonFlags.doCTPMon.set_Value_and_Lock(False)
-    DQMonFlags.enableLumiAccess.set_Value_and_Lock(False)
 
 #turn off some EventTags
 from RecExConfig.RecFlags import rec
diff --git a/Reconstruction/HeavyIonRec/HIRecExample/share/HIPEarlyIncludes.py b/Reconstruction/HeavyIonRec/HIRecExample/share/HIPEarlyIncludes.py
index f93ed59356ae..4826fe4453e1 100755
--- a/Reconstruction/HeavyIonRec/HIRecExample/share/HIPEarlyIncludes.py
+++ b/Reconstruction/HeavyIonRec/HIRecExample/share/HIPEarlyIncludes.py
@@ -1,3 +1,3 @@
 from RecExConfig.RecFlags import rec
-rec.doAlfa.set_Value_and_Lock(True)
+rec.doAlfa.set_Value_and_Lock(False)
 rec.doForwardDet.set_Value_and_Lock(True)
diff --git a/Reconstruction/HeavyIonRec/HIRecExample/share/heavyion_flagsESD.py b/Reconstruction/HeavyIonRec/HIRecExample/share/heavyion_flagsESD.py
index 6ac3cf9f5a6d..7440bdb78bae 100755
--- a/Reconstruction/HeavyIonRec/HIRecExample/share/heavyion_flagsESD.py
+++ b/Reconstruction/HeavyIonRec/HIRecExample/share/heavyion_flagsESD.py
@@ -21,11 +21,11 @@ if not jobproperties.HIRecExampleFlags.ppMode :
 
       rec.doRestrictedESD =               False
       
-      #turning off TopoClusters
+
       from CaloRec.CaloRecFlags import jobproperties
       #need this eventually, but for now it breaks egamma isolation
-      #jobproperties.CaloRecFlags.doCaloTopoCluster = False
-      #jobproperties.CaloRecFlags.doCaloEMTopoCluster = False
+      jobproperties.CaloRecFlags.doCaloTopoCluster = False
+      jobproperties.CaloRecFlags.doCaloEMTopoCluster = False
       jobproperties.CaloRecFlags.doCaloTopoTower = False
       
       if jobproperties.HIRecExampleFlags.doHIJetRec() and \
@@ -33,6 +33,10 @@ if not jobproperties.HIRecExampleFlags.ppMode :
          print 'AO: CaloRecFlags doCaloCluster=False'
          jobproperties.CaloRecFlags.doCaloCluster=False  # not working?
          jobproperties.CaloRecFlags.doEmCluster=False
+         #turning off TopoClusters
+         #jobproperties.CaloRecFlags.doCaloTopoCluster = False
+         #jobproperties.CaloRecFlags.doCaloEMTopoCluster = False
+      
          rec.doEgamma=False
 
       from egammaRec.egammaRecFlags import jobproperties
diff --git a/Reconstruction/HeavyIonRec/HIRecExample/share/hip_flagsESD.py b/Reconstruction/HeavyIonRec/HIRecExample/share/hip_flagsESD.py
index 38be899428ca..fcd9473f5d36 100644
--- a/Reconstruction/HeavyIonRec/HIRecExample/share/hip_flagsESD.py
+++ b/Reconstruction/HeavyIonRec/HIRecExample/share/hip_flagsESD.py
@@ -5,15 +5,21 @@ if rec.doESD :
      print "Applying HIP ESD flags mods"
 
      from RecExConfig.RecFlags import rec
-     rec.doAlfa.set_Value_and_Lock(False)
 
      from InDetRecExample.InDetJobProperties import InDetFlags
-     InDetFlags.doLowMuRunSetup.set_Value_and_Lock(True)
+     InDetFlags.doMinBias.set_Value_and_Lock(True)
      InDetFlags.doSplitVertexFindingForMonitoring.set_Value_and_Lock(False)
      InDetFlags.writeRDOs.set_Value_and_Lock(True)
 
+
+     InDetFlags.doMinBias.set_Value_and_Lock(True)
+
      from CaloTools.CaloNoiseFlags import jobproperties
      jobproperties.CaloNoiseFlags.FixedLuminosity.set_Value_and_Lock(0)
 
      from CaloRec.CaloCellFlags import jobproperties
      jobproperties.CaloCellFlags.doPileupOffsetBCIDCorr.set_Value_and_Lock(False)
+
+     #these jet tools clash w/ HIJetRec
+     from JetRec.JetRecFlags import jetFlags
+     jetFlags.skipTools+=["jetisol","run1jetisol"]
-- 
GitLab