Garfield++
5.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
i
k
l
m
n
o
p
q
r
s
t
v
w
x
y
z
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
y
Variables
a
b
c
d
e
f
g
i
k
l
m
n
o
p
q
r
s
t
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
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
~
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
k
l
m
n
o
p
q
r
s
t
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Related Symbols
a
c
k
o
p
s
u
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
i
k
l
m
n
p
r
s
t
u
v
w
Variables
a
b
d
e
f
g
i
l
m
n
o
p
r
s
t
v
w
x
y
z
Typedefs
Macros
_
a
c
d
e
f
g
i
l
m
n
p
q
r
s
t
u
v
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Loading...
Searching...
No Matches
PlottingEngine.hh
Go to the documentation of this file.
1
#ifndef G_PLOTTING_ENGINE_H
2
#define G_PLOTTING_ENGINE_H
3
4
#include <TStyle.h>
5
6
namespace
Garfield
{
7
8
/// Plotting style.
9
10
class
PlottingEngine
{
11
public
:
12
/// Default constructor.
13
PlottingEngine
();
14
/// Destructor
15
~PlottingEngine
() =
default
;
16
17
/// Use serif font.
18
void
SetSerif
() { m_serif =
true
; }
19
/// Use sans-serif font.
20
void
SetSansSerif
() { m_serif =
false
; }
21
22
/// Set the colour palette.
23
void
SetPalette
(
int
ncol) { m_palette = ncol; }
24
25
/// Apply the default Garfield ROOT style.
26
void
SetDefaultStyle
();
27
28
private
:
29
std::string m_className =
"PlottingEngine"
;
30
31
bool
m_serif =
false
;
32
int
m_palette = 0;
33
34
TStyle m_garfieldStyle;
35
};
10
class
PlottingEngine
{
…
};
36
}
37
38
#endif
Garfield::PlottingEngine::SetDefaultStyle
void SetDefaultStyle()
Apply the default Garfield ROOT style.
Definition
PlottingEngine.cc:18
Garfield::PlottingEngine::PlottingEngine
PlottingEngine()
Default constructor.
Definition
PlottingEngine.cc:15
Garfield::PlottingEngine::SetSerif
void SetSerif()
Use serif font.
Definition
PlottingEngine.hh:18
Garfield::PlottingEngine::SetPalette
void SetPalette(int ncol)
Set the colour palette.
Definition
PlottingEngine.hh:23
Garfield::PlottingEngine::SetSansSerif
void SetSansSerif()
Use sans-serif font.
Definition
PlottingEngine.hh:20
Garfield::PlottingEngine::~PlottingEngine
~PlottingEngine()=default
Destructor.
Garfield
Definition
HeedChamber.hh:11
garfieldpp-5.0
Include
Garfield
PlottingEngine.hh
Generated by
1.13.2