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