ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
CaloSysD3PDMaker
python
TileCosmicMuonD3PDObject.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
D3PDMakerCoreComps.ContainedVectorMultiAssociation
import
ContainedVectorMultiAssociation
5
from
AthenaConfiguration.ComponentFactory
import
CompFactory
6
7
D3PD = CompFactory.D3PD
8
9
def
makeTileCosmicMuonD3PDObject
(name, prefix, object_name='TileCosmicMuonD3PDObject', getter = None,
10
sgkey = None,
11
label = None):
12
if
sgkey
is
None
: sgkey =
'TileCosmicMuonHT'
13
if
label
is
None
: label = prefix
14
15
16
print
(
" makeTileCosmicMuonD3PDObject: name = "
, name)
17
print
(
" makeTileCosmicMuonD3PDObject: prefix = "
, prefix)
18
print
(
" makeTileCosmicMuonD3PDObject: object_name = "
, object_name)
19
print
(
" makeTileCosmicMuonD3PDObject: sgkey = "
, sgkey)
20
21
if
not
getter:
22
getter =
D3PD.SGDataVectorGetterTool
\
23
(name +
'_Getter'
,
24
TypeName =
'TileCosmicMuonContainer'
,
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
TileCosmicMuonD3PDObject=D3PDObject(makeTileCosmicMuonD3PDObject,
'TileTracks_'
,
'TileCosmicMuonD3PDObject'
)
40
41
TileCosmicMuonD3PDObject.defineBlock (0,
'TileCosmicMuons'
,
42
D3PD.TileCosmicMuonFillerTool
)
43
44
TileCosmicMuonTileCells=ContainedVectorMultiAssociation(TileCosmicMuonD3PDObject,
45
D3PD.TileCosmicMuonTileCellAssociationTool
,
46
"cell"
,1)
47
48
TileCosmicMuonTileCells.defineBlock (1,
'TileDetail0'
,
49
D3PD.TileCellDetailsFillerTool
,
50
SaveCellDetails=
True
,
51
SavePositionInfo=
False
,
52
)
53
54
TileCosmicMuonTileCells.defineBlock (2,
'TileDetail1'
,
55
D3PD.TileCellDetailsFillerTool
,
56
SaveCellDetails=
False
,
57
SavePositionInfo=
True
,
58
)
59
60
61
62
63
print
void print(char *figname, TCanvas *c1)
Definition
TRTCalib_StrawStatusPlots.cxx:26
D3PD::SGDataVectorGetterTool
Getter tool to retrieve DataVector/List collections from StoreGate.
Definition
SGDataVectorGetterTool.h:55
D3PD::TileCellDetailsFillerTool
Definition
TileCellDetailsFillerTool.h:26
D3PD::TileCosmicMuonFillerTool
Definition
TileCosmicMuonFillerTool.h:21
D3PD::TileCosmicMuonTileCellAssociationTool
Definition
TileCosmicMuonTileCellAssociationTool.h:24
python.TileCosmicMuonD3PDObject.makeTileCosmicMuonD3PDObject
makeTileCosmicMuonD3PDObject(name, prefix, object_name='TileCosmicMuonD3PDObject', getter=None, sgkey=None, label=None)
Definition
TileCosmicMuonD3PDObject.py:11
Generated on
for ATLAS Offline Software by
1.17.0