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  TruthClassificationDecorator = CompFactory.DerivationFramework.TruthClassificationDecorator
152  acc.addPublicTool(TruthClassificationDecorator(name = name, **kwargs),
153  primary = True)
154  return acc
155 
156 
157 def MuonTruthClassifierFallbackCfg(flags, name, **kwargs):
158  """Config the MuonTruthClassifierFallback tool"""
159  acc = ComponentAccumulator()
160 
161  if "MCTruthClassifierTool" not in kwargs:
162  from MCTruthClassifier.MCTruthClassifierConfig import (
163  MCTruthClassifierCfg)
164  kwargs.setdefault("MCTruthClassifierTool", acc.popToolsAndMerge(
165  MCTruthClassifierCfg(flags, name = "MuonTruthClassifierFallbackMCTruthClassifier")))
166 
167  MuonTruthClassifierFallback = CompFactory.DerivationFramework.MuonTruthClassifierFallback
168  acc.addPublicTool(MuonTruthClassifierFallback(name = name, **kwargs),
169  primary = True)
170  return acc
171 
172 
173 def TruthDressingToolCfg(flags, name, **kwargs):
174  """Configure the TruthDressingTool"""
175  acc = ComponentAccumulator()
176  TruthDressingTool = CompFactory.DerivationFramework.TruthDressingTool
177  acc.addPublicTool(TruthDressingTool( name = name, **kwargs),
178  primary = True)
179  return acc
180 
181 
182 def TruthIsolationToolCfg(flags, name, **kwargs):
183  """Configure the truth isolation tool"""
184  acc = ComponentAccumulator()
185  TruthIsolationTool = CompFactory.DerivationFramework.TruthIsolationTool
186  acc.addPublicTool(TruthIsolationTool(name = name, **kwargs),
187  primary = True)
188  return acc
189 
190 
191 def MuonTruthIsolationDecorAlgCfg(flags, name, **kwargs):
192  """Configure the MuonTruthIsolationTool"""
193  acc = ComponentAccumulator()
194  acc.addEventAlgo(CompFactory.DerivationFramework.MuonTruthIsolationDecorAlg(name = name, **kwargs),
195  primary = True)
196  return acc
197 
198 
199 def TruthQGDecorationToolCfg(flags, name, **kwargs):
200  """Configure the quark/gluon decoration tool"""
201  acc = ComponentAccumulator()
202  TruthQGDecorationTool = CompFactory.DerivationFramework.TruthQGDecorationTool
203  acc.addPublicTool(TruthQGDecorationTool(name = name, **kwargs),
204  primary = True)
205  return acc
206 
207 
208 def TruthNavigationDecoratorCfg(flags, name, **kwargs):
209  """Congigure the truth navigation decorator tool"""
210  acc = ComponentAccumulator()
211  TruthNavigationDecorator = CompFactory.DerivationFramework.TruthNavigationDecorator
212  acc.addPublicTool(TruthNavigationDecorator(name = name, **kwargs),
213  primary = True)
214  return acc
215 
216 
217 def TruthDecayCollectionMakerCfg(flags, name, **kwargs):
218  """Configure the truth decay collection maker"""
219  acc = ComponentAccumulator()
220  TruthDecayCollectionMaker = CompFactory.DerivationFramework.TruthDecayCollectionMaker
221  acc.addPublicTool(TruthDecayCollectionMaker(name = name, **kwargs),
222  primary = True)
223  return acc
224 
225 
226 def TruthBornLeptonCollectionMakerCfg(flags, name, **kwargs):
227  """Configure the truth Born lepton collection tool"""
228  acc = ComponentAccumulator()
229  TruthBornLeptonCollectionMaker = CompFactory.DerivationFramework.TruthBornLeptonCollectionMaker
230  acc.addPublicTool(TruthBornLeptonCollectionMaker(name = name, **kwargs),
231  primary = True)
232  return acc
233 
234 
235 def HardScatterCollectionMakerCfg(flags, name, **kwargs):
236  """Add a mini-collection for the hard scatter and N subsequent generations"""
237  acc = ComponentAccumulator()
238  return acc
239 
240 
241 #add the 'decoration' tool to dress the main truth collection with the classification
243  """dress the main truth collection with the classification"""
244  from MCTruthClassifier.MCTruthClassifierConfig import DFCommonMCTruthClassifierCfg
245  accMCTC = DFCommonMCTruthClassifierCfg(flags)
246  DFCommonTruthClassifier = accMCTC.getPrimary()
248  name = "DFCommonTruthClassificationTool",
249  ParticlesKey = "TruthParticles",
250  MCTruthClassifier = DFCommonTruthClassifier)
251  acc.merge(accMCTC)
252  return acc
253 
254 
255 # Hadron origin decoration tools
256 def HadronOriginClassifierCfg(flags, name, **kwargs):
257  """get the hadron origin classification"""
258  acc = ComponentAccumulator()
259  HadronOriginClassifier = CompFactory.DerivationFramework.HadronOriginClassifier
260  kwargs.setdfault("DSID", flags.Input.MCChannelNumber)
261  acc.addPublicTool(HadronOriginClassifier(name = name, **kwargs),
262  primary = True)
263  return acc
264 
265 
266 def HadronOriginDecoratorCfg(flags, name, **kwargs):
267  """decorate with the hadron origin classification"""
268  acc = ComponentAccumulator()
269  if not hasattr(kwargs, "ToolName"):
270  kwargs.setdefault("ToolName", acc.getPrimaryAndMerge(HadronOriginClassifierCfg(flags,
271  name="DFCommonHadronOriginClassifier")))
272  acc.addPublicTool(CompFactory.DerivationFramework.HadronOriginDecorator
273  (name = name, **kwargs),
274  primary = True)
275  return acc
276 
277 
278 #add the 'decoration' tools for dressing and isolation
279 def DFCommonTruthElectronDressingToolCfg(flags, decorationName = "dressedPhoton"):
280  """Configure the electron truth dressing tool"""
281  return TruthDressingToolCfg(flags,
282  name = "DFCommonTruthElectronDressingTool",
283  dressParticlesKey = "TruthElectrons",
284  usePhotonsFromHadrons = False,
285  dressingConeSize = 0.1,
286  particleIDsToDress = [11],
287  decorationName = decorationName+"_e")
288 
289 
290 def DFCommonTruthMuonDressingToolCfg(flags, decorationName = "dressedPhoton"):
291  """Configure the muon truth dressing tool"""
292  return TruthDressingToolCfg(flags,
293  name = "DFCommonTruthMuonDressingTool",
294  dressParticlesKey = "TruthMuons",
295  usePhotonsFromHadrons = False,
296  dressingConeSize = 0.1,
297  particleIDsToDress = [13],
298  decorationName = decorationName+"_mu")
299 
300 
302  """Configure the tau truth dressing tool"""
303  return TruthDressingToolCfg(flags,
304  name = "DFCommonTruthTauDressingTool",
305  dressParticlesKey = "TruthTaus",
306  usePhotonsFromHadrons = False,
307  dressingConeSize = 0.2, # Tau special
308  particleIDsToDress = [15],
309  decoratePhotons = False)
310 
311 
313  """Configure the electron isolation tool, cone=0.2"""
314  return TruthIsolationToolCfg(flags,
315  name = "DFCommonTruthElectronIsolationTool1",
316  isoParticlesKey = "TruthElectrons",
317  allParticlesKey = "TruthParticles",
318  particleIDsToCalculate = [11],
319  IsolationConeSizes = [0.2],
320  IsolationVarNamePrefix = 'etcone',
321  ChargedParticlesOnly = False)
322 
323 
325  """Configure the electron isolation tool, cone=0.3"""
326  return TruthIsolationToolCfg(flags,
327  name = "DFCommonTruthElectronIsolationTool2",
328  isoParticlesKey = "TruthElectrons",
329  allParticlesKey = "TruthParticles",
330  particleIDsToCalculate = [11],
331  IsolationConeSizes = [0.3],
332  IsolationVarNamePrefix = 'ptcone',
333  ChargedParticlesOnly = True)
334 
335 
337  """Configure the muon isolation tool, cone=0.2"""
338  return TruthIsolationToolCfg(flags,
339  name = "DFCommonTruthMuonIsolationTool1",
340  isoParticlesKey = "TruthMuons",
341  allParticlesKey = "TruthParticles",
342  particleIDsToCalculate = [13],
343  IsolationConeSizes = [0.2],
344  IsolationVarNamePrefix = 'etcone',
345  ChargedParticlesOnly = False)
346 
347 
349  """Configure the muon isolation tool, cone=0.3"""
350  return TruthIsolationToolCfg(flags,
351  name = "DFCommonTruthMuonIsolationTool2",
352  isoParticlesKey = "TruthMuons",
353  allParticlesKey = "TruthParticles",
354  particleIDsToCalculate = [13],
355  IsolationConeSizes = [0.3],
356  IsolationVarNamePrefix = 'ptcone',
357  ChargedParticlesOnly = True)
358 
359 
361  """Configure the photon isolation tool, etcone"""
362  return TruthIsolationToolCfg(flags,
363  name = "DFCommonTruthPhotonIsolationTool1",
364  isoParticlesKey = "TruthPhotons",
365  allParticlesKey = "TruthParticles",
366  particleIDsToCalculate = [22],
367  IsolationConeSizes = [0.2],
368  IsolationVarNamePrefix = 'etcone',
369  ChargedParticlesOnly = False)
370 
371 
373  """Configure the photon isolation tool, ptcone"""
374  return TruthIsolationToolCfg(flags,
375  name = "DFCommonTruthPhotonIsolationTool2",
376  isoParticlesKey = "TruthPhotons",
377  allParticlesKey = "TruthParticles",
378  particleIDsToCalculate = [22],
379  IsolationConeSizes = [0.2],
380  IsolationVarNamePrefix = 'ptcone',
381  ChargedParticlesOnly = True)
382 
383 
385  """Configure the photon isolation tool, etcone=0.4"""
386  return TruthIsolationToolCfg(flags,
387  name = "DFCommonTruthPhotonIsolationTool3",
388  isoParticlesKey = "TruthPhotons",
389  allParticlesKey = "TruthParticles",
390  particleIDsToCalculate = [22],
391  IsolationConeSizes = [0.4],
392  IsolationVarNamePrefix = 'etcone',
393  ChargedParticlesOnly = False)
394 
395 
396 # Quark/gluon decoration for jets
398  """Configure the QG decoration tool for AntiKt4TruthDressedWZJets"""
399  return TruthQGDecorationToolCfg(flags,
400  name = "DFCommonTruthDressedWZQGLabelTool",
401  JetCollection = "AntiKt4TruthDressedWZJets")
402 
403 #==============================================================================
404 # Truth thinning
405 #==============================================================================
406 
407 # Menu truth thinning: removes truth particles on the basis of a menu of
408 # options (rather than a string)
409 def MenuTruthThinningCfg(flags, name, **kwargs):
410  """Configure the menu truth thinning tool"""
411  acc = ComponentAccumulator()
412  MenuTruthThinning = CompFactory.DerivationFramework.MenuTruthThinning
413  acc.addPublicTool(MenuTruthThinning(name, **kwargs),
414  primary = True)
415  return acc
416 
417 #==============================================================================
418 # Other tools
419 #==============================================================================
420 # Truth links on some objects point to the main truth particle container.
421 # This re-points the links from the old container to the new container
422 def TruthLinkRepointToolCfg(flags, name, **kwargs):
423  """Configure the truth link repointing tool"""
424  acc = ComponentAccumulator()
425  TruthLinkRepointTool = CompFactory.DerivationFramework.TruthLinkRepointTool
426  acc.addPublicTool(TruthLinkRepointTool(name, **kwargs),
427  primary = True)
428  return acc
429 
430 
431 # Makes a small collection of 'primary' vertices, one per event
432 # A bit like a collection of 'reconstructable' vertices
433 def TruthPVCollectionMakerCfg(flags, name, **kwargs):
434  """Configure the truth PV collection maker tool"""
435  acc = ComponentAccumulator()
436  TruthPVCollectionMaker = CompFactory.DerivationFramework.TruthPVCollectionMaker
437  acc.addPublicTool(TruthPVCollectionMaker(name, **kwargs),
438  primary = True)
439  return acc
440 
441 
442 # Tool for thinning TruthParticles
443 def GenericTruthThinningCfg(flags, name, **kwargs):
444  """Configure the GenericTruthThinning tool"""
445  acc = ComponentAccumulator()
446  GenericTruthThinning = CompFactory.DerivationFramework.GenericTruthThinning
447  acc.addPublicTool(GenericTruthThinning(name, **kwargs),
448  primary = True)
449  return acc
python.TruthDerivationToolsConfig.DFCommonTruthMuonToolCfg
def DFCommonTruthMuonToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:27
python.TruthDerivationToolsConfig.HadronOriginDecoratorCfg
def HadronOriginDecoratorCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:266
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TruthDerivationToolsConfig.TruthD2DecoratorCfg
def TruthD2DecoratorCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:140
python.TruthDerivationToolsConfig.TruthBornLeptonCollectionMakerCfg
def TruthBornLeptonCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:226
python.TruthDerivationToolsConfig.DFCommonTruthPhotonIsolationTool2Cfg
def DFCommonTruthPhotonIsolationTool2Cfg(flags)
Definition: TruthDerivationToolsConfig.py:372
python.TruthDerivationToolsConfig.DFCommonTruthBosonToolCfg
def DFCommonTruthBosonToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:105
python.TruthDerivationToolsConfig.MuonTruthIsolationDecorAlgCfg
def MuonTruthIsolationDecorAlgCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:191
python.TruthDerivationToolsConfig.DFCommonTruthClassificationToolCfg
def DFCommonTruthClassificationToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:242
python.TruthDerivationToolsConfig.DFCommonTruthElectronIsolationTool1Cfg
def DFCommonTruthElectronIsolationTool1Cfg(flags)
Definition: TruthDerivationToolsConfig.py:312
TruthIsolationTool
Definition: TruthParticleID/McParticleTools/src/TruthIsolationTool.h:34
MCTruthClassifierConfig.DFCommonMCTruthClassifierCfg
def DFCommonMCTruthClassifierCfg(flags)
Definition: MCTruthClassifier/python/MCTruthClassifierConfig.py:56
python.TruthDerivationToolsConfig.MenuTruthThinningCfg
def MenuTruthThinningCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:409
python.TruthDerivationToolsConfig.DFCommonTruthTopToolCfg
def DFCommonTruthTopToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:95
python.TruthDerivationToolsConfig.DFCommonTruthMuonIsolationTool1Cfg
def DFCommonTruthMuonIsolationTool1Cfg(flags)
Definition: TruthDerivationToolsConfig.py:336
python.TruthDerivationToolsConfig.DFCommonTruthElectronIsolationTool2Cfg
def DFCommonTruthElectronIsolationTool2Cfg(flags)
Definition: TruthDerivationToolsConfig.py:324
python.TruthDerivationToolsConfig.TruthLinkRepointToolCfg
def TruthLinkRepointToolCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:422
python.TruthDerivationToolsConfig.TruthDecayCollectionMakerCfg
def TruthDecayCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:217
python.TruthDerivationToolsConfig.TruthIsolationToolCfg
def TruthIsolationToolCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:182
python.TruthDerivationToolsConfig.TruthCollectionMakerCfg
def TruthCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:19
python.TruthDerivationToolsConfig.HadronOriginClassifierCfg
def HadronOriginClassifierCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:256
python.TruthDerivationToolsConfig.TruthClassificationDecoratorCfg
def TruthClassificationDecoratorCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:148
python.TruthDerivationToolsConfig.DFCommonTruthTauDressingToolCfg
def DFCommonTruthTauDressingToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:301
python.TruthDerivationToolsConfig.DFCommonTruthMuonIsolationTool2Cfg
def DFCommonTruthMuonIsolationTool2Cfg(flags)
Definition: TruthDerivationToolsConfig.py:348
python.TruthDerivationToolsConfig.DFCommonTruthPhotonIsolationTool3Cfg
def DFCommonTruthPhotonIsolationTool3Cfg(flags)
Definition: TruthDerivationToolsConfig.py:384
python.TruthDerivationToolsConfig.DFCommonTruthForwardProtonToolCfg
def DFCommonTruthForwardProtonToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:126
python.TruthDerivationToolsConfig.GenericTruthThinningCfg
def GenericTruthThinningCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:443
python.TruthDerivationToolsConfig.DFCommonTruthCharmToolCfg
def DFCommonTruthCharmToolCfg(flags, name)
Definition: TruthDerivationToolsConfig.py:36
python.TruthDerivationToolsConfig.HardScatterCollectionMakerCfg
def HardScatterCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:235
python.TruthDerivationToolsConfig.DFCommonTruthMuonDressingToolCfg
def DFCommonTruthMuonDressingToolCfg(flags, decorationName="dressedPhoton")
Definition: TruthDerivationToolsConfig.py:290
python.TruthDerivationToolsConfig.DFCommonTruthNeutrinoToolCfg
def DFCommonTruthNeutrinoToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:75
python.TruthDerivationToolsConfig.TruthPVCollectionMakerCfg
def TruthPVCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:433
python.TruthDerivationToolsConfig.TruthNavigationDecoratorCfg
def TruthNavigationDecoratorCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:208
python.TruthDerivationToolsConfig.DFCommonTruthPhotonToolCfg
def DFCommonTruthPhotonToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:56
python.TruthDerivationToolsConfig.TruthQGDecorationToolCfg
def TruthQGDecorationToolCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:199
python.TruthDerivationToolsConfig.DFCommonTruthPhotonIsolationTool1Cfg
def DFCommonTruthPhotonIsolationTool1Cfg(flags)
Definition: TruthDerivationToolsConfig.py:360
python.TruthDerivationToolsConfig.MuonTruthClassifierFallbackCfg
def MuonTruthClassifierFallbackCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:157
python.TruthDerivationToolsConfig.TruthDressingToolCfg
def TruthDressingToolCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:173
python.TruthDerivationToolsConfig.DFCommonTruthElectronToolCfg
def DFCommonTruthElectronToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:47
python.TruthDerivationToolsConfig.DFCommonTruthDressedWZQGLabelToolCfg
def DFCommonTruthDressedWZQGLabelToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:397
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:279
python.TruthDerivationToolsConfig.DFCommonTruthBottomToolCfg
def DFCommonTruthBottomToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:85
python.TruthDerivationToolsConfig.DFCommonTruthBSMToolCfg
def DFCommonTruthBSMToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:116