Garfield++ 3.0
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 <TStyle.h>
5
6#include "PlottingEngine.hh"
7
8namespace Garfield {
9
10/// Definition of styles and color schemes.
11
13 public:
14 /// Constructor
16 /// Destructor
17 virtual ~PlottingEngineRoot();
18
19 /// Apply the default Garfield ROOT style.
20 void SetDefaultStyle();
21
25 int GetRootColorHole();
26 int GetRootColorIon();
29
30 bool GetRootColor(std::string color, int& rootcol);
31
32 private:
33 TStyle m_garfieldStyle;
34
35 std::string m_colorLine1Default = "dark-blue";
36 std::string m_colorLine2Default = "olive";
37 std::string m_colorElectronDefault = "orange";
38 std::string m_colorHoleDefault = "red";
39 std::string m_colorIonDefault = "dark-red";
40 std::string m_colorPhotonDefault = "blue";
41 std::string m_colorChargedParticleDefault = "dark-green";
42};
43}
44
45#endif
Definition of styles and color schemes.
virtual ~PlottingEngineRoot()
Destructor.
bool GetRootColor(std::string color, int &rootcol)
void SetDefaultStyle()
Apply the default Garfield ROOT style.
Abstract base class for plotting engines.