DD4hep
1.32.0
Detector Description Toolkit for High Energy Physics
Main Page
Related Pages
Modules
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
u
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
b
d
g
o
p
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
Functions
_
c
d
g
h
i
l
m
n
o
p
r
s
u
Variables
Typedefs
_
a
c
d
e
f
g
j
l
o
p
r
s
t
u
v
x
Enumerations
Enumerator
Macros
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
DDCore
src
PropertyTable.cpp
Go to the documentation of this file.
1
//==========================================================================
2
// AIDA Detector description implementation
3
//--------------------------------------------------------------------------
4
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5
// All rights reserved.
6
//
7
// For the licensing terms see $DD4hepINSTALL/LICENSE.
8
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9
//
10
// Author : M.Frank
11
//
12
//==========================================================================
13
14
// Framework include files
15
#include <
DD4hep/PropertyTable.h
>
16
#include <
DD4hep/NamedObject.h
>
17
#include <
DD4hep/Detector.h
>
18
#include <
DD4hep/Printout.h
>
19
20
#include <DD4hep/detail/Handle.inl>
21
22
// C/C++ includes
23
24
using namespace
dd4hep
;
25
26
DD4HEP_INSTANTIATE_HANDLE
(TGDMLMatrix);
27
29
PropertyTable::PropertyTable
(
Detector
& description,
30
const
std::string& table_name,
31
const
std::string& property_name,
32
size_t
num_rows,
33
size_t
num_cols)
34
{
35
std::unique_ptr<Object> table(
new
Object
(table_name.c_str(), num_rows, num_cols));
36
table->SetTitle(property_name.c_str());
37
description.
manager
().AddGDMLMatrix(
m_element
=table.release());
38
}
dd4hep::Detector::manager
virtual TGeoManager & manager() const =0
Access the geometry manager of this instance.
dd4hep::PropertyTable::Object
TGDMLMatrix Object
Definition:
PropertyTable.h:34
Detector.h
dd4hep::PropertyTable::PropertyTable
PropertyTable()=default
Default constructor.
NamedObject.h
dd4hep::Handle< TGDMLMatrix >::m_element
TGDMLMatrix * m_element
Single and only data member: Reference to the actual element.
Definition:
Handle.h:91
PropertyTable.h
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
dd4hep::Detector
The main interface to the dd4hep detector description package.
Definition:
Detector.h:90
DD4HEP_INSTANTIATE_HANDLE
DD4HEP_INSTANTIATE_HANDLE(TGDMLMatrix)
Printout.h
Generated on Fri May 16 2025 18:11:52 for DD4hep by
1.8.18