3 from D3PDMakerCoreComps.D3PDObject
import D3PDObject
4 from AthenaConfiguration.ComponentFactory
import CompFactory
6 D3PD = CompFactory.D3PD
11 if sgkey
is None: sgkey =
'CombinedTower'
12 if label
is None: label = prefix
14 ContainerType=
'CaloTowerContainer'
16 if sgkey==
'TopoTower': ContainerType=
'CaloTopoTowerContainer'
18 print(
" makeTowerD3PDObject: name = ", name)
19 print(
" makeTowerD3PDObject: prefix = ", prefix)
20 print(
" makeTowerD3PDObject: object_name = ", object_name)
21 print(
" makeTowerD3PDObject: sgkey = ", sgkey)
26 TypeName = ContainerType,
31 from D3PDMakerConfig.D3PDMakerFlags
import D3PDMakerFlags
35 ObjectName = object_name,
37 D3PDMakerFlags.SaveObjectMetadata)
44 towerD3PDObject = D3PDObject (maker, prefix, object_name)
46 towerD3PDObject.defineBlock (0,
'Detail0',
48 SaveNCellConstituents=
False
51 towerD3PDObject.defineBlock (1,
'Detail1',
53 SaveNCellConstituents=
True
55 return towerD3PDObject