diff --git a/Reconstruction/eflowRec/share/jetAlgs.py b/Reconstruction/eflowRec/share/jetAlgs.py new file mode 100644 index 0000000000000000000000000000000000000000..8e97510190fde9548a4fc259e09cfbc6e7b67ae1 --- /dev/null +++ b/Reconstruction/eflowRec/share/jetAlgs.py @@ -0,0 +1,5 @@ +#Run PFlow jet finding +from JetRec.JetRecStandard import jtm +jtm.addJetFinder("AntiKt4EMPFlowJets", "AntiKt", 0.4, "empflow", "pflow_ungroomed", ghostArea=0.01, ptmin= 5000, ptminFilter= 10000, calibOpt="arj:pflow") +from JetRec.JetAlgorithm import addJetRecoToAlgSequence +addJetRecoToAlgSequence(eventShapeTools=["empflow"]) diff --git a/Reconstruction/eflowRec/share/run_ESDStandardReco.py b/Reconstruction/eflowRec/share/run_ESDStandardReco.py new file mode 100644 index 0000000000000000000000000000000000000000..edcf729fd3246caffde93f4723c2ca83e868651b --- /dev/null +++ b/Reconstruction/eflowRec/share/run_ESDStandardReco.py @@ -0,0 +1,25 @@ +#This file is to run standard reconstruction + pflow + jet finding on an ESD file + +from AthenaCommon.AthenaCommonFlags import athenaCommonFlags +athenaCommonFlags.FilesInput=["/data/hodgkinson/dataFiles/mc16_13TeV/ESDFiles/mc16_valid.410000.PowhegPythiaEvtGen_P2012_ttbar_hdamp172p5_nonallhad.recon.ESD.e3698_s2995_r8905/ESD.10230993._000008.pool.root.1"] + +doDumpProperties=True + +from RecExConfig.RecAlgsFlags import recAlgs +recAlgs.doEFlow.set_Value_and_Lock(True) + +#change some calo flags +from CaloRec.CaloRecFlags import jobproperties +jobproperties.CaloRecFlags.Enabled.set_Value_and_Lock(True) +jobproperties.CaloRecFlags.doCaloCluster.set_Value_and_Lock(True) +jobproperties.CaloRecFlags.doEmCluster.set_Value_and_Lock(False) +jobproperties.CaloRecFlags.doCaloTopoCluster.set_Value_and_Lock(True) + +#Turn of TAG +rec.doWriteTAG.set_Value_and_Lock(False) + +athenaCommonFlags.EvtMax=1 +#Run pflopw jet finding - this cannot be enabled via reconstruction flags currently! (without enabling other things we don't want) +UserAlgs = ["jetAlgs.py"] +include ("RecExCommon/RecExCommon_topOptions.py") +