Skip to content
Snippets Groups Projects
Commit ca675c37 authored by Peter Steinberg's avatar Peter Steinberg
Browse files

restored ZdcModuleGetter to how it worked in 2018, now working with c1319 postExec

parent a1091d21
No related branches found
No related tags found
6 merge requests!69091Fix correlated smearing bug in JER in JetUncertainties in 22.0,!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!50012RecExConfig: Adjust log message levels from GetRunNumber and GetLBNumber,!4690122.0 zdc stage1,!45934Port of 21.0 ZDC reconstruction to 22.0
...@@ -51,22 +51,23 @@ class ZdcModuleGetter ( Configured ) : ...@@ -51,22 +51,23 @@ class ZdcModuleGetter ( Configured ) :
mlog.info("not DetFlags.makeRIO.Zdc_on : Quit.") mlog.info("not DetFlags.makeRIO.Zdc_on : Quit.")
return False return False
#from AthenaCommon.AppMgr import ToolSvc from AthenaCommon.AppMgr import ToolSvc
from AthenaCommon import CfgMgr from AthenaCommon import CfgMgr
#mlog.info("adding ZDC::ZdcAnalysisTool to ToolSvc with default parameters, and no calibrations enabled"); mlog.info("adding ZDC::ZdcAnalysisTool to ToolSvc with default parameters, and no calibrations enabled")
#ToolSvc += CfgMgr.ZDC__ZdcAnalysisTool("ZdcAnalysisTool",DoCalib=False,Configuration="default") ToolSvc += CfgMgr.ZDC__ZdcAnalysisTool("ZdcAnalysisTool",DoCalib=False,Configuration="default")
zdcAnalysisTool = CfgMgr.ZDC__ZdcAnalysisTool("ZdcAnalysisTool",DoCalib=False,Configuration="pPb2016") #zdcAnalysisTool = CfgMgr.ZDC__ZdcAnalysisTool("ZdcAnalysisTool",DoCalib=False,Configuration="pPb2016")
zdcAnalysisTool.FixTau1=True #zdcAnalysisTool.FixTau1=True
zdcAnalysisTool.FixTau2=True #zdcAnalysisTool.FixTau2=True
zdcAnalysisTool.Tau1=5 #zdcAnalysisTool.Tau1=5
zdcAnalysisTool.Tau2=21 #zdcAnalysisTool.Tau2=21
zdcAnalysisTool.Peak2ndDerivThresh=15 #zdcAnalysisTool.Peak2ndDerivThresh=15
try: try:
from ZdcRec.ZdcRecConf import ZdcRecV3 from ZdcRec.ZdcRecConf import ZdcRecV3
mlog.info("got ZdcRecV2") mlog.info("got ZdcRecV2")
self._zdcRecHandle = ZdcRecV3(ZdcAnalysisTool = zdcAnalysisTool) self._zdcRecHandle = ZdcRecV3()
# self._zdcRecHandle = ZdcRecV3(ZdcAnalysisTool = zdcAnalysisTool)
except Exception: except Exception:
mlog.error("could not get handle to ZdcRecV3") mlog.error("could not get handle to ZdcRecV3")
import traceback import traceback
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment