ATLAS Offline Software
LArRawChannelD3PDObject.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 LArRawChannelSGKey='LArRawChannels'
10 
11 def makeLArRawChannelD3PDObject (name, prefix, object_name='LArRawChannelD3PDObject', getter = None,
12  sgkey = None,
13  label = None):
14  if sgkey is None: sgkey = LArRawChannelSGKey
15  if label is None: label = prefix
16 
17  if not getter:
18  getter = D3PD.LArRawChannelContainerGetterTool(name + '_Getter',
19  TypeName = 'LArRawChannelContainer',
20  SGKey = LArRawChannelSGKey)
21 
22  # create the selected cells
23  return D3PD.VectorFillerTool (name,
24  Prefix = prefix,
25  Getter = getter,
26  ObjectName = object_name)
27 
28 LArRawChannelD3PDObject = D3PDObject (makeLArRawChannelD3PDObject, 'larrawchannel_', 'LArRawChannelD3PDObject')
29 
30 LArRawChannelD3PDObject.defineBlock (0, 'Digits',
D3PD::LArRawChannelContainerGetterTool
Definition: LArRawChannelContainerGetterTool.h:18
python.LArRawChannelD3PDObject.makeLArRawChannelD3PDObject
def makeLArRawChannelD3PDObject(name, prefix, object_name='LArRawChannelD3PDObject', getter=None, sgkey=None, label=None)
Definition: LArRawChannelD3PDObject.py:11
D3PD::LArRawChannelFillerTool
Definition: LArRawChannelFillerTool.h:22
D3PD::VectorFillerTool
Object filler tool for a collection of objects, saved as vectors.
Definition: VectorFillerTool.h:70