7 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
8 from AthenaConfiguration.ComponentFactory
import CompFactory
11 BPHYDerivationName =
"BPHY24"
12 streamName =
"StreamDAOD_BPHY24"
23 thinPassFlagsList = []
24 finalCandidateList = []
26 from AthenaServices.PartPropSvcConfig
import PartPropSvcCfg
27 from DerivationFrameworkBPhys.commonBPHYMethodsCfg
import (BPHY_V0ToolCfg, BPHY_InDetDetailedTrackSelectorToolCfg, BPHY_VertexPointEstimatorCfg, BPHY_TrkVKalVrtFitterCfg)
28 from JpsiUpsilonTools.JpsiUpsilonToolsConfig
import PrimaryVertexRefittingToolCfg
31 isSimulation = flags.Input.isMC
32 V0Tools = acc.popToolsAndMerge(
BPHY_V0ToolCfg(flags, BPHYDerivationName))
34 acc.addPublicTool(vkalvrt)
35 acc.addPublicTool(V0Tools)
37 acc.addPublicTool(trackselect)
39 acc.addPublicTool(vpest)
41 acc.addPublicTool(PVrefit)
44 BPHY24_AugOriginalCounts = CompFactory.DerivationFramework.AugOriginalCounts(
45 name =
"BPHY24_AugOriginalCounts",
46 VertexContainer =
"PrimaryVertices",
47 TrackContainer =
"InDetTrackParticles" )
49 bSkim =
"(count(BPHY24JpsimmKshortCascadeSV1.Bd_mass) + count(BPHY24JpsieeKshortCascadeSV1.Bd_mass)) > 0"
51 BPHY24_Skim_Bcandidates = CompFactory.DerivationFramework.xAODStringSkimmingTool( name =
"BPHY24_Skim_Bcandidates",
53 skimList += [ BPHY24_Skim_Bcandidates ]
54 augsList += [ BPHY24_AugOriginalCounts ]
57 from DerivationFrameworkInDet.InDetToolsConfig
import InDetLRTMergeCfg
60 mainIDInput =
"InDetWithLRTTrackParticles"
61 originalTrackCond = [
"InDetTrackParticles",
"InDetLargeD0TrackParticles",
"GSFTrackParticles"]
62 BPHY24_Finder_DiMuon = CompFactory.Analysis.JpsiFinder( name =
"BPHY24_Finder_DiMuon",
65 TrackAndTrack =
False,
67 muonThresholdPt = 3000.,
72 oppChargesOnly =
False,
73 allChargeCombinations =
True,
74 atLeastOneComb =
True,
75 useCombinedMeasurement =
False,
76 muonCollectionKey =
"Muons",
77 TrackParticleCollection =
"InDetTrackParticles",
78 V0VertexFitterTool =
None,
80 TrkVertexFitterTool = vkalvrt,
81 TrackSelectorTool = trackselect,
82 VertexPointEstimator = vpest,
86 BPHY24_SelectAndWrite_DiMuon = CompFactory.DerivationFramework.Reco_mumu( name =
"BPHY24_SelectAndWrite_DiMuon",
87 JpsiFinder = BPHY24_Finder_DiMuon,
90 OutputVtxContainerName =
"BPHY24_DiMuon_Candidates",
91 PVContainerName =
"PrimaryVertices",
92 RefPVContainerName =
"SHOULDNOTBEUSED",
95 augsList += [ BPHY24_SelectAndWrite_DiMuon ]
97 thinTrkVtxList += [
"BPHY24_DiMuon_Candidates" ]
98 outVtxList += [
"BPHY24_DiMuon_Candidates" ]
99 thinPassFlagsList += [
"passed_Jpsi" ]
101 BPHY24_Select_DiMuons = CompFactory.DerivationFramework.Select_onia2mumu( name =
"BPHY24_Select_DiMuons",
102 HypothesisName =
"Jpsi",
103 InputVtxContainerName =
"BPHY24_DiMuon_Candidates",
105 VtxMassHypo = 3096.916,
111 augsList += [ BPHY24_Select_DiMuons ]
113 ElectronLHSelectorLHvloose = CompFactory.AsgElectronLikelihoodTool(
"ElectronLHSelectorLHvloose",
114 primaryVertexContainer =
"PrimaryVertices",
115 ConfigFile=
"ElectronPhotonSelectorTools/offline/mc20_20210514/ElectronLikelihoodVeryLooseOfflineConfig2017_Smooth.conf")
119 ElectronLHSelectorLHvloose_nod0 = CompFactory.AsgElectronLikelihoodTool(
"ElectronLHSelectorLHvloosenod0", primaryVertexContainer =
"PrimaryVertices",
120 ConfigFile=
"ElectronPhotonSelectorTools/offline/mc16_20190328_nod0/ElectronLikelihoodVeryLooseOfflineConfig2017_Smooth_nod0.conf")
124 from DerivationFrameworkEGamma.EGammaToolsConfig
import EGElectronLikelihoodToolWrapperCfg
126 EGammaElectronLikelihoodTool = ElectronLHSelectorLHvloose,
127 EGammaFudgeMCTool =
"",
129 StoreGateEntryName =
"DFCommonElectronsLHVeryLoose",
130 ContainerName =
"Electrons",
131 StoreTResult=
False)))
134 EGammaElectronLikelihoodTool = ElectronLHSelectorLHvloose_nod0,
135 EGammaFudgeMCTool =
"",
137 StoreGateEntryName =
"DFCommonElectronsLHVeryLoosenod0",
138 ContainerName =
"Electrons",
139 StoreTResult=
False)))
140 augsList += [ElectronPassLHvloose, ElectronPassLHvloosenod0]
142 BPHY24DiElectronFinder = CompFactory.Analysis.JpsiFinder_ee(
143 name =
"BPHY24DiElectronFinder",
146 TrackAndTrack =
False,
147 assumeDiElectrons =
True,
148 elThresholdPt = 4000.0,
149 invMassUpper = 7000.0,
150 invMassLower = 200.0,
152 oppChargesOnly =
False,
153 allChargeCombinations =
True,
154 useElectronTrackMeasurement =
True,
155 electronCollectionKey =
"Electrons",
156 TrackParticleCollection =
"GSFTrackParticles",
157 useEgammaCuts =
True,
158 V0VertexFitterTool =
None,
160 TrkVertexFitterTool = vkalvrt,
161 TrackSelectorTool = trackselect,
162 VertexPointEstimator = vpest,
163 ElectronSelection =
"d0_or_nod0",
164 PartPropSvc = PartPropSvcName
167 BPHY24_SelectAndWrite_DiElectron = CompFactory.DerivationFramework.Reco_mumu(
168 name =
"BPHY24_SelectAndWrite_DiElectron",
169 JpsiFinder = BPHY24DiElectronFinder,
171 PVRefitter = PVrefit,
172 OutputVtxContainerName =
"BPHY24_DiElectron_Candidates",
173 PVContainerName =
"PrimaryVertices",
174 RefPVContainerName =
"SHOULDNOTBEUSED",
178 augsList += [ BPHY24_SelectAndWrite_DiElectron ]
180 BPHY24_Select_DiElectrons = CompFactory.DerivationFramework.Select_onia2mumu(
181 name =
"BPHY24_Select_DiElectrons",
182 HypothesisName =
"Jpsi",
183 InputVtxContainerName =
"BPHY24_DiElectron_Candidates",
185 VtxMassHypo = 3096.916,
192 thinTrkVtxList += [
"BPHY24_DiElectron_Candidates" ]
193 outVtxList += [
"BPHY24_DiElectron_Candidates" ]
195 augsList += [ BPHY24_Select_DiElectrons ]
197 V0ContainerName =
"BPHY24RecoV0Candidates"
198 KshortContainerName =
"BPHY24RecoKshortCandidates"
199 LambdaContainerName =
"BPHY24RecoLambdaCandidates"
200 LambdabarContainerName =
"BPHY24RecoLambdabarCandidates"
202 from DerivationFrameworkBPhys.V0ToolConfig
import (
203 BPHY_InDetV0FinderToolCfg, BPHY_Reco_V0FinderCfg)
206 flags, BPHYDerivationName,
207 TrackParticleCollection = mainIDInput,
208 V0ContainerName = V0ContainerName,
209 KshortContainerName = KshortContainerName,
210 LambdaContainerName = LambdaContainerName,
211 LambdabarContainerName = LambdabarContainerName,
212 RelinkTracks = originalTrackCond,
213 use_innerPixHits =
True,
227 minConstrVertProb = 0.000001,
230 use_TrackSelector =
False))
233 flags, derivation = BPHYDerivationName,
234 V0ContainerName = V0ContainerName,
235 KshortContainerName = KshortContainerName,
236 LambdaContainerName = LambdaContainerName,
237 LambdabarContainerName = LambdabarContainerName,
238 VxPrimaryCandidateName =
"BPHY24_DiMuon_Candidates",
239 CheckVertexContainers = [
'BPHY24_DiMuon_Candidates',
240 'BPHY24_DiElectron_Candidates'],
241 V0FinderTool = BPHY24_V0FinderTool))
243 augsList += [BPHY24_Reco_V0Finder]
244 outVtxList += [
'BPHY24RecoKshortCandidates']
245 outVtxList += [
"BPHY24RecoV0Candidates"]
246 thinTrkVtxList += [
'BPHY24RecoKshortCandidates']
247 thinPassFlagsList += [
"" ]
248 finalCandidateList += [
"BPHY24RecoKshortCandidates"]
249 finalCandidateList += [
"BPHY24RecoV0Candidates"]
250 from TrkConfig.TrkVKalVrtFitterConfig
import JpsiV0VertexFitCfg
252 acc.addPublicTool(JpsiV0VertexFit)
254 BPHY24JpsimmKshort = CompFactory.DerivationFramework.JpsiPlusV0Cascade(
255 name =
"BPHY24mmKshort",
257 HypothesisName =
"Bd",
258 TrkVertexFitterTool = JpsiV0VertexFit,
261 JpsiMassLowerCut = 1.,
262 JpsiMassUpperCut = 7000.,
263 ApplyJpsiMassConstraint =
False,
264 V0MassLowerCut = 400.,
265 V0MassUpperCut = 600.,
266 MassLowerCut = 4300.,
267 MassUpperCut = 6300.,
269 RefPVContainerName =
"BPHY24RefittedPrimaryVertices_mm",
270 JpsiVertices =
"BPHY24_DiMuon_Candidates",
271 CascadeVertexCollections= [
"BPHY24JpsimmKshortCascadeSV2",
"BPHY24JpsimmKshortCascadeSV1"],
272 V0Vertices =
"BPHY24RecoV0Candidates",
273 V0TrackContainerName = mainIDInput,
274 RelinkTracks = originalTrackCond)
276 augsList += [BPHY24JpsimmKshort]
277 outVtxList += BPHY24JpsimmKshort.CascadeVertexCollections
278 outVtxList += [
"BPHY24RefittedPrimaryVertices_mm"]
279 thinTrkVtxList += BPHY24JpsimmKshort.CascadeVertexCollections
280 finalCandidateList += BPHY24JpsimmKshort.CascadeVertexCollections
282 BPHY24JpsieeKshort = CompFactory.DerivationFramework.JpsiPlusV0Cascade(
283 name =
"BPHY24eeKshort",
285 HypothesisName =
"Bd",
286 TrkVertexFitterTool = JpsiV0VertexFit,
289 JpsiMassLowerCut = 100.,
290 JpsiMassUpperCut = 7000.,
291 ApplyJpsiMassConstraint =
False,
292 V0MassLowerCut = 400.,
293 V0MassUpperCut = 600.,
294 MassLowerCut = 4300.,
295 MassUpperCut = 6300.,
297 JpsiTrackContainerName =
"GSFTrackParticles",
299 RefPVContainerName =
"BPHY24RefittedPrimaryVertices_ee",
300 JpsiVertices =
"BPHY24_DiElectron_Candidates",
301 CascadeVertexCollections= [
"BPHY24JpsieeKshortCascadeSV2",
"BPHY24JpsieeKshortCascadeSV1"],
302 V0Vertices =
"BPHY24RecoV0Candidates",
303 V0TrackContainerName = mainIDInput,
304 RelinkTracks = originalTrackCond)
306 augsList += [BPHY24JpsieeKshort]
307 finalCandidateList += BPHY24JpsieeKshort.CascadeVertexCollections
308 outVtxList += BPHY24JpsieeKshort.CascadeVertexCollections
309 outVtxList += [
"BPHY24RefittedPrimaryVertices_ee"]
310 thinTrkVtxList += BPHY24JpsieeKshort.CascadeVertexCollections
312 from TrackVertexAssociationTool.TrackVertexAssociationToolConfig
import isoTTVAToolCfg
314 WorkingPoint =
"Custom",
318 doUsedInFit =
False))
319 acc.addPublicTool(TTVATool)
321 from InDetConfig.InDetTrackSelectionToolConfig
import isoTrackSelectionToolCfg
326 acc.addPublicTool(TrackSelTool)
328 from IsolationAlgs.IsoToolsConfig
import TrackIsolationToolCfg
330 TrackSelectionTool = TrackSelTool,
331 TTVATool = TTVATool))
332 acc.addPublicTool(TrackIsoTool)
333 BPHY24TrackIsolationDecoratorBtoKee = CompFactory.DerivationFramework.VertexTrackIsolation(
334 name =
"BPHY24TrackIsolationDecoratorBtoKee",
335 TrackIsoTool = TrackIsoTool,
336 TrackContainer =
"InDetTrackParticles",
337 InputVertexContainer =
"BPHY24JpsieeKshortCascadeSV1",
338 FixElecExclusion =
True,
340 BPHY24TrackIsolationDecoratorBtoKmumu = CompFactory.DerivationFramework.VertexTrackIsolation(
341 name =
"BPHY24TrackIsolationDecoratorBtoKmumu ",
342 TrackIsoTool = TrackIsoTool,
343 TrackContainer =
"InDetTrackParticles",
344 InputVertexContainer =
"BPHY24JpsimmKshortCascadeSV1",
345 FixElecExclusion =
False,
348 BPHY24TrackIsolationDecoratorJpsiee = CompFactory.DerivationFramework.VertexTrackIsolation(
349 name =
"BPHY24TrackIsolationDecoratorJpsiee",
350 TrackIsoTool = TrackIsoTool,
351 TrackContainer =
"InDetTrackParticles",
352 InputVertexContainer =
"BPHY24_DiElectron_Candidates",
353 FixElecExclusion =
True,
356 BPHY24TrackIsolationDecoratorJpsimumu = CompFactory.DerivationFramework.VertexTrackIsolation(
357 name =
"BPHY24TrackIsolationDecoratorJpsimumu",
358 TrackIsoTool = TrackIsoTool,
359 TrackContainer =
"InDetTrackParticles",
360 InputVertexContainer =
"BPHY24_DiMuon_Candidates",
361 FixElecExclusion =
False,
364 augsList += [ BPHY24TrackIsolationDecoratorBtoKee,
365 BPHY24TrackIsolationDecoratorBtoKmumu,
366 BPHY24TrackIsolationDecoratorJpsiee,
367 BPHY24TrackIsolationDecoratorJpsimumu]
370 "HLT_mu11_mu6_bDimu",
371 "HLT_mu11_mu6_bDimu2700",
372 "HLT_mu11_mu6_bDimu_L1LFV-MU11",
373 "HLT_mu11_mu6_bDimu2700_L1LFV-MU11",
374 "HLT_mu11_mu6_bBmumuxv2",
375 "HLT_mu10_mu6_bBmumuxv2",
376 "HLT_mu10_mu6_bBmumuxv2_delayed",
377 "HLT_2mu6_bBmumuxv2",
378 "HLT_2mu6_bBmumuxv2_delayed",
379 "HLT_2mu6_bBmumuxv2_L1LFV-MU6",
380 "HLT_mu6_mu4_bBmumuxv2",
381 "HLT_mu6_mu4_bBmumuxv2_delayed",
382 "HLT_2mu4_bBmumuxv2",
383 "HLT_mu11_mu6_bJpsimumu",
384 "HLT_2mu10_bJpsimumu",
385 "HLT_mu11_mu6_bJpsimumu_L1LFV-MU11",
386 "HLT_2mu6_bJpsimumu_L1BPH-2M9-2MU6_BPH-2DR15-2MU6",
387 "HLT_2mu6_bJpsimumu_delayed_L1BPH-2M9-2MU6_BPH-2DR15-2MU6",
388 "HLT_2mu10_bJpsimumu_noL2",
389 "HLT_mu10_mu6_bJpsimumu",
390 "HLT_mu10_mu6_bJpsimumu_delayed",
391 "HLT_2mu6_bJpsimumu",
392 "HLT_2mu6_bJpsimumu_delayed",
393 "HLT_mu6_mu4_bJpsimumu",
394 "HLT_mu6_mu4_bJpsimumu_Lxy0_L1BPH-2M9-MU6MU4_BPH-0DR15-MU6MU4",
395 "HLT_2mu4_bJpsimumu",
396 "HLT_mu6_2mu4_bJpsi",
397 "HLT_mu6_2mu4_bJpsi_delayed",
401 "HLT_2e5_lhvloose_nod0_bBeexM6000t",
402 "HLT_e5_lhvloose_nod0_bBeexM6000t",
403 "HLT_e5_lhvloose_nod0_bBeexM6000t_2mu4_nomucomb_L1BPH-0DR3-EM7J15_2MU4",
404 "HLT_e5_lhvloose_nod0_bBeexM6000t_mu6_nomucomb_L1BPH-0DR3-EM7J15_MU6",
405 "HLT_e5_lhvloose_nod0_bBeexM6000_mu6_nomucomb_L1BPH-0DR3-EM7J15_MU6",
406 "HLT_e9_lhloose_bBeexM2700_2mu4_nomucomb_L1BPH-0DR3-EM7J15_2MU4",
407 "HLT_e9_lhloose_bBeexM2700_mu6_nomucomb_L1BPH-0DR3-EM7J15_MU6",
408 "HLT_e9_lhloose_bBeexM6000_2mu4_nomucomb_L1BPH-0DR3-EM7J15_2MU4",
409 "HLT_e9_lhloose_bBeexM6000_mu6_nomucomb_L1BPH-0DR3-EM7J15_MU6",
410 "HLT_e9_lhloose_e5_lhloose_bBeexM2700_2mu4_nomucomb_L1BPH-0M9-EM7-EM5_2MU4",
411 "HLT_e9_lhloose_e5_lhloose_bBeexM2700_mu6_nomucomb_L1BPH-0M9-EM7-EM5_MU6",
412 "HLT_e9_lhloose_e5_lhloose_bBeexM6000_2mu4_nomucomb_L1BPH-0M9-EM7-EM5_2MU4",
413 "HLT_e9_lhloose_e5_lhloose_bBeexM6000_mu6_nomucomb_L1BPH-0M9-EM7-EM5_MU6",
414 "HLT_e9_lhvloose_nod0_e5_lhvloose_nod0_bBeexM6000t_2mu4_nomucomb_L1BPH-0M9-EM7-EM5_2MU4",
415 "HLT_e9_lhvloose_nod0_e5_lhvloose_nod0_bBeexM6000t_mu6_nomucomb_L1BPH-0M9-EM7-EM5_MU6",
416 "HLT_e9_lhvloose_nod0_e5_lhvloose_nod0_bBeexM6000_mu6_nomucomb_L1BPH-0M9-EM7-EM5_MU6",
419 BPHY24TrigSkimmingTool = CompFactory.DerivationFramework.TriggerSkimmingTool( name =
"BPHY24TrigSkimmingTool",
420 TriggerListOR = trigger_list,
421 TriggerListORHLTOnly = [
"HLT_2e5_lhvloose_nod0_bBeexM6000t",
"HLT_e5_lhvloose_nod0_bBeexM6000t"] )
422 acc.addPublicTool(BPHY24TrigSkimmingTool)
423 skimList += [BPHY24TrigSkimmingTool]
426 BPHY24_Thin_VtxTracks = CompFactory.DerivationFramework.Thin_vtxTrk( name =
"BPHY24_Thin_VtxTracks",
427 StreamName = streamName,
428 TrackParticleContainerName =
"InDetTrackParticles",
429 VertexContainerNames = finalCandidateList,
432 thinList += [ BPHY24_Thin_VtxTracks ]
435 BPHY24_Thin_VtxTracks_LRT = CompFactory.DerivationFramework.Thin_vtxTrk( name =
"BPHY24_Thin_VtxTracks_LRT",
436 StreamName = streamName,
437 TrackParticleContainerName =
"InDetLargeD0TrackParticles",
438 VertexContainerNames = finalCandidateList,
441 thinList += [ BPHY24_Thin_VtxTracks_LRT ]
444 BPHY24_Thin_VtxTracks_GSF = CompFactory.DerivationFramework.Thin_vtxTrk( name =
"BPHY24_Thin_VtxTracks_GSF",
445 StreamName = streamName,
446 TrackParticleContainerName =
"GSFTrackParticles",
447 VertexContainerNames = finalCandidateList,
449 thinList += [ BPHY24_Thin_VtxTracks_GSF ]
452 BPHY24_Thin_Muons = CompFactory.DerivationFramework.MuonTrackParticleThinning( name =
"BPHY24_Thin_Muons",
454 StreamName = streamName,
455 InDetTrackParticlesKey =
"InDetTrackParticles" )
456 thinList += [ BPHY24_Thin_Muons ]
459 BPHY24_Thin_Egamma = CompFactory.DerivationFramework.EgammaTrackParticleThinning(
460 name =
"BPHY24_Thin_Egamma",
462 StreamName = streamName,
463 InDetTrackParticlesKey = mainIDInput)
464 thinList += [BPHY24_Thin_Egamma]
467 BPHY24_Thin_PV = CompFactory.DerivationFramework.BPhysPVThinningTool( name =
"BPHY24_Thin_PV",
468 CandidateCollections = finalCandidateList,
469 StreamName = streamName,
470 KeepPVTracks =
True )
471 thinList += [ BPHY24_Thin_PV ]
476 from InDetPhysValMonitoring.InDetPhysValDecorationConfig
import InDetPhysValTruthDecoratorAlgCfg
480 keepParticles = (
'abs(TruthParticles.pdgId) == 11 || '
481 'abs(TruthParticles.pdgId) == 13')
484 keepParticles += (
' || '
485 'abs(TruthParticles.pdgId) == 511 || '
486 'abs(TruthParticles.pdgId) == 513 || '
487 'abs(TruthParticles.pdgId) == 515')
490 BPHY24_Thin_TruthHadrons = CompFactory.DerivationFramework.GenericTruthThinning( name =
"BPHY24_Thin_TruthHadrons",
491 ParticleSelectionString = keepParticles,
492 PreserveDescendants =
True,
493 StreamName = streamName,
494 PreserveAncestors =
True)
495 thinList += [ BPHY24_Thin_TruthHadrons ]
498 BPHY24_Thin_TruthQuarks = CompFactory.DerivationFramework.GenericTruthThinning( name =
"BPHY24_Thin_TruthQuarks",
499 ParticleSelectionString = (
'abs(TruthParticles.pdgId) == 5 || '
500 'abs(TruthParticles.pdgId) == 12 || abs(TruthParticles.pdgId) == 14' ),
501 PreserveDescendants =
False,
502 StreamName = streamName,
503 PreserveAncestors =
False)
504 thinList += [ BPHY24_Thin_TruthQuarks ]
506 for t
in augsList + skimList + thinList: acc.addPublicTool(t)
507 acc.addEventAlgo(CompFactory.DerivationFramework.DerivationKernel(
"BPHY24Kernel",
508 AugmentationTools = augsList,
511 SkimmingTools = skimList,
512 ThinningTools = thinList))
515 from DerivationFrameworkCore.SlimmingHelper
import SlimmingHelper
516 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
517 BPHY24SlimmingHelper =
SlimmingHelper(
"BPHY24SlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags)
518 from xAODMetaDataCnv.InfileMetaDataConfig
import SetupMetaDataForStreamCfg
519 from AthenaConfiguration.Enums
import MetadataCategory
520 from DerivationFrameworkBPhys.commonBPHYMethodsCfg
import getDefaultAllVariables
528 BPHY24SlimmingHelper.SmartCollections = [
"Electrons",
"Muons",
"InDetTrackParticles",
"InDetLargeD0TrackParticles" ]
531 AllVariables += [
"InDetLargeD0TrackParticles"]
532 AllVariables += [
"CombinedMuonTrackParticles" ]
533 AllVariables += [
"ExtrapolatedMuonTrackParticles" ]
534 ExtraVariables += [
"Muons.etaLayer1Hits.etaLayer2Hits.etaLayer3Hits.etaLayer4Hits.phiLayer1Hits.phiLayer2Hits.phiLayer3Hits.phiLayer4Hits",
535 "Muons.numberOfTriggerEtaLayers.numberOfPhiLayers",
536 "InDetTrackParticles.numberOfTRTHits.numberOfTRTHighThresholdHits.vx.vy.vz",
537 "InDetLargeD0TrackParticles.numberOfTRTHits.numberOfTRTHighThresholdHits.vx.vy.vz",
538 "PrimaryVertices.chiSquared.covariance",
"Electrons.deltaEta1.DFCommonElectronsLHVeryLoosenod0",
539 "egammaClusters.calE.calEta.calPhi.e_sampl.eta_sampl.etaCalo.phiCalo.ETACALOFRAME.PHICALOFRAME",
540 "HLT_xAOD__ElectronContainer_egamma_ElectronsAuxDyn.charge" ]
545 BPHY24SlimmingHelper.IncludeMuonTriggerContent =
True
546 BPHY24SlimmingHelper.IncludeEgammaTriggerContent =
True
547 BPHY24SlimmingHelper.IncludeBPhysTriggerContent =
True
550 AllVariables += [
"PrimaryVertices" ]
551 print(
"BPHY24: List of refitted-PV output: ", outRePVList)
552 for i
in outRePVList:
553 StaticContent += [
"xAOD::VertexContainer#%s" % i ]
554 StaticContent += [
"xAOD::VertexAuxContainer#%sAux." % i ]
557 print(
"BPHY24: List of B-vertexing output: ", outVtxList)
559 StaticContent += [
"xAOD::VertexContainer#%s" % i ]
560 StaticContent += [
"xAOD::VertexAuxContainer#%sAux.-vxTrackAtVertex" % i ]
562 print(
"BPHY24: Full list of B-augmentation: ", StaticContent)
566 AllVariables += [
"TruthEvents",
569 "MuonTruthParticles" ]
570 AllVariables =
list(
set(AllVariables))
572 BPHY24SlimmingHelper.AllVariables = AllVariables
573 BPHY24SlimmingHelper.StaticContent = StaticContent
574 BPHY24SlimmingHelper.ExtraVariables = ExtraVariables
575 BPHY24ItemList = BPHY24SlimmingHelper.GetItemList()
576 acc.merge(
OutputStreamCfg(flags,
"DAOD_BPHY24", ItemList=BPHY24ItemList, AcceptAlgs=[
"BPHY24Kernel"]))
577 acc.merge(
SetupMetaDataForStreamCfg(flags,
"DAOD_BPHY24", AcceptAlgs=[
"BPHY24Kernel"], createMetadata=[MetadataCategory.CutFlowMetaData]))
578 acc.printConfig(withDetails=
True, summariseProps=
True, onlyComponents = [], printDefaults=
True)