|
ATLAS Offline Software
|
◆ AddStandardTLATruthContentsCfg()
def TLACommonConfigFunctions.AddStandardTLATruthContentsCfg |
( |
|
flags, |
|
|
|
decorationDressing = 'dressedPhoton' , |
|
|
|
includeTausInDressingPhotonRemoval = False , |
|
|
|
prefix = '' , |
|
|
|
useTLAPostJetAugmentations = True |
|
) |
| |
Definition at line 107 of file TLACommonConfigFunctions.py.
108 decorationDressing='dressedPhoton',
109 includeTausInDressingPhotonRemoval=False,
112 useTLAPostJetAugmentations=True):
121 if "McEventCollection#GEN_EVENT" in flags.Input.TypedCollections: isEVNT =
True
129 if not useTLAPostJetAugmentations:
134 if includeTausInDressingPhotonRemoval:
135 acc.getPublicTool(
"DFCommonTruthTauDressingTool").decorationName=decorationDressing
136 acc.addEventAlgo(CompFactory.DerivationFramework.LockDecorations(name =
"AddStandardTLATruthContentsLockDecoration", Decorations = [
'TruthParticles.' + decorationDressing]))
139 acc.merge(
AddTruthCollectionNavigationDecorationsCfg(flags, [
"TruthElectrons",
"TruthMuons",
"TruthPhotons",
"TruthTaus",
"TruthNeutrinos",
"TruthBSM",
"TruthBottom",
"TruthTop",
"TruthBoson"], prefix=prefix))
◆ AddTLATruthJetsCfg()
def TLACommonConfigFunctions.AddTLATruthJetsCfg |
( |
|
flags | ) |
|
Definition at line 60 of file TLACommonConfigFunctions.py.
63 from JetRecConfig.StandardSmallRJets
import AntiKt4Truth,AntiKt4TruthWZ,AntiKt4TruthDressedWZ
64 from JetRecConfig.JetRecConfig
import JetRecCfg
67 jetList = [AntiKt4Truth,AntiKt4TruthWZ,AntiKt4TruthDressedWZ]
◆ PostTLAJetMCTruthAugmentationsCfg()
def TLACommonConfigFunctions.PostTLAJetMCTruthAugmentationsCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Definition at line 74 of file TLACommonConfigFunctions.py.
80 from DerivationFrameworkTau.TauTruthCommonConfig
import TauTruthToolsCfg
82 from DerivationFrameworkMCTruth.TruthDerivationToolsConfig
import DFCommonTruthTauDressingToolCfg
86 from DerivationFrameworkMCTruth.TruthDerivationToolsConfig
import DFCommonTruthDressedWZQGLabelToolCfg
90 from DerivationFrameworkSUSY.DecorateSUSYProcessConfig
import IsSUSYSignalRun3
92 from DerivationFrameworkSUSY.DecorateSUSYProcessConfig
import SUSYSignalTaggerCfg
93 augmentationToolsList += [acc.getPrimaryAndMerge(
SUSYSignalTaggerCfg(flags,
'MCTruthCommon'))]
95 CommonAugmentation = CompFactory.DerivationFramework.CommonAugmentation
96 acc.addEventAlgo(CommonAugmentation(name =
"MCTruthCommonPostJetKernel",
97 AugmentationTools = augmentationToolsList))
101 from DerivationFrameworkSUSY.SUSYWeightMetadataConfig
import AddSUSYWeightsCfg
◆ StandardTLAJetsCfg()
def TLACommonConfigFunctions.StandardTLAJetsCfg |
( |
|
ConfigFlags | ) |
|
Standard (offline) jets needed for TLA derivations
Definition at line 32 of file TLACommonConfigFunctions.py.
33 """Standard (offline) jets needed for TLA derivations"""
35 from JetRecConfig.StandardSmallRJets
import AntiKt4EMTopo,AntiKt4EMPFlow
36 from JetRecConfig.JetRecConfig
import JetRecCfg
40 AntiKt4EMTopo_deriv = AntiKt4EMTopo.clone(
41 modifiers = AntiKt4EMTopo.modifiers+(
"JetPtAssociation",
"QGTagging")
44 AntiKt4EMPFlow_deriv = AntiKt4EMPFlow.clone(
45 modifiers = AntiKt4EMPFlow.modifiers+(
"JetPtAssociation",
"QGTagging",
"fJVT",
"NNJVT",
"CaloEnergiesClus")
48 jetList = [AntiKt4EMTopo_deriv, AntiKt4EMPFlow_deriv]
◆ TLAJetCommonCfg()
def TLACommonConfigFunctions.TLAJetCommonCfg |
( |
|
ConfigFlags | ) |
|
These jet related functions are a copy of the ones in the JetCommonConfig file but we remove the jet collections we don't need.
TLA config for jet reconstruction and decorations
Definition at line 16 of file TLACommonConfigFunctions.py.
17 """TLA config for jet reconstruction and decorations"""
24 if "McEventCollection#GEN_EVENT" not in ConfigFlags.Input.TypedCollections:
def AddTLATruthJetsCfg(flags)
def AddSidebandEventShapeCfg(ConfigFlags)
def AddBosonsAndDownstreamParticlesCfg(flags, generations=1, rejectHadronChildren=False)
Add taus and their downstream particles (immediate and further decay products) in a special collectio...
def AddBSMAndDownstreamParticlesCfg(flags, generations=-1)
def JetRecCfg(flags, jetdef, returnConfiguredDef=False)
Top level functions returning ComponentAccumulator out of JetDefinition.
def PreJetMCTruthAugmentationsCfg(flags, **kwargs)
def HepMCtoXAODTruthCfg(flags)
def PostJetMCTruthAugmentationsCfg(flags, **kwargs)
def AddTruthEnergyDensityCfg(flags)
def TauTruthToolsCfg(flags)
def IsSUSYSignalRun3(flags)
def SUSYSignalTaggerCfg(flags, derivationName)
def AddTruthCollectionNavigationDecorationsCfg(flags, TruthCollections=[], prefix='')
def StandardTLAJetsCfg(ConfigFlags)
def AddStandardTLATruthContentsCfg(flags, decorationDressing='dressedPhoton', includeTausInDressingPhotonRemoval=False, prefix='', useTLAPostJetAugmentations=True)
def TLAJetCommonCfg(ConfigFlags)
These jet related functions are a copy of the ones in the JetCommonConfig file but we remove the jet ...
def AddBadBatmanCfg(ConfigFlags)
def AddDistanceInTrainCfg(ConfigFlags)
def PostTLAJetMCTruthAugmentationsCfg(flags, **kwargs)
def AddEventCleanFlagsCfg(ConfigFlags, workingPoints=['Loose', 'Tight', 'LooseLLP'])