10 from D3PDMakerCoreComps.D3PDObject
import make_SG_D3PDObject
11 from D3PDMakerConfig.D3PDMakerFlags
import D3PDMakerFlags
12 from AthenaConfiguration.ComponentFactory
import CompFactory
14 D3PD = CompFactory.D3PD
19 D3PDMakerFlags.EventInfoSGKey,
21 'EventInfoD3PDObject' )
28 EventInfoD3PDObject.defineBlock (
31 Vars = [
'RunNumber = runNumber',
32 'EventNumber = eventNumber',
33 'timestamp = timeStamp',
34 'timestamp_ns = timeStampNSOffset',
37 'detmask0 = detectorMask0',
38 'detmask1 = detectorMask1',
41 EventInfoD3PDObject.defineBlock (
44 Vars = [
'actualIntPerXing = actualInteractionsPerCrossing',
45 'averageIntPerXing = averageInteractionsPerCrossing',
49 if D3PDMakerFlags.DoTruth:
50 EventInfoD3PDObject.defineBlock (
53 Vars = [
'mc_channel_number = mcChannelNumber',
54 'mc_event_number = mcEventNumber',
56 EventInfoD3PDObject.defineBlock (0,
'eventWeight',
60 EventInfoD3PDObject.defineBlock (
69 'fwdFlags = forwardDetFlags',
74 EventInfoD3PDObject.defineBlock (1,
'eventErrorState',
80 if not D3PDMakerFlags.DoTruth:
81 EventInfoD3PDObject.defineBlock (2,
'eventTrigInfo',
84 Streams = [
"Egamma",
"Muons",
"JetTauEtmiss" ])
87 EventInfoD3PDObject.defineBlock (5,
'eventTypeFlags',