ATLAS Offline Software
TileMuD3PDObject.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 makeTileMuD3PDObject (name, prefix, object_name='TileMuD3PDObject', getter = None,
10  sgkey = None,
11  label = None):
12  if sgkey is None: sgkey = 'TileMuObj'
13  if label is None: label = prefix
14 
15 
16  print(" makeTileMuD3PDObject: name = ", name)
17  print(" makeTileMuD3PDObject: prefix = ", prefix)
18  print(" makeTileMuD3PDObject: object_name = ", object_name)
19  print(" makeTileMuD3PDObject: sgkey = ", sgkey)
20 
21  if not getter:
23  (name + '_Getter',
24  TypeName = 'TileMuContainer',
25  SGKey = sgkey,
26  Label = label)
27 
28 
29  from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags
30  return D3PD.VectorFillerTool (name,
31  Prefix = prefix,
32  Getter = getter,
33  ObjectName = object_name,
34  SaveMetadata = \
35  D3PDMakerFlags.SaveObjectMetadata)
36 
37 
38 
39 TileMuD3PDObject=D3PDObject(makeTileMuD3PDObject,'TileMuId_','TileMuD3PDObject')
40 
41 TileMuD3PDObject.defineBlock (0, 'TileMus',
D3PD::TileMuFillerTool
Definition: TileMuFillerTool.h:22
D3PD::SGDataVectorGetterTool
Getter tool to retrieve DataVector/List collections from StoreGate.
Definition: SGDataVectorGetterTool.h:55
python.TileMuD3PDObject.makeTileMuD3PDObject
def makeTileMuD3PDObject(name, prefix, object_name='TileMuD3PDObject', getter=None, sgkey=None, label=None)
Definition: TileMuD3PDObject.py:9
dbg::print
void print(std::FILE *stream, std::format_string< Args... > fmt, Args &&... args)
Definition: SGImplSvc.cxx:70
D3PD::VectorFillerTool
Object filler tool for a collection of objects, saved as vectors.
Definition: VectorFillerTool.h:70