BOSS
7.1.2
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
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
j
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
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File 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
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
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
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
BOSS
Used Packages
Requirements
►
How to use the ERS package
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
7.1.2
►
Analysis
►
BesCxxPolicy
►
BesExamples
►
BesPolicy
►
Calibration
►
Control
►
Database
►
DetectorDescription
►
DistBoss
►
DQA
►
Emc
►
Event
►
EventDisplay
►
EventFilter
►
EvtPreSelect
►
External
►
Generator
►
InstallArea
►
LumTauAlg
►
MagneticField
►
Mdc
►
Muc
►
OfflineEvtFilter
►
Reconstruction
►
RootPolicy
▼
Simulation
►
BesEventMixer
►
BOOST
▼
G4Svc
▼
G4Svc-00-01-56
►
doc
►
G4Svc
►
other
►
other_src
►
Physics
►
Physics_src
▼
src
BesHepMCInterface.cpp
G4HepMCInterface.cpp
►
G4HepMCParticle.cpp
G4Svc.cpp
G4SvcRunManager.cpp
G4SvcVisManager.cpp
RandomNrCenter.cpp
►
McTestAlg
►
Realization
►
SimHelpers
►
Tof
►
Trigger
►
Utilities
►
Validation
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
G4SvcVisManager.cpp
Go to the documentation of this file.
1
//------------------------------------------------------------------
2
//
3
// ClassName: G4SvcVisManager
4
//
5
// Description: Visalization manager
6
//
7
// Author: Charles Leggett
8
//
9
10
#ifdef G4VIS_USE
11
12
#include "
G4Svc/G4SvcVisManager.h
"
13
14
// Supported drivers...
15
16
#ifdef G4VIS_USE_DAWN
17
#include "G4FukuiRenderer.hh"
18
#endif
19
20
#ifdef G4VIS_USE_DAWNFILE
21
#include "G4DAWNFILE.hh"
22
#endif
23
24
#ifdef G4VIS_USE_OPACS
25
#include "G4Wo.hh"
26
#include "G4Xo.hh"
27
#endif
28
29
#ifdef G4VIS_USE_OPENGLX
30
#include "G4OpenGLImmediateX.hh"
31
#include "G4OpenGLStoredX.hh"
32
#endif
33
34
#ifdef G4VIS_USE_OPENGLWIN32
35
#include "G4OpenGLImmediateWin32.hh"
36
#include "G4OpenGLStoredWin32.hh"
37
#endif
38
39
#ifdef G4VIS_USE_OPENGLXM
40
#include "G4OpenGLImmediateXm.hh"
41
#include "G4OpenGLStoredXm.hh"
42
#endif
43
44
#ifdef G4VIS_USE_OIX
45
#include "G4OpenInventorX.hh"
46
#endif
47
48
#ifdef G4VIS_USE_OIWIN32
49
#include "G4OpenInventorWin32.hh"
50
#endif
51
52
#ifdef G4VIS_USE_VRML
53
#include "G4VRML1.hh"
54
#include "G4VRML2.hh"
55
#endif
56
57
#ifdef G4VIS_USE_VRMLFILE
58
#include "G4VRML1File.hh"
59
#include "G4VRML2File.hh"
60
#endif
61
62
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
63
64
65
G4SvcVisManager::G4SvcVisManager () {}
66
67
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
68
69
void
G4SvcVisManager::RegisterGraphicsSystems () {
70
71
#ifdef G4VIS_USE_DAWN
72
RegisterGraphicsSystem (
new
G4FukuiRenderer());
73
#endif
74
75
#ifdef G4VIS_USE_DAWNFILE
76
RegisterGraphicsSystem (
new
G4DAWNFILE);
77
#endif
78
79
#ifdef G4VIS_USE_OPACS
80
RegisterGraphicsSystem (
new
G4Wo);
81
RegisterGraphicsSystem (
new
G4Xo);
82
#endif
83
84
#ifdef G4VIS_USE_OPENGLX
85
RegisterGraphicsSystem (
new
G4OpenGLImmediateX);
86
RegisterGraphicsSystem (
new
G4OpenGLStoredX);
87
#endif
88
89
#ifdef G4VIS_USE_OPENGLWIN32
90
RegisterGraphicsSystem (
new
G4OpenGLImmediateWin32);
91
RegisterGraphicsSystem (
new
G4OpenGLStoredWin32);
92
#endif
93
94
#ifdef G4VIS_USE_OPENGLXM
95
RegisterGraphicsSystem (
new
G4OpenGLImmediateXm);
96
RegisterGraphicsSystem (
new
G4OpenGLStoredXm);
97
#endif
98
99
#ifdef G4VIS_USE_OIX
100
RegisterGraphicsSystem (
new
G4OpenInventorX);
101
#endif
102
103
#ifdef G4VIS_USE_OIWIN32
104
RegisterGraphicsSystem (
new
G4OpenInventorWin32);
105
#endif
106
107
#ifdef G4VIS_USE_VRML
108
RegisterGraphicsSystem (
new
G4VRML1);
109
RegisterGraphicsSystem (
new
G4VRML2);
110
#endif
111
112
#ifdef G4VIS_USE_VRMLFILE
113
RegisterGraphicsSystem (
new
G4VRML1File);
114
RegisterGraphicsSystem (
new
G4VRML2File);
115
#endif
116
117
if
(fVerbose > 0) {
118
G4cout <<
119
"\nYou have successfully chosen to use the following graphics systems."
120
<< G4endl;
121
//PrintAvailableGraphicsSystems ();
122
}
123
}
124
125
#endif
G4SvcVisManager.h
7.1.2
Simulation
G4Svc
G4Svc-00-01-56
src
G4SvcVisManager.cpp
Generated by
1.12.0