Skip to content
Snippets Groups Projects
Verified Commit 71f49e53 authored by Tadej Novak's avatar Tadej Novak
Browse files

Fix TRT detector tool

parent 1111099f
No related branches found
No related tags found
No related merge requests found
Pipeline #10958292 failed
# #
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
# #
from AthenaConfiguration.AccumulatorCache import AccumulatorCache from AthenaConfiguration.AccumulatorCache import AccumulatorCache
...@@ -24,7 +24,8 @@ def TRT_GeoModelCfg(flags): ...@@ -24,7 +24,8 @@ def TRT_GeoModelCfg(flags):
trtDetectorTool.DoKryptonMixture = False trtDetectorTool.DoKryptonMixture = False
from TRT_ConditionsServices.TRT_ConditionsServicesConfig import TRT_StrawStatusSummaryToolCfg from TRT_ConditionsServices.TRT_ConditionsServicesConfig import TRT_StrawStatusSummaryToolCfg
acc.popToolsAndMerge(TRT_StrawStatusSummaryToolCfg(flags)) trtDetectorTool.SummaryTool = acc.popToolsAndMerge(TRT_StrawStatusSummaryToolCfg(flags))
geoModelSvc.DetectorTools += [ trtDetectorTool ] geoModelSvc.DetectorTools += [ trtDetectorTool ]
acc.merge(db) acc.merge(db)
return acc return acc
......
...@@ -36,7 +36,6 @@ TRT_DetectorTool::TRT_DetectorTool( const std::string& type, const std::string& ...@@ -36,7 +36,6 @@ TRT_DetectorTool::TRT_DetectorTool( const std::string& type, const std::string&
m_initialLayout(true), m_initialLayout(true),
m_geoDbTagSvc("GeoDbTagSvc",name), m_geoDbTagSvc("GeoDbTagSvc",name),
m_geometryDBSvc("InDetGeometryDBSvc",name), m_geometryDBSvc("InDetGeometryDBSvc",name),
m_sumTool("TRT_StrawStatusSummaryTool", this),
m_doArgonMixture(1), m_doArgonMixture(1),
m_doKryptonMixture(1), m_doKryptonMixture(1),
m_useDynamicAlignFolders(false), m_useDynamicAlignFolders(false),
......
/* /*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
*/ */
#ifndef TRT_GEOMODEL_TRTDETECTORTOOL_H #ifndef TRT_GEOMODEL_TRTDETECTORTOOL_H
...@@ -53,7 +53,7 @@ public: ...@@ -53,7 +53,7 @@ public:
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc; ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc;
ServiceHandle< IGeometryDBSvc > m_geometryDBSvc; ServiceHandle< IGeometryDBSvc > m_geometryDBSvc;
ToolHandle<ITRT_StrawStatusSummaryTool> m_sumTool; // added for Argon ToolHandle<ITRT_StrawStatusSummaryTool> m_sumTool{this, "SummaryTool", "TRT_StrawStatusSummaryTool"}; // added for Argon
bool m_doArgonMixture; bool m_doArgonMixture;
bool m_doKryptonMixture; bool m_doKryptonMixture;
......
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