ATLAS Offline Software
Functions
python.TruthDerivationToolsConfig Namespace Reference

Functions

def TruthCollectionMakerCfg (flags, name, **kwargs)
 
def DFCommonTruthMuonToolCfg (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 127 of file TruthDerivationToolsConfig.py.

128  """Configure the MCTruthClassifier tool"""
129  acc = ComponentAccumulator()
130  MCTruthClassifier = CompFactory.MCTruthClassifier
131  acc.addPublicTool(MCTruthClassifier(name = "DFCommonTruthClassifier", ParticleCaloExtensionTool = ""),
132  primary = True)
133  return acc
134 

◆ DFCommonTruthBosonToolCfg()

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

Definition at line 87 of file TruthDerivationToolsConfig.py.

87 def DFCommonTruthBosonToolCfg(flags):
88  """Gauge bosons and Higgs truth collection maker"""
89  return TruthCollectionMakerCfg(flags,
90  name = "DFCommonTruthBosonTool",
91  NewCollectionName = "TruthBoson",
92  KeepNavigationInfo = False,
93  ParticleSelectionString = "(abs(TruthParticles.pdgId) == 23 || abs(TruthParticles.pdgId) == 24 || abs(TruthParticles.pdgId) == 25)",
94  Do_Compress = True,
95  Do_Sherpa = True)
96 

◆ DFCommonTruthBottomToolCfg()

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

Definition at line 69 of file TruthDerivationToolsConfig.py.

70  """B-quark truth collection maker"""
71  return TruthCollectionMakerCfg(flags,
72  name = "DFCommonTruthBottomTool",
73  NewCollectionName = "TruthBottom",
74  KeepNavigationInfo = False,
75  ParticleSelectionString = "(abs(TruthParticles.pdgId) == 5)",
76  Do_Compress = True)
77 

◆ DFCommonTruthBSMToolCfg()

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

Definition at line 97 of file TruthDerivationToolsConfig.py.

97 def DFCommonTruthBSMToolCfg(flags):
98  """BSM particles truth collection maker"""
99  return TruthCollectionMakerCfg(flags,
100  name = "DFCommonTruthBSMTool",
101  NewCollectionName = "TruthBSM",
102  KeepNavigationInfo = False,
103  ParticleSelectionString = "(TruthParticles.isBSM)",
104  Do_Compress = True)
105 

◆ DFCommonTruthClassificationToolCfg()

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

Definition at line 219 of file TruthDerivationToolsConfig.py.

220  """dress the main truth collection with the classification"""
221  accMCTC = DFCommonMCTruthClassifierCfg(flags)
222  DFCommonTruthClassifier = accMCTC.getPrimary()
224  name = "DFCommonTruthClassificationTool",
225  ParticlesKey = "TruthParticles",
226  MCTruthClassifier = DFCommonTruthClassifier)
227  acc.merge(accMCTC)
228  return acc
229 
230 # Hadron origin decoration tools

◆ DFCommonTruthDressedWZQGLabelToolCfg()

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

Definition at line 357 of file TruthDerivationToolsConfig.py.

358  """Configure the QG decoration tool for AntiKt4TruthDressedWZJets"""
359  return TruthQGDecorationToolCfg(flags,
360  name = "DFCommonTruthDressedWZQGLabelTool",
361  JetCollection = "AntiKt4TruthDressedWZJets")
362 
363 #==============================================================================
364 # Truth thinning
365 #==============================================================================
366 
367 # Menu truth thinning: removes truth particles on the basis of a menu of
368 # options (rather than a string)

◆ DFCommonTruthElectronDressingToolCfg()

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

Definition at line 249 of file TruthDerivationToolsConfig.py.

249 def DFCommonTruthElectronDressingToolCfg(flags, decorationName = "dressedPhoton"):
250  """Configure the electron truth dressing tool"""
251  return TruthDressingToolCfg(flags,
252  name = "DFCommonTruthElectronDressingTool",
253  dressParticlesKey = "TruthElectrons",
254  usePhotonsFromHadrons = False,
255  dressingConeSize = 0.1,
256  particleIDsToDress = [11],
257  decorationName = decorationName)
258 

