ATLAS Offline Software
Functions
python.MCTruthClassifierConfig Namespace Reference

Functions

def D3PDMCTruthClassifierCfg (flags)
 

Function Documentation

◆ D3PDMCTruthClassifierCfg()

def python.MCTruthClassifierConfig.D3PDMCTruthClassifierCfg (   flags)

Definition at line 17 of file D3PDMaker/TruthD3PDMaker/python/MCTruthClassifierConfig.py.

17 def D3PDMCTruthClassifierCfg (flags):
18  acc = ComponentAccumulator()
19 
20  from TrkConfig.AtlasExtrapolatorConfig import \
21  MCTruthClassifierExtrapolatorCfg
22  extrapolator = acc.popToolsAndMerge(MCTruthClassifierExtrapolatorCfg(flags))
23 
24  from TrackToCalo.TrackToCaloConfig import EMParticleCaloExtensionToolCfg
25  extension = EMParticleCaloExtensionToolCfg(flags, Extrapolator=extrapolator)
26  particleCaloExtensionTool = acc.popToolsAndMerge(extension)
27 
28  mckey = resolveSGKey (flags, flags.D3PD.TruthSGKey)
29 
30  acc.addPublicTool \
31  (CompFactory.D3PD.D3PDMCTruthClassifier
32  ('D3PDMCTruthClassifier',
33  CaloDetDescrManager = 'CaloDetDescrManager',
34  xAODTruthParticleContainerName = mckey,
35  ParticleCaloExtensionTool = particleCaloExtensionTool,
36  pTNeutralPartCut = 1e-3,
37  partExtrConePhi = 0.6, # 0.4
38  partExtrConeEta = 0.2, # 0.2
39  ROICone = True))
40 
41  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.AtlasExtrapolatorConfig.MCTruthClassifierExtrapolatorCfg
def MCTruthClassifierExtrapolatorCfg(flags, name='MCTruthClassifierExtrapolator')
Definition: AtlasExtrapolatorConfig.py:277
TrackToCaloConfig.EMParticleCaloExtensionToolCfg
def EMParticleCaloExtensionToolCfg(flags, name='EMParticleCaloExtensionTool', **kwargs)
Definition: TrackToCaloConfig.py:30
python.MCTruthClassifierConfig.D3PDMCTruthClassifierCfg
def D3PDMCTruthClassifierCfg(flags)
Definition: D3PDMaker/TruthD3PDMaker/python/MCTruthClassifierConfig.py:17