7 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
8 from AthenaConfiguration.ComponentFactory
import CompFactory
12 """Jet reconstruction needed for NCB1"""
14 from JetRecConfig.StandardSmallRJets
import AntiKt4EMTopo
15 from JetRecConfig.JetRecConfig
import JetRecCfg
19 AntiKt4EMTopo_deriv = AntiKt4EMTopo.clone(
20 modifiers = AntiKt4EMTopo.modifiers+(
"JetPtAssociation",
"QGTagging")
23 jetList = [AntiKt4EMTopo_deriv]
33 """Configure the common augmentation"""
38 from DerivationFrameworkMCTruth.MCTruthCommonConfig
import (
39 AddStandardTruthContentsCfg,
40 AddHFAndDownstreamParticlesCfg,
41 AddMiniTruthCollectionLinksCfg,
43 AddTruthCollectionNavigationDecorationsCfg)
44 from DerivationFrameworkMCTruth.TruthDerivationToolsConfig
import DFCommonTruthCharmToolCfg
47 name =
"NCBCommonTruthCharmTool"))
48 CommonAugmentation = CompFactory.DerivationFramework.CommonAugmentation
49 acc.addEventAlgo(CommonAugmentation(
"NCBCommonTruthCharmKernel",AugmentationTools=[NCBCommonTruthCharmTool]))
54 TruthCollections=[
"TruthElectrons",
64 "TruthHFWithDecayParticles"],
71 from DerivationFrameworkMuons.MuonsCommonConfig
import MuonsCommonCfg
75 from DerivationFrameworkInDet.InDetCommonConfig
import InDetCommonCfg
77 DoVertexFinding = flags.Tracking.doVertexFinding,
78 AddPseudoTracks = flags.Tracking.doPseudoTracking,
80 DoR3LargeD0 = flags.Tracking.doLargeD0,
81 StoreSeparateLargeD0Container = flags.Tracking.storeSeparateLargeD0Container,
84 from DerivationFrameworkJetEtMiss.METCommonConfig
import METCommonCfg
89 if flags.Reco.EnableTrigger
or flags.Trigger.triggerConfig ==
'INFILE':
90 from DerivationFrameworkPhys.TriggerMatchingCommonConfig
import TriggerMatchingCommonRun2Cfg
91 from DerivationFrameworkPhys.TriggerMatchingCommonConfig
import TriggerMatchingCommonRun2ToRun3Cfg
92 from DerivationFrameworkPhys.TriggerMatchingCommonConfig
import TriggerMatchingCommonRun3Cfg
94 triggerListsHelper = kwargs[
'TriggerListsHelper']
95 if flags.Trigger.EDMVersion == 2:
103 name =
"PhysCommonTrigMatchNoTau",
104 OutputContainerPrefix =
"TrigMatch_",
105 ChainNames = triggerListsHelper.Run2TriggerNamesNoTau))
108 name =
"PhysCommonTrigMatchTau",
109 OutputContainerPrefix =
"TrigMatch_",
110 ChainNames = triggerListsHelper.Run2TriggerNamesTau,
117 TriggerList = triggerListsHelper.Run2TriggerNamesNoTau +
118 triggerListsHelper.Run2TriggerNamesTau))
119 if flags.Trigger.EDMVersion == 3:
122 flags, TriggerList = triggerListsHelper.Run3TriggerNames))