Skip to content
Snippets Groups Projects
Commit a0abe73d authored by Sergi Rodriguez Bosca's avatar Sergi Rodriguez Bosca Committed by Melissa Yexley
Browse files

Modify TRTCalibratorCfg function - getPrimaryAndMerge

parent 13082d30
No related branches found
No related tags found
No related merge requests found
......@@ -84,9 +84,8 @@ def TRTCalibratorCfg(flags,**kwargs) :
InDetStrawSummaryTool = acc.popToolsAndMerge(TRT_StrawStatusSummaryToolCfg(flags))
kwargs.setdefault("TRTStrawSummaryTool", InDetStrawSummaryTool)
if "NeighbourSvc" not in kwargs:
from TRT_ConditionsServices.TRT_ConditionsServicesConfig import TRT_StrawStatusSummaryToolCfg
TRT_StrawNeighbourSvc = acc.popToolsAndMerge(TRT_StrawStatusSummaryToolCfg(flags))
kwargs.setdefault("NeighbourSvc" , TRT_StrawNeighbourSvc)
from TRT_ConditionsServices.TRT_ConditionsServicesConfig import TRT_StrawNeighbourSvcCfg
kwargs.setdefault("NeighbourSvc", acc.getPrimaryAndMerge(TRT_StrawNeighbourSvcCfg(flags)))
if "TRTCaldbTool" not in kwargs:
from TRT_ConditionsServices.TRT_ConditionsServicesConfig import TRT_CalDbToolCfg
TRT_CalDbTool = acc.popToolsAndMerge(TRT_CalDbToolCfg(flags))
......
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