◆ DFCommonTruthElectronIsolationTool1Cfg()

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

Definition at line 278 of file TruthDerivationToolsConfig.py.

279  """Configure the electron isolation tool, cone=0.2"""
280  return TruthIsolationToolCfg(flags,
281  name = "DFCommonTruthElectronIsolationTool1",
282  isoParticlesKey = "TruthElectrons",
283  allParticlesKey = "TruthParticles",
284  particleIDsToCalculate = [11],
285  IsolationConeSizes = [0.2],
286  IsolationVarNamePrefix = 'etcone',
287  ChargedParticlesOnly = False)
288 

◆ DFCommonTruthElectronIsolationTool2Cfg()

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

Definition at line 289 of file TruthDerivationToolsConfig.py.

290  """Configure the electron isolation tool, cone=0.3"""
291  return TruthIsolationToolCfg(flags,
292  name = "DFCommonTruthElectronIsolationTool2",
293  isoParticlesKey = "TruthElectrons",
294  allParticlesKey = "TruthParticles",
295  particleIDsToCalculate = [11],
296  IsolationConeSizes = [0.3],
297  IsolationVarNamePrefix = 'ptcone',
298  ChargedParticlesOnly = True)
299 

◆ DFCommonTruthElectronToolCfg()

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

Definition at line 35 of file TruthDerivationToolsConfig.py.

36  """Electron truth collection maker"""
37  return TruthCollectionMakerCfg(flags,
38  name = "DFCommonTruthElectronTool",
39  NewCollectionName = "TruthElectrons",
40  KeepNavigationInfo = False,
41  ParticleSelectionString = f"(abs(TruthParticles.pdgId) == 11) && (TruthParticles.status == 1) && TruthParticles.barcode < {flags.Sim.SimBarcodeOffset}")
42 

◆ DFCommonTruthForwardProtonToolCfg()

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

Definition at line 106 of file TruthDerivationToolsConfig.py.

107  """Forward proton truth collection maker"""
108  beam_energy = flags.Beam.Energy
109  return TruthCollectionMakerCfg(flags,
110  name = "DFCommonTruthForwardProtonTool",
111  NewCollectionName = "TruthForwardProtons",
112  KeepNavigationInfo = False,
113  ParticleSelectionString = "(TruthParticles.status==1) && (abs(TruthParticles.pdgId)==2212) && (TruthParticles.e>0.8*"+str(beam_energy)+")",
114  Do_Compress = True)
115 
116 #==============================================================================
117 # Decoration tools
118 #==============================================================================
119 

◆ DFCommonTruthMuonDressingToolCfg()

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

Definition at line 259 of file TruthDerivationToolsConfig.py.

259 def DFCommonTruthMuonDressingToolCfg(flags, decorationName = "dressedPhoton"):
260  """Configure the muon truth dressing tool"""
261  return TruthDressingToolCfg(flags,
262  name = "DFCommonTruthMuonDressingTool",
263  dressParticlesKey = "TruthMuons",
264  usePhotonsFromHadrons = False,
265  dressingConeSize = 0.1,
266  particleIDsToDress = [13],
267  decorationName = decorationName)
268 

◆ DFCommonTruthMuonIsolationTool1Cfg()

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

Definition at line 300 of file TruthDerivationToolsConfig.py.

301  """Configure the muon isolation tool, cone=0.2"""
302  return TruthIsolationToolCfg(flags,
303  name = "DFCommonTruthMuonIsolationTool1",
304  isoParticlesKey = "TruthMuons",
305  allParticlesKey = "TruthParticles",
306  particleIDsToCalculate = [13],
307  IsolationConeSizes = [0.2],
308  IsolationVarNamePrefix = 'etcone',
309  ChargedParticlesOnly = False)
310 

◆ DFCommonTruthMuonIsolationTool2Cfg()

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

Definition at line 311 of file TruthDerivationToolsConfig.py.

