9 from D3PDMakerCoreComps.D3PDObject
import make_SGDataVector_D3PDObject
10 from AthenaConfiguration.ComponentFactory
import CompFactory
12 D3PD = CompFactory.D3PD
15 TruthMuonD3PDObject = make_SGDataVector_D3PDObject (
'DataVector<xAOD::TruthParticle_v1>',
18 'TruthMuonD3PDObject')
20 TruthContainer = 'TruthParticles',
24 algname = prefix +
'TruthMuonsToSG'
26 from TruthD3PDMaker.MCTruthClassifierConfig \
27 import D3PDMCTruthClassifierCfg
28 acc.merge (D3PDMCTruthClassifierCfg (flags))
32 TruthMuonContainer = sgkey,
33 TruthContainer = TruthContainer,
34 Classifier = acc.getPublicTool (
'D3PDMCTruthClassifier')))
36 TruthMuonD3PDObject.defineHook (_truthMuonAlgHook)
42 TruthMuonD3PDObject.defineBlock (0,
'Kinematics',
47 TruthMuonD3PDObject.defineBlock (0,
'Info',
50 PDGIDVariable =
'PDGID')
52 TruthMuonD3PDObject.defineBlock (0,
'Classification',
56 from TruthD3PDMaker.MCTruthClassifierConfig \
57 import D3PDMCTruthClassifierCfg
58 acc.merge (D3PDMCTruthClassifierCfg (flags))
59 c.Classifier = acc.getPublicTool (
'D3PDMCTruthClassifier')
61 truthMuon.defineHook (_truthClassifierHook)
63 TruthMuonD3PDObject.defineBlock(99,
"TruthHits",