ATLAS Offline Software
Functions
python.TruthDerivationToolsConfig Namespace Reference

Functions

def TruthCollectionMakerCfg (flags, name, **kwargs)
 
def DFCommonTruthMuonToolCfg (flags)
 
def DFCommonTruthLHEToolCfg (flags)
 
def DFCommonTruthElectronToolCfg (flags)
 
def DFCommonTruthPhotonToolCfg (flags)
 
def DFCommonTruthPhotonToolSimCfg (flags)
 
def DFCommonTruthNeutrinoToolCfg (flags)
 
def DFCommonTruthBottomToolCfg (flags)
 
def DFCommonTruthTopToolCfg (flags)
 
def DFCommonTruthBosonToolCfg (flags)
 
def DFCommonTruthBSMToolCfg (flags)
 
def DFCommonTruthForwardProtonToolCfg (flags)
 
def TruthD2DecoratorCfg (flags, name, **kwargs)
 
def DFCommonMCTruthClassifierCfg (flags)
 
def TruthClassificationDecoratorCfg (flags, name, **kwargs)
 
def MuonTruthClassifierFallbackCfg (flags, name, **kwargs)
 
def TruthDressingToolCfg (flags, name, **kwargs)
 
def TruthIsolationToolCfg (flags, name, **kwargs)
 
def MuonTruthIsolationDecorAlgCfg (flags, name, **kwargs)
 
def TruthQGDecorationToolCfg (flags, name, **kwargs)
 
def TruthNavigationDecoratorCfg (flags, name, **kwargs)
 
def TruthDecayCollectionMakerCfg (flags, name, **kwargs)
 
def TruthBornLeptonCollectionMakerCfg (flags, name, **kwargs)
 
def HardScatterCollectionMakerCfg (flags, name, **kwargs)
 
def DFCommonTruthClassificationToolCfg (flags)
 
def HadronOriginClassifierCfg (flags, name, **kwargs)
 
def HadronOriginDecoratorCfg (flags, name, **kwargs)
 
def DFCommonTruthElectronDressingToolCfg (flags, decorationName="dressedPhoton")
 
def DFCommonTruthMuonDressingToolCfg (flags, decorationName="dressedPhoton")
 
def DFCommonTruthTauDressingToolCfg (flags)
 
def DFCommonTruthElectronIsolationTool1Cfg (flags)
 
def DFCommonTruthElectronIsolationTool2Cfg (flags)
 
def DFCommonTruthMuonIsolationTool1Cfg (flags)
 
def DFCommonTruthMuonIsolationTool2Cfg (flags)
 
def DFCommonTruthPhotonIsolationTool1Cfg (flags)
 
def DFCommonTruthPhotonIsolationTool2Cfg (flags)
 
def DFCommonTruthPhotonIsolationTool3Cfg (flags)
 
def DFCommonTruthDressedWZQGLabelToolCfg (flags)
 
def MenuTruthThinningCfg (flags, name, **kwargs)
 
def TruthLinkRepointToolCfg (flags, name, **kwargs)
 
def TruthPVCollectionMakerCfg (flags, name, **kwargs)
 
def GenericTruthThinningCfg (flags, name, **kwargs)
 

Function Documentation

◆ DFCommonMCTruthClassifierCfg()

def python.TruthDerivationToolsConfig.DFCommonMCTruthClassifierCfg (   flags)
Configure the MCTruthClassifier tool

Definition at line 135 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthBosonToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthBosonToolCfg (   flags)
Gauge bosons and Higgs truth collection maker

Definition at line 95 of file TruthDerivationToolsConfig.py.

95 def DFCommonTruthBosonToolCfg(flags):
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 

◆ DFCommonTruthBottomToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthBottomToolCfg (   flags)
B-quark truth collection maker

Definition at line 77 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthBSMToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthBSMToolCfg (   flags)
BSM particles truth collection maker

Definition at line 105 of file TruthDerivationToolsConfig.py.

105 def DFCommonTruthBSMToolCfg(flags):
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 

◆ DFCommonTruthClassificationToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthClassificationToolCfg (   flags)
dress the main truth collection with the classification

Definition at line 227 of file TruthDerivationToolsConfig.py.

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

◆ DFCommonTruthDressedWZQGLabelToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthDressedWZQGLabelToolCfg (   flags)
Configure the QG decoration tool for AntiKt4TruthDressedWZJets

Definition at line 365 of file TruthDerivationToolsConfig.py.

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)

◆ DFCommonTruthElectronDressingToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthElectronDressingToolCfg (   flags,
  decorationName = "dressedPhoton" 
)
Configure the electron truth dressing tool

