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