4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
5 from AthenaConfiguration.ComponentFactory
import CompFactory
6 from TrkConfig.TrkVKalVrtFitterConfig
import TrkVKalVrtFitterCfg
7 from TrkConfig.AtlasExtrapolatorConfig
import AtlasExtrapolatorCfg
8 from BeamSpotConditions.BeamSpotConditionsConfig
import BeamSpotCondAlgCfg
10 from AthenaCommon.Logging
import logging
11 mlog = logging.getLogger(
'Rec__NewVrtSecInclusiveConfig')
18 mlog.info(
"entering SoftBFinderTool configuration")
24 myargs.setdefault(
"CutPt" , 500.)
25 myargs.setdefault(
"CutBLayHits" , 1 )
26 myargs.setdefault(
"CutPixelHits" , 3 )
27 myargs.setdefault(
"CutSiHits" , 8 )
28 myargs.setdefault(
"CutTRTHits" , 10 )
29 myargs.setdefault(
"useVertexCleaning" ,
True)
30 myargs.setdefault(
"MultiWithOneTrkVrt" ,
True)
31 myargs.setdefault(
"removeTrkMatSignif" , -1.)
32 myargs.setdefault(
"AntiPileupSigRCut" , 2.0)
33 myargs.setdefault(
"TrkSigCut" , 2.0)
34 myargs.setdefault(
"SelVrtSigCut" , 3.0)
35 myargs.setdefault(
"v2tIniBDTCut" , -0.7)
36 myargs.setdefault(
"v2tFinBDTCut" , 0.0)
37 myargs.setdefault(
"cosSVPVCut" , 0.4)
38 myargs.setdefault(
"FastZSVCut" , 5.)
39 myargs.setdefault(
"VertexMergeCut" , 4.)
40 myargs.setdefault(
"MaxSVRadiusCut" , 50.)
41 SoftBFinder = CompFactory.Rec.NewVrtSecInclusiveTool(name,**myargs)
42 acc.setPrivateTools(SoftBFinder)
43 mlog.info(
"SoftBFinderTool created")
52 mlog.info(
"entering InclusiveBFinderTool configuration")
58 myargs.setdefault(
"CutPt" , 500.)
59 myargs.setdefault(
"CutBLayHits" , 0)
60 myargs.setdefault(
"CutPixelHits" , 2)
61 myargs.setdefault(
"CutSiHits" , 8)
62 myargs.setdefault(
"CutTRTHits" , 10)
63 myargs.setdefault(
"useVertexCleaning" ,
True)
64 myargs.setdefault(
"MultiWithOneTrkVrt" ,
True)
65 myargs.setdefault(
"removeTrkMatSignif" , -1.)
66 myargs.setdefault(
"AntiPileupSigRCut" , 2.0)
67 myargs.setdefault(
"TrkSigCut" , 2.0)
68 myargs.setdefault(
"SelVrtSigCut" , 3.0)
69 myargs.setdefault(
"v2tIniBDTCut" , -0.7)
70 myargs.setdefault(
"v2tFinBDTCut" , -0.2)
71 myargs.setdefault(
"cosSVPVCut" , 0.5)
72 myargs.setdefault(
"FastZSVCut" , 8.)
74 InclusiveBFinder = CompFactory.Rec.NewVrtSecInclusiveTool(name,**myargs)
75 acc.setPrivateTools(InclusiveBFinder)
76 mlog.info(
"InclusiveBFinderTool created")
86 mlog.info(
"entering HighPtBFinderTool configuration")
92 myargs.setdefault(
"CutPt" , 1000.)
93 myargs.setdefault(
"CutBLayHits" , 0)
94 myargs.setdefault(
"CutPixelHits" , 2)
95 myargs.setdefault(
"CutSiHits" , 8)
96 myargs.setdefault(
"CutTRTHits" , 10)
97 myargs.setdefault(
"useVertexCleaning" ,
True)
98 myargs.setdefault(
"MultiWithOneTrkVrt" ,
True)
99 myargs.setdefault(
"removeTrkMatSignif" , -1.)
100 myargs.setdefault(
"AntiPileupSigRCut" , 2.0)
101 myargs.setdefault(
"TrkSigCut" , 2.0)
102 myargs.setdefault(
"SelVrtSigCut" , 3.0)
103 myargs.setdefault(
"v2tIniBDTCut" ,-0.6)
104 myargs.setdefault(
"v2tFinBDTCut" , 0.2)
105 myargs.setdefault(
"cosSVPVCut" , 0.7)
106 myargs.setdefault(
"FastZSVCut" , 8.)
108 HighPtBFinder = CompFactory.Rec.NewVrtSecInclusiveTool(name,**myargs)
109 acc.setPrivateTools(HighPtBFinder)
110 mlog.info(
"HighPtBFinderTool created")
120 mlog.info(
"entering MaterialSVFinderTool configuration")
126 myargs.setdefault(
"CutPt" , 500.)
127 myargs.setdefault(
"CutBLayHits" , 0)
128 myargs.setdefault(
"CutPixelHits" , 1)
129 myargs.setdefault(
"CutSiHits" , 8)
130 myargs.setdefault(
"CutTRTHits" , 10)
131 myargs.setdefault(
"useVertexCleaning" ,
False)
132 myargs.setdefault(
"MultiWithOneTrkVrt" ,
False)
133 myargs.setdefault(
"removeTrkMatSignif" , -1.)
134 myargs.setdefault(
"AntiPileupSigRCut" , 5.0)
135 myargs.setdefault(
"TrkSigCut" , 5.0)
136 myargs.setdefault(
"SelVrtSigCut" , 10.0)
137 myargs.setdefault(
"v2tIniBDTCut" ,-1.01)
138 myargs.setdefault(
"v2tFinBDTCut" ,-1.01)
139 myargs.setdefault(
"cosSVPVCut" , 0.)
140 myargs.setdefault(
"FastZSVCut" , 10.)
141 myargs.setdefault(
"VrtMassLimit" , 8000.)
142 myargs.setdefault(
"Vrt2TrMassLimit", 8000.)
144 MaterialSVFinder = CompFactory.Rec.NewVrtSecInclusiveTool(name,**myargs)
145 acc.setPrivateTools(MaterialSVFinder)
146 mlog.info(
"MaterialSVFinderTool created")
155 mlog.info(
"entering DVFinderTool configuration")
161 myargs.setdefault(
"CutPt" , 1000.)
162 myargs.setdefault(
"CutBLayHits" , 0)
163 myargs.setdefault(
"CutPixelHits" , 0)
164 myargs.setdefault(
"CutSiHits" , 7)
165 myargs.setdefault(
"CutTRTHits" , 15)
166 myargs.setdefault(
"useVertexCleaning" ,
False)
167 myargs.setdefault(
"MultiWithOneTrkVrt" ,
False)
168 myargs.setdefault(
"removeTrkMatSignif" , -1.)
169 myargs.setdefault(
"AntiPileupSigRCut" , 6.0)
170 myargs.setdefault(
"TrkSigCut" , 10.0)
171 myargs.setdefault(
"SelVrtSigCut" , 8.0)
172 myargs.setdefault(
"v2tIniBDTCut" ,-1.01)
173 myargs.setdefault(
"v2tFinBDTCut" ,-1.01)
174 myargs.setdefault(
"cosSVPVCut" , 0.)
175 myargs.setdefault(
"FastZSVCut" , 30.)
176 myargs.setdefault(
"VrtMassLimit" , 1000000.)
177 myargs.setdefault(
"Vrt2TrMassLimit", 1000000.)
178 myargs.setdefault(
"VertexMergeCut" , 10.)
179 myargs.setdefault(
"MaxSVRadiusCut" , 350.)
180 myargs.setdefault(
"CutD0Max" , 1000.)
181 myargs.setdefault(
"CutD0Min" , 0.)
182 myargs.setdefault(
"CutZVrt" , 100.)
184 DVFinder = CompFactory.Rec.NewVrtSecInclusiveTool(name,**myargs)
185 acc.setPrivateTools(DVFinder)
186 mlog.info(
"DVFinderTool created")
196 mlog.info(
"entering V2TCalibrationTool configuration")
202 myargs.setdefault(
"FillHist" ,
True)
203 myargs.setdefault(
"CutPt" , 400.)
204 myargs.setdefault(
"CutBLayHits" , 0)
205 myargs.setdefault(
"CutPixelHits" , 1)
206 myargs.setdefault(
"CutSiHits" , 8)
207 myargs.setdefault(
"CutTRTHits" , 10)
208 myargs.setdefault(
"useVertexCleaning" ,
False)
209 myargs.setdefault(
"MultiWithOneTrkVrt" ,
False)
210 myargs.setdefault(
"removeTrkMatSignif" , -1.)
211 myargs.setdefault(
"AntiPileupSigRCut" , 2.0)
212 myargs.setdefault(
"TrkSigCut" , 2.0)
213 myargs.setdefault(
"SelVrtSigCut" , 2.0)
214 myargs.setdefault(
"v2tIniBDTCut" , -1.01)
215 myargs.setdefault(
"v2tFinBDTCut" , -1.01)
216 myargs.setdefault(
"cosSVPVCut" , 0.)
217 myargs.setdefault(
"FastZSVCut" , 15.)
218 myargs.setdefault(
"VrtMassLimit" , 5500.)
219 myargs.setdefault(
"Vrt2TrMassLimit", 4000.)
220 myargs.setdefault(
"MaxSVRadiusCut" , 140.)
221 myargs.setdefault(
"CutD0Max" , 100.)
222 myargs.setdefault(
"CutD0Min" , 0.)
223 myargs.setdefault(
"CutZVrt" , 100.)
226 V2TCalibration = CompFactory.Rec.NewVrtSecInclusiveTool(name,**myargs)
227 acc.setPrivateTools(V2TCalibration)
228 mlog.info(
"V2TCalibrationTool created")