Garfield++ 3.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Base class for visualization classes. More...
#include <ViewBase.hh>
Public Member Functions | |
ViewBase ()=delete | |
Default constructor. | |
ViewBase (const std::string &name) | |
Constructor. | |
virtual | ~ViewBase () |
Destructor. | |
void | SetCanvas (TCanvas *c) |
Set the canvas to be painted on. | |
TCanvas * | GetCanvas () |
Retrieve the canvas. | |
void | EnableDebugging (const bool on=true) |
Switch on/off debugging output. | |
Protected Member Functions | |
std::string | FindUnusedFunctionName (const std::string &s) const |
std::string | FindUnusedHistogramName (const std::string &s) const |
Protected Attributes | |
std::string | m_className = "ViewBase" |
bool | m_debug = false |
TCanvas * | m_canvas = nullptr |
bool | m_hasExternalCanvas = false |
double | m_proj [3][3] |
Base class for visualization classes.
Definition at line 10 of file ViewBase.hh.
|
delete |
Default constructor.
Garfield::ViewBase::ViewBase | ( | const std::string & | name | ) |
Constructor.
Definition at line 10 of file ViewBase.cc.
|
virtual |
|
inline |
|
protected |
Definition at line 30 of file ViewBase.cc.
|
protected |
Definition at line 40 of file ViewBase.cc.
Referenced by Garfield::ViewSignal::PlotSignal().
|
inline |
void Garfield::ViewBase::SetCanvas | ( | TCanvas * | c | ) |
Set the canvas to be painted on.
Definition at line 20 of file ViewBase.cc.
Referenced by main().
|
protected |
Definition at line 34 of file ViewBase.hh.
Referenced by GetCanvas(), Garfield::ViewFEMesh::Plot(), Garfield::ViewGeometry::Plot(), Garfield::ViewIsochrons::PlotIsochrons(), Garfield::ViewSignal::PlotSignal(), SetCanvas(), and ~ViewBase().
|
protected |
Definition at line 28 of file ViewBase.hh.
Referenced by Garfield::ViewDrift::AddDriftLinePoint(), Garfield::ViewDrift::AddTrackPoint(), Garfield::ViewField::Evaluate2D(), Garfield::ViewMedium::EvaluateFunction(), Garfield::ViewFEMesh::Plot(), Garfield::ViewGeometry::Plot(), Garfield::ViewCell::Plot2d(), Garfield::ViewCell::Plot3d(), Garfield::ViewMedium::PlotElectronCrossSections(), Garfield::ViewIsochrons::PlotIsochrons(), Garfield::ViewSignal::PlotSignal(), Garfield::ViewField::SetArea(), Garfield::ViewIsochrons::SetArea(), Garfield::ViewCell::SetArea(), Garfield::ViewDrift::SetArea(), Garfield::ViewFEMesh::SetArea(), Garfield::ViewIsochrons::SetAspectRatioSwitch(), Garfield::ViewDrift::SetClusterMarkerSize(), Garfield::ViewDrift::SetCollisionMarkerSize(), Garfield::ViewCell::SetComponent(), Garfield::ViewField::SetComponent(), Garfield::ViewIsochrons::SetComponent(), Garfield::ViewFEMesh::SetComponent(), Garfield::ViewIsochrons::SetConnectionThreshold(), Garfield::ViewDrift::SetDriftLinePoint(), Garfield::ViewGeometry::SetGeometry(), Garfield::ViewIsochrons::SetLoopThreshold(), Garfield::ViewMedium::SetMedium(), Garfield::ViewField::SetNumberOfContours(), Garfield::ViewField::SetNumberOfSamples1d(), Garfield::ViewField::SetNumberOfSamples2d(), Garfield::ViewField::SetPlane(), Garfield::ViewIsochrons::SetPlane(), Garfield::ViewFEMesh::SetPlane(), Garfield::ViewMedium::SetRangeA(), Garfield::ViewMedium::SetRangeB(), Garfield::ViewMedium::SetRangeE(), Garfield::ViewSignal::SetRangeX(), Garfield::ViewSignal::SetRangeY(), Garfield::ViewMedium::SetRangeY(), Garfield::ViewField::SetSensor(), Garfield::ViewIsochrons::SetSensor(), Garfield::ViewSignal::SetSensor(), and Garfield::ViewDrift::SetTrackPoint().
|
protected |
Definition at line 31 of file ViewBase.hh.
Referenced by EnableDebugging(), Garfield::ViewField::Evaluate2D(), and Garfield::ViewIsochrons::PlotIsochrons().
|
protected |
Definition at line 35 of file ViewBase.hh.
Referenced by Garfield::ViewFEMesh::Plot(), Garfield::ViewGeometry::Plot(), Garfield::ViewSignal::PlotSignal(), SetCanvas(), and ~ViewBase().
|
protected |
Definition at line 38 of file ViewBase.hh.