3 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from TrigT2BeamSpot.T2VertexBeamSpotMonitoring
import (T2VertexBeamSpotMonitoring,
6 T2VertexBeamSpotToolMonitoring,
7 T2BSTrackFilterToolMonitoring,
8 T2TrackBeamSpotToolMonitoring)
12 return CompFactory.getComp(
"PESA::T2BSTrackFilterTool")(
13 name =
"TrackFilterVtx",
14 MonTool = T2BSTrackFilterToolMonitoring(flags).monTool,
24 TrackMinChi2Prob = 0.05,
28 TrackMinTRTHits = -10,
36 return CompFactory.getComp(
"PESA::T2BSTrackFilterTool")(
37 name =
"TrackFilterTrk",
38 MonTool = T2BSTrackFilterToolMonitoring(flags).monTool,
48 TrackMinChi2Prob = 0.05,
52 TrackMinTRTHits = -10,
60 return CompFactory.getComp(
"PESA::T2VertexBeamSpotTool")(
61 name =
"T2VertexBeamSpotTool",
62 MonTool = T2VertexBeamSpotToolMonitoring(flags).monTool,
64 PrimaryVertexFitter = CompFactory.TrigPrimaryVertexFitter(zVariance=3.0, CreateTrackLists=
True),
66 WeightClusterZ =
True,
67 ReclusterSplit =
False,
68 ClusterPerigee =
"beamspot",
72 TrackClusterDZ = 0.35,
80 VertexMaxQual = 100.0,
81 VertexMinChi2Prob = -10.0,
82 VertexBCIDMinNTrk = 10,
89 return CompFactory.getComp(
"PESA::T2TrackBeamSpotTool")(
90 name =
"T2TrackBeamSpotTool",
92 MonTool = T2TrackBeamSpotToolMonitoring(flags).monTool,
93 doLeastSquares =
True,
94 doLogLikelihood =
True,
101 return CompFactory.getComp(
"PESA::T2VertexBeamSpot")(
103 doTrackBeamSpot =
True,
110 if __name__==
"__main__":
111 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
112 from AthenaConfiguration.AllConfigFlags
import initConfigFlags