VMC Examples
Version 6.7
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
1
2
3
6
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
~
Functions
1
2
3
6
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
~
Variables
c
f
n
Enumerations
Enumerator
Files
File List
File Members
All
3
b
c
e
f
g
h
i
l
m
n
o
r
s
t
u
v
Functions
b
c
g
h
i
l
m
n
o
r
s
t
u
v
Variables
Typedefs
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Modules
Pages
Loading...
Searching...
No Matches
examples
E03
load_multi.C
Go to the documentation of this file.
1
//------------------------------------------------
2
// The Virtual Monte Carlo examples
3
// Copyright (C) 2007 - 2014 Ivana Hrivnacova
4
// All rights reserved.
5
//
6
// For the licensing terms see geant4_vmc/LICENSE.
7
// Contact: root-vmc@cern.ch
8
//-------------------------------------------------
9
10
/// \ingroup E03
11
/// \file E03/load_multi.C
12
/// \brief Macro for loading libraries to run Example E03 with mixed Geant3 and Geant4.
13
14
#include "
../macro/g3libs.C
"
15
#include "
../macro/g4libs.C
"
16
17
void
load_multi
()
18
{
19
// Load Geant3 and Geant4 + VMC libraries
20
g3libs
();
21
g4libs
();
22
23
// Load this example library
24
gSystem->Load(
"libvmc_E03c"
);
25
26
// Load library with a user run configuration
27
gSystem->Load(
"libgeant4_E03c"
);
28
}
17
void
load_multi
() {
…
}
g3libs.C
Macro for loading Geant3 libraries.
g3libs
void g3libs()
Definition
g3libs.C:35
g4libs.C
Macro for loading Geant4 and Geant4 VMC libraries.
g4libs
void g4libs()
Definition
g4libs.C:135
load_multi
void load_multi()
Definition
load_multi.C:17
Generated on Tue Apr 1 2025 13:04:57 for VMC Examples by
1.13.2