ATLAS Offline Software
TruthEventD3PDObject.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 #
4 
9 
10 
11 from D3PDMakerCoreComps.D3PDObject import make_SGDataVector_D3PDObject
12 from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags
13 from AthenaConfiguration.ComponentFactory import CompFactory
14 
15 D3PD = CompFactory.D3PD
16 
17 
18 TruthEventD3PDObject = make_SGDataVector_D3PDObject \
19  ('DataVector<xAOD::TruthEvent_v1>',
20  D3PDMakerFlags.TruthEventSGKey,
21  'mcevt_',
22  'GenEventD3PDObject')
23 
24 TruthEventD3PDObject.defineBlock (
25  0, 'mcevt',
27  Vars = [
28  #'signal_process_id = signalProcessId',
29  #'event_number = eventNumber',
30  #'event_scale = eventScale',
31  #'alphaQCD',
32  #'alphaQED',
33  'pdf_id1 = PDGID1',
34  'pdf_id2 = PDGID2',
35  'pdf_x1 = X1',
36  'pdf_x2 = X2',
37  #'pdf_scale = Q',
38  'pdf1 = XF1',
39  'pdf2 = XF2',
40  'weight = weights',
41  ])
42 
D3PD::AuxDataFillerTool
Copy aux data to D3PD.
Definition: AuxDataFillerTool.h:35