2 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
11 ClusterSplitProbContainer=''):
19 from InDetConfig.TRT_SeededTrackFinderConfig
import TRT_SeededTrackFinderCfg
21 InputCollections = InputCollections))
23 from InDetConfig.TrackTruthConfig
import InDetTrackTruthCfg
24 if flags.Tracking.doTruth:
27 Tracks =
"TRTSeededTracks",
28 DetailedTruth =
"TRTSeededTracksDetailedTruth",
29 TracksTruth =
"TRTSeededTracksTruthCollection"))
36 from TrkConfig.TrkAmbiguitySolverConfig
import TrkAmbiguityScore_TRT_Cfg, TrkAmbiguitySolver_TRT_Cfg
39 ClusterSplitProbContainer = ClusterSplitProbContainer))
41 if flags.Tracking.doTruth:
44 Tracks =
"ResolvedTRTSeededTracks",
45 DetailedTruth =
"ResolvedTRTSeededTracksDetailedTruth",
46 TracksTruth =
"ResolvedTRTSeededTracksTruthCollection"))
51 if __name__ ==
"__main__":
52 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
55 from AthenaConfiguration.TestDefaults
import defaultTestFiles
56 flags.Input.Files=defaultTestFiles.RDO_RUN2
59 flags.Detector.EnableCalo =
False
62 flags.Concurrency.NumThreads=numThreads
63 flags.Concurrency.NumConcurrentEvents=numThreads
65 flags = flags.cloneAndReplace(
"Tracking.ActiveConfig",
"Tracking.MainPass")
70 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
75 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
79 from InDetConfig.SiliconPreProcessing
import InDetRecPreProcessingSiliconCfg
84 from InDetConfig.TRTPreProcessing
import TRTPreProcessingCfg
89 from InDetConfig.TRTSegmentFindingConfig
import TRTSegmentFindingCfg
98 iovsvc = top_acc.getService(
'IOVDbSvc')
101 top_acc.printConfig()
102 top_acc.store(
open(
"test_BackTrackingConfig.pkl",
"wb"))
104 if "--norun" not in sys.argv:
106 sys.exit(
not sc.isSuccess())