312  """Configure the muon isolation tool, cone=0.3"""
313  return TruthIsolationToolCfg(flags,
314  name = "DFCommonTruthMuonIsolationTool2",
315  isoParticlesKey = "TruthMuons",
316  allParticlesKey = "TruthParticles",
317  particleIDsToCalculate = [13],
318  IsolationConeSizes = [0.3],
319  IsolationVarNamePrefix = 'ptcone',
320  ChargedParticlesOnly = True)
321 

◆ 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 60 of file TruthDerivationToolsConfig.py.

61  """Neutrino truth collection maker"""
62  neutrinoexpression = f"(TruthParticles.isNeutrino && TruthParticles.status == 1) && TruthParticles.barcode < {flags.Sim.SimBarcodeOffset}"
63  return TruthCollectionMakerCfg(flags,
64  name = "DFCommonTruthNeutrinoTool",
65  NewCollectionName = "TruthNeutrinos",
66  KeepNavigationInfo = False,
67  ParticleSelectionString = neutrinoexpression)
68 

◆ DFCommonTruthPhotonIsolationTool1Cfg()

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

Definition at line 322 of file TruthDerivationToolsConfig.py.

323  """Configure the photon isolation tool, etcone"""
324  return TruthIsolationToolCfg(flags,
325  name = "DFCommonTruthPhotonIsolationTool1",
326  isoParticlesKey = "TruthPhotons",
327  allParticlesKey = "TruthParticles",
328  particleIDsToCalculate = [22],
329  IsolationConeSizes = [0.2],
330  IsolationVarNamePrefix = 'etcone',
331  ChargedParticlesOnly = False)
332 
333 

◆ DFCommonTruthPhotonIsolationTool2Cfg()

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

Definition at line 334 of file TruthDerivationToolsConfig.py.

335  """Configure the photon isolation tool, ptcone"""
336  return TruthIsolationToolCfg(flags,
337  name = "DFCommonTruthPhotonIsolationTool2",
338  isoParticlesKey = "TruthPhotons",
339  allParticlesKey = "TruthParticles",
340  particleIDsToCalculate = [22],
341  IsolationConeSizes = [0.2],
342  IsolationVarNamePrefix = 'ptcone',
343  ChargedParticlesOnly = True)
344 

◆ DFCommonTruthPhotonIsolationTool3Cfg()

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

Definition at line 345 of file TruthDerivationToolsConfig.py.

346  """Configure the photon isolation tool, etcone=0.4"""
347  return TruthIsolationToolCfg(flags,
348  name = "DFCommonTruthPhotonIsolationTool3",
349  isoParticlesKey = "TruthPhotons",
350  allParticlesKey = "TruthParticles",
351  particleIDsToCalculate = [22],
352  IsolationConeSizes = [0.4],
353  IsolationVarNamePrefix = 'etcone',
354  ChargedParticlesOnly = False)
355 
356 # Quark/gluon decoration for jets

◆ DFCommonTruthPhotonToolCfg()

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

Definition at line 43 of file TruthDerivationToolsConfig.py.

44  """Photon truth collection maker"""
45  return TruthCollectionMakerCfg(flags,
46  name = "DFCommonTruthPhotonTool",
47  NewCollectionName = "TruthPhotons",
48  KeepNavigationInfo = False,
49  ParticleSelectionString = f"(abs(TruthParticles.pdgId) == 22) && (TruthParticles.status == 1) && TruthParticles.barcode < {flags.Sim.SimBarcodeOffset}")
50 
51 # 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 52 of file TruthDerivationToolsConfig.py.

53  """Tool for making TruthPhotons from sim samples"""
54  return TruthCollectionMakerCfg(flags,
55  name = "DFCommonTruthPhotonToolSim",
56  NewCollectionName = "TruthPhotons",
57  KeepNavigationInfo = False,
58  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} )")
59 

◆ DFCommonTruthTauDressingToolCfg()

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

Definition at line 269 of file TruthDerivationToolsConfig.py.

