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
DDEve
include
DDEve
Factories.h
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
#ifndef DDEVE_FACTORIES_H
14
#define DDEVE_FACTORIES_H
15
16
#ifndef __CINT__
17
#include "
DD4hep/Plugins.h
"
18
#endif
19
#include "
DDEve/View.h
"
20
#include "
DDEve/Display.h
"
21
22
namespace
{
24
template
<
typename
P,
typename
S>
class
Factory;
25
27
DD4HEP_PLUGIN_FACTORY_ARGS_2
(
dd4hep::View
*,
dd4hep::Display
*,
const
char
*) {
return
new
P(a0,a1); }
28
}
29
30
#define DECLARE_VIEW_FACTORY(x) \
31
DD4HEP_PLUGINSVC_FACTORY(x,DD4hep_DDEve_##x,dd4hep::View*(dd4hep::Display*, const char*),__LINE__)
32
33
#endif // DDEVE_FACTORIES_H
dd4hep::Display
The main class of the DDEve display.
Definition:
Display.h:56
DD4HEP_PLUGIN_FACTORY_ARGS_2
#define DD4HEP_PLUGIN_FACTORY_ARGS_2(R, A0, A1)
Definition:
Plugins.h:175
Display.h
Plugins.h
dd4hep::View
class View View.h DDEve/View.h
Definition:
View.h:45
View.h
Generated on Wed May 7 2025 12:36:13 for DD4hep by
1.8.18