Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
Garfield::PlottingEngine Class Reference

#include <PlottingEngine.hh>

+ Inheritance diagram for Garfield::PlottingEngine:

Public Member Functions

 PlottingEngine ()
 
virtual ~PlottingEngine ()
 
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 ()
 
void DisableDebugging ()
 

Protected Attributes

std::string m_className
 
std::string m_colorLine1
 
std::string m_colorLine2
 
std::string m_colorElectron
 
std::string m_colorHole
 
std::string m_colorIon
 
std::string m_colorPhoton
 
std::string m_colorChargedParticle
 
bool m_debug
 

Detailed Description

Definition at line 11 of file PlottingEngine.hh.

Constructor & Destructor Documentation

◆ PlottingEngine()

Garfield::PlottingEngine::PlottingEngine ( )
inline

Definition at line 15 of file PlottingEngine.hh.

16 : m_className("PlottingEngine"),
17 m_colorLine1("dark-blue"),
18 m_colorLine2("olive"),
19 m_colorElectron("orange"),
20 m_colorHole("red"),
21 m_colorIon("dark-red"),
22 m_colorPhoton("blue"),
23 m_colorChargedParticle("dark-green"),
24 m_debug(false) {}
std::string m_colorChargedParticle

◆ ~PlottingEngine()

virtual Garfield::PlottingEngine::~PlottingEngine ( )
inlinevirtual

Definition at line 27 of file PlottingEngine.hh.

27{}

Member Function Documentation

◆ DisableDebugging()

void Garfield::PlottingEngine::DisableDebugging ( )
inline

Definition at line 50 of file PlottingEngine.hh.

50{ m_debug = false; }

◆ EnableDebugging()

void Garfield::PlottingEngine::EnableDebugging ( )
inline

Definition at line 49 of file PlottingEngine.hh.

49{ m_debug = true; }

◆ GetChargedParticleColor()

std::string Garfield::PlottingEngine::GetChargedParticleColor ( ) const
inline

Definition at line 46 of file PlottingEngine.hh.

46{ return m_colorChargedParticle; }

◆ GetElectronColor()

std::string Garfield::PlottingEngine::GetElectronColor ( ) const
inline

Definition at line 42 of file PlottingEngine.hh.

42{ return m_colorElectron; }

◆ GetHoleColor()

std::string Garfield::PlottingEngine::GetHoleColor ( ) const
inline

Definition at line 43 of file PlottingEngine.hh.

43{ return m_colorHole; }

◆ GetIonColor()

std::string Garfield::PlottingEngine::GetIonColor ( ) const
inline

Definition at line 44 of file PlottingEngine.hh.

44{ return m_colorIon; }

◆ GetLineColor1()

std::string Garfield::PlottingEngine::GetLineColor1 ( ) const
inline

Definition at line 40 of file PlottingEngine.hh.

40{ return m_colorLine1; }

◆ GetLineColor2()

std::string Garfield::PlottingEngine::GetLineColor2 ( ) const
inline

Definition at line 41 of file PlottingEngine.hh.

41{ return m_colorLine2; }

◆ GetPhotonColor()

std::string Garfield::PlottingEngine::GetPhotonColor ( ) const
inline

Definition at line 45 of file PlottingEngine.hh.

45{ return m_colorPhoton; }

◆ SetChargedParticleColor()

void Garfield::PlottingEngine::SetChargedParticleColor ( const std::string &  col)
inline

Definition at line 36 of file PlottingEngine.hh.

36 {
38 }

◆ SetElectronColor()

void Garfield::PlottingEngine::SetElectronColor ( const std::string &  col)
inline

Definition at line 32 of file PlottingEngine.hh.

32{ m_colorElectron = col; }

◆ SetHoleColor()

void Garfield::PlottingEngine::SetHoleColor ( const std::string &  col)
inline

Definition at line 33 of file PlottingEngine.hh.

33{ m_colorHole = col; }

◆ SetIonColor()

void Garfield::PlottingEngine::SetIonColor ( const std::string &  col)
inline

Definition at line 34 of file PlottingEngine.hh.

34{ m_colorIon = col; }

◆ SetLineColor1()

void Garfield::PlottingEngine::SetLineColor1 ( const std::string &  col)
inline

Definition at line 30 of file PlottingEngine.hh.

30{ m_colorLine1 = col; }

◆ SetLineColor2()

void Garfield::PlottingEngine::SetLineColor2 ( const std::string &  col)
inline

Definition at line 31 of file PlottingEngine.hh.

31{ m_colorLine2 = col; }

◆ SetPhotonColor()

void Garfield::PlottingEngine::SetPhotonColor ( const std::string &  col)
inline

Definition at line 35 of file PlottingEngine.hh.

35{ m_colorPhoton = col; }

Member Data Documentation

◆ m_className

std::string Garfield::PlottingEngine::m_className
protected

Definition at line 53 of file PlottingEngine.hh.

Referenced by Garfield::PlottingEngineRoot::GetRootColor().

◆ m_colorChargedParticle

std::string Garfield::PlottingEngine::m_colorChargedParticle
protected

◆ m_colorElectron

std::string Garfield::PlottingEngine::m_colorElectron
protected

◆ m_colorHole

std::string Garfield::PlottingEngine::m_colorHole
protected

◆ m_colorIon

std::string Garfield::PlottingEngine::m_colorIon
protected

◆ m_colorLine1

std::string Garfield::PlottingEngine::m_colorLine1
protected

◆ m_colorLine2

std::string Garfield::PlottingEngine::m_colorLine2
protected

◆ m_colorPhoton

std::string Garfield::PlottingEngine::m_colorPhoton
protected

◆ m_debug

bool Garfield::PlottingEngine::m_debug
protected

The documentation for this class was generated from the following file: