Garfield 0.3
Toolkit for the detailed simulation of particle detectors based on ionization measurement in gases and semiconductors
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
6namespace Garfield {
7
9
11 public:
15 ~PlottingEngine() = default;
16
18 void SetSerif() { m_serif = true; }
20 void SetSansSerif() { m_serif = false; }
21
23 void SetPalette(int ncol) { m_palette = ncol; }
24
27
28 private:
29 std::string m_className = "PlottingEngine";
30
31 bool m_serif = false;
32 int m_palette = 0;
33
35};
36} // namespace Garfield
37
38#endif
void SetDefaultStyle()
Apply the default Garfield ROOT style.
PlottingEngine()
Default constructor.
void SetSerif()
Use serif font.
void SetPalette(int ncol)
Set the colour palette.
void SetSansSerif()
Use sans-serif font.
~PlottingEngine()=default
Destructor.