Garfield++ v2r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
PlottingEngineRoot.hh
Go to the documentation of this file.
1#ifndef G_PLOTTING_ENGINE_ROOT_H
2#define G_PLOTTING_ENGINE_ROOT_H
3
4#include <TROOT.h>
5#include <TStyle.h>
6#include <TF1.h>
7
8#include "PlottingEngine.hh"
9
10namespace Garfield {
11
12/// Definition of styles and color schemes.
13
15
16 public:
17 // Constructor
19 // Destructor
20 virtual ~PlottingEngineRoot();
21
22 void SetDefaultStyle();
23
27 int GetRootColorHole();
28 int GetRootColorIon();
31
32 bool GetRootColor(std::string color, int& rootcol);
33
34 private:
35 TStyle m_garfieldStyle;
36
37 std::string m_colorLine1Default;
38 std::string m_colorLine2Default;
39 std::string m_colorElectronDefault;
40 std::string m_colorHoleDefault;
41 std::string m_colorIonDefault;
42 std::string m_colorPhotonDefault;
43 std::string m_colorChargedParticleDefault;
44};
45}
46
47#endif
Definition of styles and color schemes.
bool GetRootColor(std::string color, int &rootcol)
Abstract base class for plotting engines.