Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TileL2D3PDObject.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 makeTileL2D3PDObject (name, prefix, object_name='TileL2D3PDObject', getter = None,
10  sgkey = None,
11  label = None):
12  if sgkey is None: sgkey = 'TileL2Cnt'
13  if label is None: label = prefix
14 
15 
16  print(" makeTileL2D3PDObject: name = ", name)
17  print(" makeTileL2D3PDObject: prefix = ", prefix)
18  print(" makeTileL2D3PDObject: object_name = ", object_name)
19  print(" makeTileL2D3PDObject: sgkey = ", sgkey)
20 
21  if not getter:
23  (name + '_Getter',
24  TypeName = 'TileL2Container',
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 TileL2D3PDObject=D3PDObject(makeTileL2D3PDObject,'TileL2Met_','TileL2D3PDObject')
40 
41 TileL2D3PDObject.defineBlock (0,
42  'TileL2',
44  SaveL2Details=True,
45  SaveMuRODDetails=False)
46 
47 TileL2D3PDObject.defineBlock (2,
48  'TileMuID_ROD',
50  SaveL2Details=False,
51  SaveMuRODDetails=True)
52 
53 
54 
55 
56 
57 
D3PD::SGDataVectorGetterTool
Getter tool to retrieve DataVector/List collections from StoreGate.
Definition: SGDataVectorGetterTool.h:55
print
void print(char *figname, TCanvas *c1)
Definition: TRTCalib_StrawStatusPlots.cxx:25
D3PD::TileL2FillerTool
Definition: TileL2FillerTool.h:21
python.TileL2D3PDObject.makeTileL2D3PDObject
def makeTileL2D3PDObject(name, prefix, object_name='TileL2D3PDObject', getter=None, sgkey=None, label=None)
Definition: TileL2D3PDObject.py:9
D3PD::VectorFillerTool
Object filler tool for a collection of objects, saved as vectors.
Definition: VectorFillerTool.h:70