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