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 TruthClassificationAugmentationsCfg)
46 from DerivationFrameworkMCTruth.TruthDerivationToolsConfig
import DFCommonTruthCharmToolCfg
49 name =
"NCBCommonTruthCharmTool"))
50 CommonAugmentation = CompFactory.DerivationFramework.CommonAugmentation
51 acc.addEventAlgo(CommonAugmentation(
"NCBCommonTruthCharmKernel",AugmentationTools=[NCBCommonTruthCharmTool]))
56 TruthCollections=[
"TruthElectrons",
66 "TruthHFWithDecayParticles"],
73 from DerivationFrameworkMuons.MuonsCommonConfig
import MuonsCommonCfg
77 from DerivationFrameworkInDet.InDetCommonConfig
import InDetCommonCfg
79 DoVertexFinding = flags.Tracking.doVertexFinding,
80 AddPseudoTracks = flags.Tracking.doPseudoTracking,
82 DoR3LargeD0 = flags.Tracking.doLargeD0,
83 StoreSeparateLargeD0Container = flags.Tracking.storeSeparateLargeD0Container,
86 from DerivationFrameworkJetEtMiss.METCommonConfig
import METCommonCfg
91 if flags.Reco.EnableTrigger
or flags.Trigger.triggerConfig ==
'INFILE':
92 from DerivationFrameworkPhys.TriggerMatchingCommonConfig
import TriggerMatchingCommonRun2Cfg
93 from DerivationFrameworkPhys.TriggerMatchingCommonConfig
import TriggerMatchingCommonRun2ToRun3Cfg
94 from DerivationFrameworkPhys.TriggerMatchingCommonConfig
import TriggerMatchingCommonRun3Cfg
96 triggerListsHelper = kwargs[
'TriggerListsHelper']
97 if flags.Trigger.EDMVersion == 2:
105 name =
"PhysCommonTrigMatchNoTau",
106 OutputContainerPrefix =
"TrigMatch_",
107 ChainNames = triggerListsHelper.Run2TriggerNamesNoTau))
110 name =
"PhysCommonTrigMatchTau",
111 OutputContainerPrefix =
"TrigMatch_",
112 ChainNames = triggerListsHelper.Run2TriggerNamesTau,
119 TriggerList = triggerListsHelper.Run2TriggerNamesNoTau +
120 triggerListsHelper.Run2TriggerNamesTau))
121 if flags.Trigger.EDMVersion == 3:
124 flags, TriggerList = triggerListsHelper.Run3TriggerNames))