270  """Configure the tau truth dressing tool"""
271  return TruthDressingToolCfg(flags,
272  name = "DFCommonTruthTauDressingTool",
273  dressParticlesKey = "TruthTaus",
274  usePhotonsFromHadrons = False,
275  dressingConeSize = 0.2, # Tau special
276  particleIDsToDress = [15])
277 

◆ DFCommonTruthTopToolCfg()

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

Definition at line 78 of file TruthDerivationToolsConfig.py.

78 def DFCommonTruthTopToolCfg(flags):
79  """Top-quark truth collection maker"""
80  return TruthCollectionMakerCfg(flags,
81  name = "DFCommonTruthTopTool",
82  NewCollectionName = "TruthTop",
83  KeepNavigationInfo = False,
84  ParticleSelectionString = "(abs(TruthParticles.pdgId) == 6)",
85  Do_Compress = True)
86 

◆ GenericTruthThinningCfg()

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

Definition at line 401 of file TruthDerivationToolsConfig.py.

401 def GenericTruthThinningCfg(flags, name, **kwargs):
402  """Configure the GenericTruthThinning tool"""
403  acc = ComponentAccumulator()
404  GenericTruthThinning = CompFactory.DerivationFramework.GenericTruthThinning
405  acc.addPublicTool(GenericTruthThinning(name, **kwargs),
406  primary = True)
407  return acc

◆ HadronOriginClassifierCfg()

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

Definition at line 231 of file TruthDerivationToolsConfig.py.

231 def HadronOriginClassifierCfg(flags, name, **kwargs):
232  """get the hadron origin classification"""
233  acc = ComponentAccumulator()
234  HadronOriginClassifier = CompFactory.DerivationFramework.HadronOriginClassifier
235  acc.addPublicTool(HadronOriginClassifier(name = name, **kwargs),
236  primary = True)
237  return acc
238 

◆ HadronOriginDecoratorCfg()

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

Definition at line 239 of file TruthDerivationToolsConfig.py.

239 def HadronOriginDecoratorCfg(flags, name, **kwargs):
240  """decorate with the hadron origin classification"""
241  acc = ComponentAccumulator()
242  HadronOriginDecorator = CompFactory.DerivationFramework.HadronOriginDecorator
243  acc.addPublicTool(HadronOriginDecorator(name = name, **kwargs),
244  primary = True)
245  return acc
246 
247 
248 #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 213 of file TruthDerivationToolsConfig.py.

213 def HardScatterCollectionMakerCfg(flags, name, **kwargs):
214  """Add a mini-collection for the hard scatter and N subsequent generations"""
215  acc = ComponentAccumulator()
216  return acc
217 
218 #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 369 of file TruthDerivationToolsConfig.py.

369 def MenuTruthThinningCfg(flags, name, **kwargs):
370  """Configure the menu truth thinning tool"""
371  acc = ComponentAccumulator()
372  MenuTruthThinning = CompFactory.DerivationFramework.MenuTruthThinning
373  acc.addPublicTool(MenuTruthThinning(name, **kwargs),
374  primary = True)
375  return acc
376 
377 #==============================================================================
378 # Other tools
379 #==============================================================================
380 # Truth links on some objects point to the main truth particle container.
381 # 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 143 of file TruthDerivationToolsConfig.py.

143 def MuonTruthClassifierFallbackCfg(flags, name, **kwargs):
144  """Config the MuonTruthClassifierFallback tool"""
145  acc = ComponentAccumulator()
146 
147  if "MCTruthClassifierTool" not in kwargs:
148  from MCTruthClassifier.MCTruthClassifierConfig import (
149  MCTruthClassifierCfg)
150  kwargs.setdefault("MCTruthClassifierTool", acc.popToolsAndMerge(
151  MCTruthClassifierCfg(flags, name = "MuonTruthClassifierFallbackMCTruthClassifier")))
152 
153  MuonTruthClassifierFallback = CompFactory.DerivationFramework.MuonTruthClassifierFallback
154  acc.addPublicTool(MuonTruthClassifierFallback(name = name, **kwargs),
155  primary = True)
156  return acc
157 

