DD4hep
1.31.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
DDG4
include
DDG4
Geant4GDMLDetector.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
14
#ifndef DDG4_GEANT4GDMLDETECTOR_H
15
#define DDG4_GEANT4GDMLDETECTOR_H
16
17
#include <G4VUserDetectorConstruction.hh>
18
#include <string>
19
21
namespace
dd4hep
{
22
24
namespace
sim {
25
27
32
class
Geant4GDMLDetector
:
public
G4VUserDetectorConstruction
{
33
public
:
34
36
Geant4GDMLDetector
(
const
std::string& gdmlFile);
38
virtual
~Geant4GDMLDetector
() {
39
}
40
G4VPhysicalVolume*
Construct
()
override
;
41
private
:
42
std::string
m_fileName
;
43
G4VPhysicalVolume*
m_world
{
nullptr
};
44
};
45
}
46
}
47
48
#endif
dd4hep::sim::Geant4GDMLDetector
Class to read Geant4 geometry from GDML file.
Definition:
Geant4GDMLDetector.h:32
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
dd4hep::sim::Geant4GDMLDetector::Geant4GDMLDetector
Geant4GDMLDetector(const std::string &gdmlFile)
Constructor to open gdml file.
Definition:
Geant4GDMLDetector.cpp:26
G4VUserDetectorConstruction
Class of the Geant4 toolkit. See http://www-geant4.kek.jp/Reference.
Definition:
Geant4Classes.h:67
dd4hep::sim::Geant4GDMLDetector::m_fileName
std::string m_fileName
Definition:
Geant4GDMLDetector.h:42
dd4hep::sim::Geant4GDMLDetector::m_world
G4VPhysicalVolume * m_world
Definition:
Geant4GDMLDetector.h:43
dd4hep::sim::Geant4GDMLDetector::~Geant4GDMLDetector
virtual ~Geant4GDMLDetector()
Default destructor.
Definition:
Geant4GDMLDetector.h:38
dd4hep::sim::Geant4GDMLDetector::Construct
G4VPhysicalVolume * Construct() override
Definition:
Geant4GDMLDetector.cpp:30
Generated on Tue Apr 8 2025 12:27:14 for DD4hep by
1.8.18