Definition at line 257 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthElectronIsolationTool1Cfg()

def python.TruthDerivationToolsConfig.DFCommonTruthElectronIsolationTool1Cfg (   flags)
Configure the electron isolation tool, cone=0.2

Definition at line 286 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthElectronIsolationTool2Cfg()

def python.TruthDerivationToolsConfig.DFCommonTruthElectronIsolationTool2Cfg (   flags)
Configure the electron isolation tool, cone=0.3

Definition at line 297 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthElectronToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthElectronToolCfg (   flags)
Electron truth collection maker

Definition at line 43 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthForwardProtonToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthForwardProtonToolCfg (   flags)
Forward proton truth collection maker

Definition at line 114 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthLHEToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthLHEToolCfg (   flags)
LHE truth collection maker

Definition at line 35 of file TruthDerivationToolsConfig.py.

35 def DFCommonTruthLHEToolCfg(flags):
36  """LHE truth collection maker"""
37  return TruthCollectionMakerCfg(flags,
38  name = "DFCommonTruthLHETool",
39  NewCollectionName = "TruthLHEParticles",
40  KeepNavigationInfo = False,
41  ParticleSelectionString = "(TruthParticles.status == 1003)")
42 

◆ DFCommonTruthMuonDressingToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthMuonDressingToolCfg (   flags,
  decorationName = "dressedPhoton" 
)
Configure the muon truth dressing tool

Definition at line 267 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthMuonIsolationTool1Cfg()

def python.TruthDerivationToolsConfig.DFCommonTruthMuonIsolationTool1Cfg (   flags)
Configure the muon isolation tool, cone=0.2

Definition at line 308 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthMuonIsolationTool2Cfg()

def python.TruthDerivationToolsConfig.DFCommonTruthMuonIsolationTool2Cfg (   flags)
Configure the muon isolation tool, cone=0.3

Definition at line 319 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthMuonToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthMuonToolCfg (   flags)
Muon truth collection maker

Definition at line 27 of file TruthDerivationToolsConfig.py.

27 def DFCommonTruthMuonToolCfg(flags):
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 

◆ DFCommonTruthNeutrinoToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthNeutrinoToolCfg (   flags)
Neutrino truth collection maker

Definition at line 68 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthPhotonIsolationTool1Cfg()

def python.TruthDerivationToolsConfig.DFCommonTruthPhotonIsolationTool1Cfg (   flags)
Configure the photon isolation tool, etcone

Definition at line 330 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthPhotonIsolationTool2Cfg()

def python.TruthDerivationToolsConfig.DFCommonTruthPhotonIsolationTool2Cfg (   flags)
Configure the photon isolation tool, ptcone

Definition at line 342 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthPhotonIsolationTool3Cfg()

def python.TruthDerivationToolsConfig.DFCommonTruthPhotonIsolationTool3Cfg (   flags)
Configure the photon isolation tool, etcone=0.4

Definition at line 353 of file TruthDerivationToolsConfig.py.

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

◆ DFCommonTruthPhotonToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthPhotonToolCfg (   flags)
Photon truth collection maker

Definition at line 51 of file TruthDerivationToolsConfig.py.

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

◆ DFCommonTruthPhotonToolSimCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthPhotonToolSimCfg (   flags)
Tool for making TruthPhotons from sim samples

Definition at line 60 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthTauDressingToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthTauDressingToolCfg (   flags)
Configure the tau truth dressing tool

Definition at line 277 of file TruthDerivationToolsConfig.py.

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 

◆ DFCommonTruthTopToolCfg()

def python.TruthDerivationToolsConfig.DFCommonTruthTopToolCfg (   flags)
Top-quark truth collection maker

Definition at line 86 of file TruthDerivationToolsConfig.py.

86 def DFCommonTruthTopToolCfg(flags):
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 

◆ GenericTruthThinningCfg()

def python.TruthDerivationToolsConfig.GenericTruthThinningCfg (   flags,
  name,
**  kwargs 
)
Configure the GenericTruthThinning tool

Definition at line 409 of file TruthDerivationToolsConfig.py.

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

◆ HadronOriginClassifierCfg()

def python.TruthDerivationToolsConfig.HadronOriginClassifierCfg (   flags,
  name,
**  kwargs 
)
get the hadron origin classification

Definition at line 239 of file TruthDerivationToolsConfig.py.

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 

◆ HadronOriginDecoratorCfg()

def python.TruthDerivationToolsConfig.HadronOriginDecoratorCfg (   flags,
  name,
**  kwargs 
)
decorate with the hadron origin classification