◆ MuonTruthIsolationDecorAlgCfg()

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

Definition at line 174 of file TruthDerivationToolsConfig.py.

174 def MuonTruthIsolationDecorAlgCfg(flags, name, **kwargs):
175  """Configure the MuonTruthIsolationTool"""
176  acc = ComponentAccumulator()
177  acc.addEventAlgo(CompFactory.DerivationFramework.MuonTruthIsolationDecorAlg(name = name, **kwargs),
178  primary = True)
179  return acc
180 

◆ TruthBornLeptonCollectionMakerCfg()

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

Definition at line 205 of file TruthDerivationToolsConfig.py.

205 def TruthBornLeptonCollectionMakerCfg(flags, name, **kwargs):
206  """Configure the truth Born lepton collection tool"""
207  acc = ComponentAccumulator()
208  TruthBornLeptonCollectionMaker = CompFactory.DerivationFramework.TruthBornLeptonCollectionMaker
209  acc.addPublicTool(TruthBornLeptonCollectionMaker(name = name, **kwargs),
210  primary = True)
211  return acc
212 

◆ TruthClassificationDecoratorCfg()

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

Definition at line 135 of file TruthDerivationToolsConfig.py.

135 def TruthClassificationDecoratorCfg(flags, name, **kwargs):
136  """Configure the TruthClassificationDecorator tool"""
137  acc = ComponentAccumulator()
138  TruthClassificationDecorator = CompFactory.DerivationFramework.TruthClassificationDecorator
139  acc.addPublicTool(TruthClassificationDecorator(name = name, **kwargs),
140  primary = True)
141  return acc
142 

◆ 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 120 of file TruthDerivationToolsConfig.py.

120 def TruthD2DecoratorCfg(flags, name, **kwargs):
121  """Configure the truth D2 decorator tool"""
122  acc = ComponentAccumulator()
123  TruthD2Decorator = CompFactory.DerivationFramework.TruthD2Decorator
124  acc.addPublicTool(TruthD2Decorator(name, **kwargs), primary = True)
125  return acc
126 

◆ TruthDecayCollectionMakerCfg()

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

Definition at line 197 of file TruthDerivationToolsConfig.py.

197 def TruthDecayCollectionMakerCfg(flags, name, **kwargs):
198  """Configure the truth decay collection maker"""
199  acc = ComponentAccumulator()
200  TruthDecayCollectionMaker = CompFactory.DerivationFramework.TruthDecayCollectionMaker
201  acc.addPublicTool(TruthDecayCollectionMaker(name = name, **kwargs),
202  primary = True)
203  return acc
204 

◆ TruthDressingToolCfg()

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

Definition at line 158 of file TruthDerivationToolsConfig.py.

158 def TruthDressingToolCfg(flags, name, **kwargs):
159  """Configure the TruthDressingTool"""
160  acc = ComponentAccumulator()
161  TruthDressingTool = CompFactory.DerivationFramework.TruthDressingTool
162  acc.addPublicTool(TruthDressingTool( name = name, **kwargs),
163  primary = True)
164  return acc
165 

◆ TruthIsolationToolCfg()

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

Definition at line 166 of file TruthDerivationToolsConfig.py.

166 def TruthIsolationToolCfg(flags, name, **kwargs):
167  """Configure the truth isolation tool"""
168  acc = ComponentAccumulator()
169  TruthIsolationTool = CompFactory.DerivationFramework.TruthIsolationTool
170  acc.addPublicTool(TruthIsolationTool(name = name, **kwargs),
171  primary = True)
172  return acc
173 

◆ TruthLinkRepointToolCfg()

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

Definition at line 382 of file TruthDerivationToolsConfig.py.

382 def TruthLinkRepointToolCfg(flags, name, **kwargs):
383  """Configure the truth link repointing tool"""
384  acc = ComponentAccumulator()
385  TruthLinkRepointTool = CompFactory.DerivationFramework.TruthLinkRepointTool
386  acc.addPublicTool(TruthLinkRepointTool(name, **kwargs),
387  primary = True)
388  return acc
389 
390 # Makes a small collection of 'primary' vertices, one per event
391 # 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 189 of file TruthDerivationToolsConfig.py.

