Garfield++ v1r0
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
13
14 public:
15 // Constructor
17 // Destructor
18 virtual ~PlottingEngineRoot();
19
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;
36 std::string m_colorLine2Default;
37 std::string m_colorElectronDefault;
38 std::string m_colorHoleDefault;
39 std::string m_colorIonDefault;
40 std::string m_colorPhotonDefault;
41 std::string m_colorChargedParticleDefault;
42};
43}
44
45#endif
bool GetRootColor(std::string color, int &rootcol)