Definition at line 247 of file TruthDerivationToolsConfig.py.

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

◆ HardScatterCollectionMakerCfg()

def python.TruthDerivationToolsConfig.HardScatterCollectionMakerCfg (   flags,
  name,
**  kwargs 
)
Add a mini-collection for the hard scatter and N subsequent generations

Definition at line 221 of file TruthDerivationToolsConfig.py.

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

◆ MenuTruthThinningCfg()

def python.TruthDerivationToolsConfig.MenuTruthThinningCfg (   flags,
  name,
**  kwargs 
)
Configure the menu truth thinning tool

Definition at line 377 of file TruthDerivationToolsConfig.py.

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

◆ MuonTruthClassifierFallbackCfg()

def python.TruthDerivationToolsConfig.MuonTruthClassifierFallbackCfg (   flags,
  name,
**  kwargs 
)
Config the MuonTruthClassifierFallback tool

Definition at line 151 of file TruthDerivationToolsConfig.py.

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 

◆ MuonTruthIsolationDecorAlgCfg()

def python.TruthDerivationToolsConfig.MuonTruthIsolationDecorAlgCfg (   flags,
  name,
**  kwargs 
)
Configure the MuonTruthIsolationTool

Definition at line 182 of file TruthDerivationToolsConfig.py.

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 

◆ TruthBornLeptonCollectionMakerCfg()

def python.TruthDerivationToolsConfig.TruthBornLeptonCollectionMakerCfg (   flags,
  name,
**  kwargs 
)
Configure the truth Born lepton collection tool

Definition at line 213 of file TruthDerivationToolsConfig.py.

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 

◆ TruthClassificationDecoratorCfg()

def python.TruthDerivationToolsConfig.TruthClassificationDecoratorCfg (   flags,
  name,
**  kwargs 
)
Configure the TruthClassificationDecorator tool

Definition at line 143 of file TruthDerivationToolsConfig.py.

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 

◆ TruthCollectionMakerCfg()

def python.TruthDerivationToolsConfig.TruthCollectionMakerCfg (   flags,
  name,
**  kwargs 
)
Configure the TruthCollectionMaker tool

Definition at line 19 of file TruthDerivationToolsConfig.py.

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 

◆ TruthD2DecoratorCfg()

def python.TruthDerivationToolsConfig.TruthD2DecoratorCfg (   flags,
  name,
**  kwargs 
)
Configure the truth D2 decorator tool

Definition at line 128 of file TruthDerivationToolsConfig.py.

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 

◆ TruthDecayCollectionMakerCfg()

def python.TruthDerivationToolsConfig.TruthDecayCollectionMakerCfg (   flags,
  name,
**  kwargs 
)
Configure the truth decay collection maker

Definition at line 205 of file TruthDerivationToolsConfig.py.

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 

◆ TruthDressingToolCfg()

def python.TruthDerivationToolsConfig.TruthDressingToolCfg (   flags,
  name,
**  kwargs 
)
Configure the TruthDressingTool

Definition at line 166 of file TruthDerivationToolsConfig.py.

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 

◆ TruthIsolationToolCfg()

def python.TruthDerivationToolsConfig.TruthIsolationToolCfg (   flags,
  name,
**  kwargs 
)
Configure the truth isolation tool

Definition at line 174 of file TruthDerivationToolsConfig.py.

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 

◆ TruthLinkRepointToolCfg()

def python.TruthDerivationToolsConfig.TruthLinkRepointToolCfg (   flags,
  name,
**  kwargs 
)
Configure the truth link repointing tool

Definition at line 390 of file TruthDerivationToolsConfig.py.

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

◆ TruthNavigationDecoratorCfg()

def python.TruthDerivationToolsConfig.TruthNavigationDecoratorCfg (   flags,
  name,
**  kwargs 
)
Congigure the truth navigation decorator tool

Definition at line 197 of file TruthDerivationToolsConfig.py.

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 

◆ TruthPVCollectionMakerCfg()

def python.TruthDerivationToolsConfig.TruthPVCollectionMakerCfg (   flags,
  name,
**  kwargs 
)
Configure the truth PV collection maker tool

Definition at line 400 of file TruthDerivationToolsConfig.py.

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

◆ TruthQGDecorationToolCfg()

def python.TruthDerivationToolsConfig.TruthQGDecorationToolCfg (   flags,
  name,
**  kwargs 
)
Configure the quark/gluon decoration tool

Definition at line 189 of file TruthDerivationToolsConfig.py.

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 
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