189 def TruthNavigationDecoratorCfg(flags, name, **kwargs):
190  """Congigure the truth navigation decorator tool"""
191  acc = ComponentAccumulator()
192  TruthNavigationDecorator = CompFactory.DerivationFramework.TruthNavigationDecorator
193  acc.addPublicTool(TruthNavigationDecorator(name = name, **kwargs),
194  primary = True)
195  return acc
196 

◆ TruthPVCollectionMakerCfg()

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

Definition at line 392 of file TruthDerivationToolsConfig.py.

392 def TruthPVCollectionMakerCfg(flags, name, **kwargs):
393  """Configure the truth PV collection maker tool"""
394  acc = ComponentAccumulator()
395  TruthPVCollectionMaker = CompFactory.DerivationFramework.TruthPVCollectionMaker
396  acc.addPublicTool(TruthPVCollectionMaker(name, **kwargs),
397  primary = True)
398  return acc
399 
400 # Tool for thinning TruthParticles

◆ TruthQGDecorationToolCfg()

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

Definition at line 181 of file TruthDerivationToolsConfig.py.

181 def TruthQGDecorationToolCfg(flags, name, **kwargs):
182  """Configure the quark/gluon decoration tool"""
183  acc = ComponentAccumulator()
184  TruthQGDecorationTool = CompFactory.DerivationFramework.TruthQGDecorationTool
185  acc.addPublicTool(TruthQGDecorationTool(name = name, **kwargs),
186  primary = True)
187  return acc
188 
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:239
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TruthDerivationToolsConfig.TruthD2DecoratorCfg
def TruthD2DecoratorCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:120
python.TruthDerivationToolsConfig.TruthBornLeptonCollectionMakerCfg
def TruthBornLeptonCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:205
python.TruthDerivationToolsConfig.DFCommonTruthPhotonIsolationTool2Cfg
def DFCommonTruthPhotonIsolationTool2Cfg(flags)
Definition: TruthDerivationToolsConfig.py:334
python.TruthDerivationToolsConfig.DFCommonTruthBosonToolCfg
def DFCommonTruthBosonToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:87
python.TruthDerivationToolsConfig.MuonTruthIsolationDecorAlgCfg
def MuonTruthIsolationDecorAlgCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:174
python.TruthDerivationToolsConfig.DFCommonTruthClassificationToolCfg
def DFCommonTruthClassificationToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:219
python.TruthDerivationToolsConfig.DFCommonTruthElectronIsolationTool1Cfg
def DFCommonTruthElectronIsolationTool1Cfg(flags)
Definition: TruthDerivationToolsConfig.py:278
TruthIsolationTool
Definition: TruthParticleID/McParticleTools/src/TruthIsolationTool.h:34
python.TruthDerivationToolsConfig.MenuTruthThinningCfg
def MenuTruthThinningCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:369
python.TruthDerivationToolsConfig.DFCommonTruthTopToolCfg
def DFCommonTruthTopToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:78
python.TruthDerivationToolsConfig.DFCommonTruthMuonIsolationTool1Cfg
def DFCommonTruthMuonIsolationTool1Cfg(flags)
Definition: TruthDerivationToolsConfig.py:300
python.TruthDerivationToolsConfig.DFCommonTruthElectronIsolationTool2Cfg
def DFCommonTruthElectronIsolationTool2Cfg(flags)
Definition: TruthDerivationToolsConfig.py:289
python.TruthDerivationToolsConfig.TruthLinkRepointToolCfg
def TruthLinkRepointToolCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:382
python.TruthDerivationToolsConfig.TruthDecayCollectionMakerCfg
def TruthDecayCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:197
python.TruthDerivationToolsConfig.TruthIsolationToolCfg
def TruthIsolationToolCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:166
python.TruthDerivationToolsConfig.TruthCollectionMakerCfg
def TruthCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:19
python.TruthDerivationToolsConfig.HadronOriginClassifierCfg
def HadronOriginClassifierCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:231
python.TruthDerivationToolsConfig.TruthClassificationDecoratorCfg
def TruthClassificationDecoratorCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:135
python.TruthDerivationToolsConfig.DFCommonTruthTauDressingToolCfg
def DFCommonTruthTauDressingToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:269
python.TruthDerivationToolsConfig.DFCommonTruthMuonIsolationTool2Cfg
def DFCommonTruthMuonIsolationTool2Cfg(flags)
Definition: TruthDerivationToolsConfig.py:311
python.TruthDerivationToolsConfig.DFCommonTruthPhotonIsolationTool3Cfg
def DFCommonTruthPhotonIsolationTool3Cfg(flags)
Definition: TruthDerivationToolsConfig.py:345
python.TruthDerivationToolsConfig.DFCommonTruthForwardProtonToolCfg
def DFCommonTruthForwardProtonToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:106
python.TruthDerivationToolsConfig.GenericTruthThinningCfg
def GenericTruthThinningCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:401
python.TruthDerivationToolsConfig.HardScatterCollectionMakerCfg
def HardScatterCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:213
python.TruthDerivationToolsConfig.DFCommonTruthMuonDressingToolCfg
def DFCommonTruthMuonDressingToolCfg(flags, decorationName="dressedPhoton")
Definition: TruthDerivationToolsConfig.py:259
python.TruthDerivationToolsConfig.DFCommonTruthNeutrinoToolCfg
def DFCommonTruthNeutrinoToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:60
python.TruthDerivationToolsConfig.TruthPVCollectionMakerCfg
def TruthPVCollectionMakerCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:392
python.TruthDerivationToolsConfig.TruthNavigationDecoratorCfg
def TruthNavigationDecoratorCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:189
python.TruthDerivationToolsConfig.DFCommonTruthPhotonToolCfg
def DFCommonTruthPhotonToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:43
python.TruthDerivationToolsConfig.TruthQGDecorationToolCfg
def TruthQGDecorationToolCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:181
python.TruthDerivationToolsConfig.DFCommonTruthPhotonIsolationTool1Cfg
def DFCommonTruthPhotonIsolationTool1Cfg(flags)
Definition: TruthDerivationToolsConfig.py:322
python.TruthDerivationToolsConfig.MuonTruthClassifierFallbackCfg
def MuonTruthClassifierFallbackCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:143
python.TruthDerivationToolsConfig.TruthDressingToolCfg
def TruthDressingToolCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:158
MCTruthClassifier
Definition: MCTruthClassifier.h:56
python.TruthDerivationToolsConfig.DFCommonTruthElectronToolCfg
def DFCommonTruthElectronToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:35
python.TruthDerivationToolsConfig.DFCommonTruthDressedWZQGLabelToolCfg
def DFCommonTruthDressedWZQGLabelToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:357
python.TruthDerivationToolsConfig.DFCommonMCTruthClassifierCfg
def DFCommonMCTruthClassifierCfg(flags)
Definition: TruthDerivationToolsConfig.py:127
python.TruthDerivationToolsConfig.DFCommonTruthPhotonToolSimCfg
def DFCommonTruthPhotonToolSimCfg(flags)
Definition: TruthDerivationToolsConfig.py:52
str
Definition: BTagTrackIpAccessor.cxx:11
python.TruthDerivationToolsConfig.DFCommonTruthElectronDressingToolCfg
def DFCommonTruthElectronDressingToolCfg(flags, decorationName="dressedPhoton")
Definition: TruthDerivationToolsConfig.py:249
python.TruthDerivationToolsConfig.DFCommonTruthBottomToolCfg
def DFCommonTruthBottomToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:69
python.TruthDerivationToolsConfig.DFCommonTruthBSMToolCfg
def DFCommonTruthBSMToolCfg(flags)
Definition: TruthDerivationToolsConfig.py:97