4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
5 from AthenaConfiguration.ComponentFactory
import CompFactory
10 vxsorter = cfg.popToolsAndMerge(vxsortercfg)
11 resortvxalg = CompFactory.InDet.InDetPriVxResorter(
15 VertexCollectionSortingTool=vxsorter,
17 cfg.addEventAlgo(resortvxalg)
22 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
25 flags.Exec.VerboseMessageComponents = [
'ResortVx']
28 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
30 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
33 from TrkConfig.TrkVertexToolsConfig
import JetRestrictedSumPt2VertexCollectionSortingToolCfg
35 cfg.merge(
ResortVerticesCfg(flags,
'PrimaryVertices',
'PrimaryVertices_resorted',vxsort_jettrks))
37 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
43 'xAOD::VertexContainer#PrimaryVertices',
44 'xAOD::VertexAuxContainer#PrimaryVerticesAux.',
45 'xAOD::VertexContainer#PrimaryVertices_resorted',
46 'xAOD::VertexAuxContainer#PrimaryVertices_resortedAux.',
52 if __name__==
'__main__':