Garfield++ 3.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Definition of styles and color schemes. More...
#include <PlottingEngineRoot.hh>
Public Member Functions | |
PlottingEngineRoot () | |
Constructor. | |
virtual | ~PlottingEngineRoot () |
Destructor. | |
void | SetDefaultStyle () |
Apply the default Garfield ROOT style. | |
int | GetRootColorLine1 () |
int | GetRootColorLine2 () |
int | GetRootColorElectron () |
int | GetRootColorHole () |
int | GetRootColorIon () |
int | GetRootColorPhoton () |
int | GetRootColorChargedParticle () |
bool | GetRootColor (std::string color, int &rootcol) |
Public Member Functions inherited from Garfield::PlottingEngine | |
PlottingEngine ()=delete | |
Default constructor. | |
PlottingEngine (const std::string &name) | |
Constructor. | |
virtual | ~PlottingEngine () |
Destructor. | |
void | SetSerif () |
Use serif font. | |
void | SetSansSerif () |
Use sans-serif font. | |
void | SetLineColor1 (const std::string &col) |
void | SetLineColor2 (const std::string &col) |
void | SetElectronColor (const std::string &col) |
void | SetHoleColor (const std::string &col) |
void | SetIonColor (const std::string &col) |
void | SetPhotonColor (const std::string &col) |
void | SetChargedParticleColor (const std::string &col) |
std::string | GetLineColor1 () const |
std::string | GetLineColor2 () const |
std::string | GetElectronColor () const |
std::string | GetHoleColor () const |
std::string | GetIonColor () const |
std::string | GetPhotonColor () const |
std::string | GetChargedParticleColor () const |
void | EnableDebugging (const bool on=true) |
Switch debugging messages on/off. | |
Additional Inherited Members | |
Protected Attributes inherited from Garfield::PlottingEngine | |
std::string | m_className = "PlottingEngine" |
bool | m_serif = false |
std::string | m_colorLine1 = "dark-blue" |
std::string | m_colorLine2 = "olive" |
std::string | m_colorElectron = "orange" |
std::string | m_colorHole = "red" |
std::string | m_colorIon = "dark-red" |
std::string | m_colorPhoton = "blue" |
std::string | m_colorChargedParticle = "dark-green" |
bool | m_debug = false |
Definition of styles and color schemes.
Definition at line 12 of file PlottingEngineRoot.hh.
Garfield::PlottingEngineRoot::PlottingEngineRoot | ( | ) |
Constructor.
Definition at line 15 of file PlottingEngineRoot.cc.
|
virtual |
bool Garfield::PlottingEngineRoot::GetRootColor | ( | std::string | color, |
int & | rootcol | ||
) |
Definition at line 164 of file PlottingEngineRoot.cc.
Referenced by GetRootColorChargedParticle(), GetRootColorElectron(), GetRootColorHole(), GetRootColorIon(), GetRootColorLine1(), GetRootColorLine2(), and GetRootColorPhoton().
int Garfield::PlottingEngineRoot::GetRootColorChargedParticle | ( | ) |
Definition at line 155 of file PlottingEngineRoot.cc.
int Garfield::PlottingEngineRoot::GetRootColorElectron | ( | ) |
Definition at line 119 of file PlottingEngineRoot.cc.
Referenced by Garfield::ViewDrift::NewElectronDriftLine(), and Garfield::ViewSignal::PlotSignal().
int Garfield::PlottingEngineRoot::GetRootColorHole | ( | ) |
Definition at line 128 of file PlottingEngineRoot.cc.
Referenced by Garfield::ViewDrift::NewHoleDriftLine().
int Garfield::PlottingEngineRoot::GetRootColorIon | ( | ) |
Definition at line 137 of file PlottingEngineRoot.cc.
Referenced by Garfield::ViewSignal::PlotSignal().
int Garfield::PlottingEngineRoot::GetRootColorLine1 | ( | ) |
Definition at line 101 of file PlottingEngineRoot.cc.
Referenced by Garfield::ViewSignal::PlotSignal().
int Garfield::PlottingEngineRoot::GetRootColorLine2 | ( | ) |
Definition at line 110 of file PlottingEngineRoot.cc.
int Garfield::PlottingEngineRoot::GetRootColorPhoton | ( | ) |
Definition at line 146 of file PlottingEngineRoot.cc.
Referenced by Garfield::ViewDrift::NewPhotonTrack().
void Garfield::PlottingEngineRoot::SetDefaultStyle | ( | ) |
Apply the default Garfield ROOT style.
Definition at line 21 of file PlottingEngineRoot.cc.
Referenced by Garfield::ViewBase::ViewBase(), and Garfield::ViewGeometry::ViewGeometry().