ATLAS Offline Software
TileModuleBitsD3PDObject.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 from D3PDMakerCoreComps.D3PDObject import D3PDObject
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 D3PD = CompFactory.D3PD
7 
8 
9 def makeTileModuleBitsD3PDObject (name, prefix, object_name='TileModuleBitsD3PDObject', getter = None,
10  sgkey = None,
11  label = None):
12  if sgkey is None: sgkey = "TileRawChannelFlt"
13  if label is None: label = prefix
14 
15  if not getter:
17  (name + '_Getter',
18  TypeName = 'TileRawChannelContainer',
19  SGKey = sgkey,
20  Label = label)
21 
22  # create the selected cells
23  from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags
24  return D3PD.VectorFillerTool (name,
25  Prefix = prefix,
26  Getter = getter,
27  ObjectName = object_name,
28  SaveMetadata = \
29  D3PDMakerFlags.SaveObjectMetadata)
30 
31 
32 
33 TileModuleBitsD3PDObject = D3PDObject (makeTileModuleBitsD3PDObject, 'tilemodule_', 'TileModuleBitsD3PDObject')
34 
35 TileModuleBitsD3PDObject.defineBlock (0, 'Bits',
37  )
38 
D3PD::SGTileModuleBitsGetterTool
Definition: SGTileModuleBitsGetterTool.h:22
python.TileModuleBitsD3PDObject.makeTileModuleBitsD3PDObject
def makeTileModuleBitsD3PDObject(name, prefix, object_name='TileModuleBitsD3PDObject', getter=None, sgkey=None, label=None)
Definition: TileModuleBitsD3PDObject.py:9
D3PD::TileModuleBitsFillerTool
Definition: TileModuleBitsFillerTool.h:24
D3PD::VectorFillerTool
Object filler tool for a collection of objects, saved as vectors.
Definition: VectorFillerTool.h:70