ATLAS Offline Software
TruthDerivationToolsConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 #==============================================================================
4 # Provides configs for the tools used for building the common truth collections
5 # Note that taus are handled separately (see MCTruthCommon.py)
6 # Note also that navigation info is dropped here and added separately
7 # Two kinds of config are defined here - for general config of the tools
8 # and for specific configurations, which implement the former.
9 #==============================================================================
10 
11 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
12 from AthenaConfiguration.ComponentFactory import CompFactory
13 
14 
15 #==============================================================================
16 # TruthCollectionMaker instances
17 #==============================================================================
18 
19 def TruthCollectionMakerCfg(flags, name, **kwargs):
20  """Configure the TruthCollectionMaker tool"""
21  acc = ComponentAccumulator()
22  TruthCollectionMaker = CompFactory.DerivationFramework.TruthCollectionMaker
23  acc.addPublicTool(TruthCollectionMaker(name = name,**kwargs),
24  primary = True)
25  return acc
26 
28  """Muon truth collection maker"""
29  return TruthCollectionMakerCfg(flags,
30  name = "DFCommonTruthMuonTool",
31  NewCollectionName = "TruthMuons",
32  KeepNavigationInfo = False,
33  ParticleSelectionString = f"(abs(TruthParticles.pdgId) == 13) && (TruthParticles.status == 1) && TruthParticles.barcode < {flags.Sim.SimBarcodeOffset}")
34 
36  """Electron truth collection maker"""
37  return TruthCollectionMakerCfg(flags,
38  name = "DFCommonTruthElectronTool",
39  NewCollectionName = "TruthElectrons",
40  KeepNavigationInfo = False,
41  ParticleSelectionString = f"(abs(TruthParticles.pdgId) == 11) && (TruthParticles.status == 1) && TruthParticles.barcode < {flags.Sim.SimBarcodeOffset}")
42 
44  """Photon truth collection maker"""
45  return TruthCollectionMakerCfg(flags,
46  name = "DFCommonTruthPhotonTool",
47  NewCollectionName = "TruthPhotons",
48  KeepNavigationInfo = False,
49  ParticleSelectionString = f"(abs(TruthParticles.pdgId) == 22) && (TruthParticles.status == 1) && TruthParticles.barcode < {flags.Sim.SimBarcodeOffset}")
50 
51 # this tool is needed for making TruthPhotons from sim samples, where extra cuts are needed. Origin 42 (pi0) and 23 (light meson) cut way down uninteresting photons
53  """Tool for making TruthPhotons from sim samples"""
54  return TruthCollectionMakerCfg(flags,
55  name = "DFCommonTruthPhotonToolSim",
56  NewCollectionName = "TruthPhotons",
57  KeepNavigationInfo = False,
58  ParticleSelectionString = f"(abs(TruthParticles.pdgId) == 22) && (TruthParticles.status == 1) && ((TruthParticles.classifierParticleOrigin != 42 && TruthParticles.classifierParticleOrigin !=23) || (TruthParticles.pt > 20.0*GeV)) && ( TruthParticles.barcode < {flags.Sim.SimBarcodeOffset} )")
59 
61  """Neutrino truth collection maker"""
62  neutrinoexpression = f"(TruthParticles.isNeutrino && TruthParticles.status == 1) && TruthParticles.barcode < {flags.Sim.SimBarcodeOffset}"
63  return TruthCollectionMakerCfg(flags,
64  name = "DFCommonTruthNeutrinoTool",
65  NewCollectionName = "TruthNeutrinos",
66  KeepNavigationInfo = False,
67  ParticleSelectionString = neutrinoexpression)
68 
70  """B-quark truth collection maker"""
71  return TruthCollectionMakerCfg(flags,
72  name = "DFCommonTruthBottomTool",
73  NewCollectionName = "TruthBottom",
74  KeepNavigationInfo = False,
75  ParticleSelectionString = "(abs(TruthParticles.pdgId) == 5)",
76  Do_Compress = True)
77 
79  """Top-quark truth collection maker"""
80  return TruthCollectionMakerCfg(flags,
81  name = "DFCommonTruthTopTool",
82  NewCollectionName = "TruthTop",
83  KeepNavigationInfo = False,
84  ParticleSelectionString = "(abs(TruthParticles.pdgId) == 6)",
85  Do_Compress = True)
86 
88  """Gauge bosons and Higgs truth collection maker"""
89  return TruthCollectionMakerCfg(flags,
90  name = "DFCommonTruthBosonTool",
91  NewCollectionName = "TruthBoson",
92  KeepNavigationInfo = False,
93  ParticleSelectionString = "(abs(TruthParticles.pdgId) == 23 || abs(TruthParticles.pdgId) == 24 || abs(TruthParticles.pdgId) == 25)",
94  Do_Compress = True,
95  Do_Sherpa = True)
96 
98  """BSM particles truth collection maker"""
99  return TruthCollectionMakerCfg(flags,
100  name = "DFCommonTruthBSMTool",
101  NewCollectionName = "TruthBSM",
102  KeepNavigationInfo = False,
103  ParticleSelectionString = "(TruthParticles.isBSM)",
104  Do_Compress = True)
105 
107  """Forward proton truth collection maker"""
108  beam_energy = flags.Beam.Energy
109  return TruthCollectionMakerCfg(flags,
110  name = "DFCommonTruthForwardProtonTool",
111  NewCollectionName = "TruthForwardProtons",
112  KeepNavigationInfo = False,
113  ParticleSelectionString = "(TruthParticles.status==1) && (abs(TruthParticles.pdgId)==2212) && (TruthParticles.e>0.8*"+str(beam_energy)+")",
114  Do_Compress = True)
115 
116 #==============================================================================
117 # Decoration tools
118 #==============================================================================
119 
120 def TruthD2DecoratorCfg(flags, name, **kwargs):
121  """Configure the truth D2 decorator tool"""
122  acc = ComponentAccumulator()
123  TruthD2Decorator = CompFactory.DerivationFramework.TruthD2Decorator
124  acc.addPublicTool(TruthD2Decorator(name, **kwargs), primary = True)
125  return acc
126 
128  """Configure the MCTruthClassifier tool"""
129  acc = ComponentAccumulator()
130  MCTruthClassifier = CompFactory.MCTruthClassifier
131  acc.addPublicTool(MCTruthClassifier(name = "DFCommonTruthClassifier", ParticleCaloExtensionTool = ""),
132  primary = True)
133  return acc
134 
135 def TruthClassificationDecoratorCfg(flags, name, **kwargs):
136  """Configure the TruthClassificationDecorator tool"""
137  acc = ComponentAccumulator()
138  TruthClassificationDecorator = CompFactory.DerivationFramework.TruthClassificationDecorator
139  acc.addPublicTool(TruthClassificationDecorator(name = name, **kwargs),
140  primary = True)
141  return acc
142 
143 def MuonTruthClassifierFallbackCfg(flags, name, **kwargs):
144  """Config the MuonTruthClassifierFallback tool"""
145  acc = ComponentAccumulator()
146 
147  if "MCTruthClassifierTool" not in kwargs:
148  from MCTruthClassifier.MCTruthClassifierConfig import (
149  MCTruthClassifierCfg)
150  kwargs.setdefault("MCTruthClassifierTool", acc.popToolsAndMerge(
151  MCTruthClassifierCfg(flags, name = "MuonTruthClassifierFallbackMCTruthClassifier")))
152 
153  MuonTruthClassifierFallback = CompFactory.DerivationFramework.MuonTruthClassifierFallback
154  acc.addPublicTool(MuonTruthClassifierFallback(name = name, **kwargs),
155  primary = True)
156  return acc
157 
158 def TruthDressingToolCfg(flags, name, **kwargs):
159  """Configure the TruthDressingTool"""
160  acc = ComponentAccumulator()
161  TruthDressingTool = CompFactory.DerivationFramework.TruthDressingTool
162  acc.addPublicTool(TruthDressingTool( name = name, **kwargs),
163  primary = True)
164  return acc
165 
166 def TruthIsolationToolCfg(flags, name, **kwargs):
167  """Configure the truth isolation tool"""
168  acc = ComponentAccumulator()
169  TruthIsolationTool = CompFactory.DerivationFramework.TruthIsolationTool
170  acc.addPublicTool(TruthIsolationTool(name = name, **kwargs),
171  primary = True)
172  return acc
173 
174 def MuonTruthIsolationDecorAlgCfg(flags, name, **kwargs):
175  """Configure the MuonTruthIsolationTool"""
176  acc = ComponentAccumulator()
177  acc.addEventAlgo(CompFactory.DerivationFramework.MuonTruthIsolationDecorAlg(name = name, **kwargs),
178  primary = True)
179  return acc
180 
181 def TruthQGDecorationToolCfg(flags, name, **kwargs):
182  """Configure the quark/gluon decoration tool"""
183  acc = ComponentAccumulator()
184  TruthQGDecorationTool = CompFactory.DerivationFramework.TruthQGDecorationTool
185  acc.addPublicTool(TruthQGDecorationTool(name = name, **kwargs),
186  primary = True)
187  return acc
188 
189 def TruthNavigationDecoratorCfg(flags, name, **kwargs):
190  """Congigure the truth navigation decorator tool"""
191  acc = ComponentAccumulator()
192  TruthNavigationDecorator = CompFactory.DerivationFramework.TruthNavigationDecorator
193  acc.addPublicTool(TruthNavigationDecorator(name = name, **kwargs),
194  primary = True)
195  return acc
196 
197 def TruthDecayCollectionMakerCfg(flags, name, **kwargs):
198  """Configure the truth decay collection maker"""
199  acc = ComponentAccumulator()
200  TruthDecayCollectionMaker = CompFactory.DerivationFramework.TruthDecayCollectionMaker
201  acc.addPublicTool(TruthDecayCollectionMaker(name = name, **kwargs),
202  primary = True)
203  return acc
204 
205 def TruthBornLeptonCollectionMakerCfg(flags, name, **kwargs):
206  """Configure the truth Born lepton collection tool"""
207  acc = ComponentAccumulator()
208  TruthBornLeptonCollectionMaker = CompFactory.DerivationFramework.TruthBornLeptonCollectionMaker
209  acc.addPublicTool(TruthBornLeptonCollectionMaker(name = name, **kwargs),
210  primary = True)
211  return acc
212 
213 def HardScatterCollectionMakerCfg(flags, name, **kwargs):
214  """Add a mini-collection for the hard scatter and N subsequent generations"""
215  acc = ComponentAccumulator()
216  return acc
217 
218 #add the 'decoration' tool to dress the main truth collection with the classification
220  """dress the main truth collection with the classification"""
221  accMCTC = DFCommonMCTruthClassifierCfg(flags)
222  DFCommonTruthClassifier = accMCTC.getPrimary()
224  name = "DFCommonTruthClassificationTool",
225  ParticlesKey = "TruthParticles",
226  MCTruthClassifier = DFCommonTruthClassifier)
227  acc.merge(accMCTC)
228  return acc
229 
230 # Hadron origin decoration tools
231 def HadronOriginClassifierCfg(flags, name, **kwargs):
232  """get the hadron origin classification"""
233  acc = ComponentAccumulator()
234  HadronOriginClassifier = CompFactory.DerivationFramework.HadronOriginClassifier
235  acc.addPublicTool(HadronOriginClassifier(name = name, **kwargs),
236  primary = True)
237  return acc
238 
239 def HadronOriginDecoratorCfg(flags, name, **kwargs):
240  """decorate with the hadron origin classification"""
241  acc = ComponentAccumulator()
242  HadronOriginDecorator = CompFactory.DerivationFramework.HadronOriginDecorator
243  acc.addPublicTool(HadronOriginDecorator(name = name, **kwargs),
244  primary = True)
245  return acc
246 
247 
248 #add the 'decoration' tools for dressing and isolation
249 def DFCommonTruthElectronDressingToolCfg(flags, decorationName = "dressedPhoton"):
250  """Configure the electron truth dressing tool"""
251  return TruthDressingToolCfg(flags,
252  name = "DFCommonTruthElectronDressingTool",
253  dressParticlesKey = "TruthElectrons",
254  usePhotonsFromHadrons = False,
255  dressingConeSize = 0.1,
256  particleIDsToDress = [11],
257  decorationName = decorationName)
258 
259 def DFCommonTruthMuonDressingToolCfg(flags, decorationName = "dressedPhoton"):
260  """Configure the muon truth dressing tool"""
261  return TruthDressingToolCfg(flags,
262  name = "DFCommonTruthMuonDressingTool",
263  dressParticlesKey = "TruthMuons",
264  usePhotonsFromHadrons = False,
265  dressingConeSize = 0.1,
266  particleIDsToDress = [13],
267  decorationName = decorationName)
268 
270  """Configure the tau truth dressing tool"""
271  return TruthDressingToolCfg(flags,
272  name = "DFCommonTruthTauDressingTool",
273  dressParticlesKey = "TruthTaus",
274  usePhotonsFromHadrons = False,
275  dressingConeSize = 0.2, # Tau special
276  particleIDsToDress = [15])
277 
279  """Configure the electron isolation tool, cone=0.2"""
280  return TruthIsolationToolCfg(flags,
281  name = "DFCommonTruthElectronIsolationTool1",
282  isoParticlesKey = "TruthElectrons",
283  allParticlesKey = "TruthParticles",
284  particleIDsToCalculate = [11],
285  IsolationConeSizes = [0.2],
286  IsolationVarNamePrefix = 'etcone',
287  ChargedParticlesOnly = False)
288 
290  """Configure the electron isolation tool, cone=0.3"""
291  return TruthIsolationToolCfg(flags,
292  name = "DFCommonTruthElectronIsolationTool2",
293  isoParticlesKey = "TruthElectrons",
294  allParticlesKey = "TruthParticles",
295  particleIDsToCalculate = [11],
296  IsolationConeSizes = [0.3],
297  IsolationVarNamePrefix = 'ptcone',
298  ChargedParticlesOnly = True)
299 
301  """Configure the muon isolation tool, cone=0.2"""
302  return TruthIsolationToolCfg(flags,
303  name = "DFCommonTruthMuonIsolationTool1",
304  isoParticlesKey = "TruthMuons",
305  allParticlesKey = "TruthParticles",
306  particleIDsToCalculate = [13],
307  IsolationConeSizes = [0.2],
308  IsolationVarNamePrefix = 'etcone',
309  ChargedParticlesOnly = False)
310 
312  """Configure the muon isolation tool, cone=0.3"""
313  return TruthIsolationToolCfg(flags,
314  name = "DFCommonTruthMuonIsolationTool2",
315  isoParticlesKey = "TruthMuons",
316  allParticlesKey = "TruthParticles",
317  particleIDsToCalculate = [13],
318  IsolationConeSizes = [0.3],
319  IsolationVarNamePrefix = 'ptcone',
320  ChargedParticlesOnly = True)
321 
323  """Configure the photon isolation tool, etcone"""
324  return TruthIsolationToolCfg(flags,
325  name = "DFCommonTruthPhotonIsolationTool1",
326  isoParticlesKey = "TruthPhotons",
327  allParticlesKey = "TruthParticles",
328  particleIDsToCalculate = [22],
329  IsolationConeSizes = [0.2],
330  IsolationVarNamePrefix = 'etcone',
331  ChargedParticlesOnly = False)
332 
333 
335  """Configure the photon isolation tool, ptcone"""
336  return TruthIsolationToolCfg(flags,
337  name = "DFCommonTruthPhotonIsolationTool2",
338  isoParticlesKey = "TruthPhotons",
339  allParticlesKey = "TruthParticles",
340  particleIDsToCalculate = [22],
341  IsolationConeSizes = [0.2],
342  IsolationVarNamePrefix = 'ptcone',
343  ChargedParticlesOnly = True)
344 
346  """Configure the photon isolation tool, etcone=0.4"""
347  return TruthIsolationToolCfg(flags,
348  name = "DFCommonTruthPhotonIsolationTool3",
349  isoParticlesKey = "TruthPhotons",
350  allParticlesKey = "TruthParticles",
351  particleIDsToCalculate = [22],
352  IsolationConeSizes = [0.4],
353  IsolationVarNamePrefix = 'etcone',
354  ChargedParticlesOnly = False)
355 
356 # Quark/gluon decoration for jets
358  """Configure the QG decoration tool for AntiKt4TruthDressedWZJets"""
359  return TruthQGDecorationToolCfg(flags,
360  name = "DFCommonTruthDressedWZQGLabelTool",
361  JetCollection = "AntiKt4TruthDressedWZJets")
362 
363 #==============================================================================
364 # Truth thinning
365 #==============================================================================
366 
367 # Menu truth thinning: removes truth particles on the basis of a menu of
368 # options (rather than a string)
369 def MenuTruthThinningCfg(flags, name, **kwargs):
370  """Configure the menu truth thinning tool"""
371  acc = ComponentAccumulator()
372  MenuTruthThinning = CompFactory.DerivationFramework.MenuTruthThinning
373  acc.addPublicTool(MenuTruthThinning(name, **kwargs),
374  primary = True)
375  return acc
376 
377 #==============================================================================
378 # Other tools
379 #==============================================================================
380 # Truth links on some objects point to the main truth particle container.
381 # This re-points the links from the old container to the new container
382 def TruthLinkRepointToolCfg(flags, name, **kwargs):
383  """Configure the truth link repointing tool"""
384  acc = ComponentAccumulator()
385  TruthLinkRepointTool = CompFactory.DerivationFramework.TruthLinkRepointTool
386  acc.addPublicTool(TruthLinkRepointTool(name, **kwargs),
387  primary = True)
388  return acc
389 
390 # Makes a small collection of 'primary' vertices, one per event
391 # A bit like a collection of 'reconstructable' vertices
392 def TruthPVCollectionMakerCfg(flags, name, **kwargs):
393  """Configure the truth PV collection maker tool"""
394  acc = ComponentAccumulator()
395  TruthPVCollectionMaker = CompFactory.DerivationFramework.TruthPVCollectionMaker
396  acc.addPublicTool(TruthPVCollectionMaker(name, **kwargs),
397  primary = True)
398  return acc
399 
400 # Tool for thinning TruthParticles
401 def GenericTruthThinningCfg(flags, name, **kwargs):
402  """Configure the GenericTruthThinning tool"""
403  acc = ComponentAccumulator()
404  GenericTruthThinning = CompFactory.DerivationFramework.GenericTruthThinning
405  acc.addPublicTool(GenericTruthThinning(name, **kwargs),
406  primary = True)
407  return acc
python.TruthDerivationToolsConfig.DFCommonTruthMuonToolCfg
def DFCommonTruthMuonToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:27
MCTruthClassifierConfig.MCTruthClassifierCfg
def MCTruthClassifierCfg(flags, **kwargs)
Definition: MCTruthClassifier/python/MCTruthClassifierConfig.py:8
python.TruthDerivationToolsConfig.HadronOriginDecoratorCfg
def HadronOriginDecoratorCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:239
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TruthDerivationToolsConfig.TruthD2DecoratorCfg
def TruthD2DecoratorCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:120
python.TruthDerivationToolsConfig.TruthBornLeptonCollectionMakerCfg
def TruthBornLeptonCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:205
python.TruthDerivationToolsConfig.DFCommonTruthPhotonIsolationTool2Cfg
def DFCommonTruthPhotonIsolationTool2Cfg(flags)
Definition: TruthDerivationToolsConfig.py:334
python.TruthDerivationToolsConfig.DFCommonTruthBosonToolCfg
def DFCommonTruthBosonToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:87
python.TruthDerivationToolsConfig.MuonTruthIsolationDecorAlgCfg
def MuonTruthIsolationDecorAlgCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:174
python.TruthDerivationToolsConfig.DFCommonTruthClassificationToolCfg
def DFCommonTruthClassificationToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:219
python.TruthDerivationToolsConfig.DFCommonTruthElectronIsolationTool1Cfg
def DFCommonTruthElectronIsolationTool1Cfg(flags)
Definition: TruthDerivationToolsConfig.py:278
TruthIsolationTool
Definition: TruthParticleID/McParticleTools/src/TruthIsolationTool.h:34
python.TruthDerivationToolsConfig.MenuTruthThinningCfg
def MenuTruthThinningCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:369
python.TruthDerivationToolsConfig.DFCommonTruthTopToolCfg
def DFCommonTruthTopToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:78
python.TruthDerivationToolsConfig.DFCommonTruthMuonIsolationTool1Cfg
def DFCommonTruthMuonIsolationTool1Cfg(flags)
Definition: TruthDerivationToolsConfig.py:300
python.TruthDerivationToolsConfig.DFCommonTruthElectronIsolationTool2Cfg
def DFCommonTruthElectronIsolationTool2Cfg(flags)
Definition: TruthDerivationToolsConfig.py:289
python.TruthDerivationToolsConfig.TruthLinkRepointToolCfg
def TruthLinkRepointToolCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:382
python.TruthDerivationToolsConfig.TruthDecayCollectionMakerCfg
def TruthDecayCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:197
python.TruthDerivationToolsConfig.TruthIsolationToolCfg
def TruthIsolationToolCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:166
python.TruthDerivationToolsConfig.TruthCollectionMakerCfg
def TruthCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:19
python.TruthDerivationToolsConfig.HadronOriginClassifierCfg
def HadronOriginClassifierCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:231
python.TruthDerivationToolsConfig.TruthClassificationDecoratorCfg
def TruthClassificationDecoratorCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:135
python.TruthDerivationToolsConfig.DFCommonTruthTauDressingToolCfg
def DFCommonTruthTauDressingToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:269
python.TruthDerivationToolsConfig.DFCommonTruthMuonIsolationTool2Cfg
def DFCommonTruthMuonIsolationTool2Cfg(flags)
Definition: TruthDerivationToolsConfig.py:311
python.TruthDerivationToolsConfig.DFCommonTruthPhotonIsolationTool3Cfg
def DFCommonTruthPhotonIsolationTool3Cfg(flags)
Definition: TruthDerivationToolsConfig.py:345
python.TruthDerivationToolsConfig.DFCommonTruthForwardProtonToolCfg
def DFCommonTruthForwardProtonToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:106
python.TruthDerivationToolsConfig.GenericTruthThinningCfg
def GenericTruthThinningCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:401
python.TruthDerivationToolsConfig.HardScatterCollectionMakerCfg
def HardScatterCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:213
python.TruthDerivationToolsConfig.DFCommonTruthMuonDressingToolCfg
def DFCommonTruthMuonDressingToolCfg(flags, decorationName="dressedPhoton")
Definition: TruthDerivationToolsConfig.py:259
python.TruthDerivationToolsConfig.DFCommonTruthNeutrinoToolCfg
def DFCommonTruthNeutrinoToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:60
python.TruthDerivationToolsConfig.TruthPVCollectionMakerCfg
def TruthPVCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:392
python.TruthDerivationToolsConfig.TruthNavigationDecoratorCfg
def TruthNavigationDecoratorCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:189
python.TruthDerivationToolsConfig.DFCommonTruthPhotonToolCfg
def DFCommonTruthPhotonToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:43
python.TruthDerivationToolsConfig.TruthQGDecorationToolCfg
def TruthQGDecorationToolCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:181
python.TruthDerivationToolsConfig.DFCommonTruthPhotonIsolationTool1Cfg
def DFCommonTruthPhotonIsolationTool1Cfg(flags)
Definition: TruthDerivationToolsConfig.py:322
python.TruthDerivationToolsConfig.MuonTruthClassifierFallbackCfg
def MuonTruthClassifierFallbackCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:143
python.TruthDerivationToolsConfig.TruthDressingToolCfg
def TruthDressingToolCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:158
MCTruthClassifier
Definition: MCTruthClassifier.h:56
python.TruthDerivationToolsConfig.DFCommonTruthElectronToolCfg
def DFCommonTruthElectronToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:35
python.TruthDerivationToolsConfig.DFCommonTruthDressedWZQGLabelToolCfg
def DFCommonTruthDressedWZQGLabelToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:357
python.TruthDerivationToolsConfig.DFCommonMCTruthClassifierCfg
def DFCommonMCTruthClassifierCfg(flags)
Definition: TruthDerivationToolsConfig.py:127
python.TruthDerivationToolsConfig.DFCommonTruthPhotonToolSimCfg
def DFCommonTruthPhotonToolSimCfg(flags)
Definition: TruthDerivationToolsConfig.py:52
str
Definition: BTagTrackIpAccessor.cxx:11
python.TruthDerivationToolsConfig.DFCommonTruthElectronDressingToolCfg
def DFCommonTruthElectronDressingToolCfg(flags, decorationName="dressedPhoton")
Definition: TruthDerivationToolsConfig.py:249
python.TruthDerivationToolsConfig.DFCommonTruthBottomToolCfg
def DFCommonTruthBottomToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:69
python.TruthDerivationToolsConfig.DFCommonTruthBSMToolCfg
def DFCommonTruthBSMToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:97