4 from D3PDMakerCoreComps.D3PDObject
import D3PDObject
5 from CaloD3PDMaker.TileCellFilterAlgConfig
import TileCellFilterAlgCfg
6 from D3PDMakerCoreComps.IndexMultiAssociation
import IndexMultiAssociation
7 from AthenaConfiguration.ComponentFactory
import CompFactory
9 D3PD = CompFactory.D3PD
20 if label
is None: label = prefix
23 print(
" makeTileD3PDObject: name = ", name)
24 print(
" makeTileD3PDObject: prefix = ", prefix)
25 print(
" makeTileD3PDObject: object_name = ", object_name)
26 print(
" makeTileD3PDObject: sgkey = ", sgkey)
31 TypeName =
'CaloCellContainer',
36 from D3PDMakerConfig.D3PDMakerFlags
import D3PDMakerFlags
40 ObjectName = object_name,
42 D3PDMakerFlags.SaveObjectMetadata)
51 if BaseSGKey
is None or BaseSGKey==
'holder' : BaseSGKey=
'AllCalo'
52 print (
'aaa', args, kw)
55 print(
" in makeTileD3PDObject, sgkey, cellSigmaCut = ", sgkey, cellSigmaCut)
57 acc.merge (TileCellFilterAlgCfg (flags,
58 OutputCellsName=sgkey,
59 CellSigmaCut=cellSigmaCut,
60 CellsName = BaseSGKey))
66 blockname=prefix+
'TileCellRawAssociation'
78 blockname=prefix+
'TileCellDigitAssociation'
91 cellD3PDObject = D3PDObject (maker, prefix, object_name)
92 cellD3PDObject.defineHook(hookForTileCellFilterAlg)
94 cellD3PDObject.defineBlock (0,
'Kinematics',
102 cellD3PDObject.defineBlock (1,
'TileDetails',
104 SaveCellDetails=
True,
105 SavePositionInfo=
False,
108 return cellD3PDObject
114 'TileDetailsD3PDObject')