Garfield++ v2r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Visualize the "cell" defined in an analytic-field component. More...
#include <ViewCell.hh>
Public Member Functions | |
ViewCell () | |
Constructor. | |
~ViewCell () | |
Destructor. | |
void | SetCanvas (TCanvas *c) |
Set the canvas on which to draw the cell geometry. | |
void | SetComponent (ComponentAnalyticField *comp) |
Set the component for which to draw the cell geometry. | |
void | SetArea (const double xmin, const double ymin, const double zmin, const double xmax, const double ymax, const double zmax) |
Set the plot range explicitly. | |
void | SetArea () |
Take the plot range from the bounding box of the component class. | |
void | Plot2d () |
Make a two-dimensional drawing of the cell geometry. | |
void | Plot3d () |
Make a three-dimensional drawing of the cell geometry (using TGeo). | |
void | EnableDebugging (const bool on=true) |
Switch on/off debugging output. | |
void | EnableWireMarkers (const bool on=true) |
void | DisableWireMarkers () |
Visualize the "cell" defined in an analytic-field component.
Definition at line 15 of file ViewCell.hh.
Garfield::ViewCell::ViewCell | ( | ) |
Constructor.
Definition at line 17 of file ViewCell.cc.
Garfield::ViewCell::~ViewCell | ( | ) |
Destructor.
Definition at line 37 of file ViewCell.cc.
|
inline |
Definition at line 45 of file ViewCell.hh.
|
inline |
|
inline |
Visualize wirers using markers or as a circle with the actual wire radius. The default is markers.
Definition at line 44 of file ViewCell.hh.
Referenced by DisableWireMarkers().
void Garfield::ViewCell::Plot2d | ( | ) |
Make a two-dimensional drawing of the cell geometry.
Definition at line 84 of file ViewCell.cc.
void Garfield::ViewCell::Plot3d | ( | ) |
Make a three-dimensional drawing of the cell geometry (using TGeo).
Definition at line 91 of file ViewCell.cc.
|
inline |
Take the plot range from the bounding box of the component class.
Definition at line 32 of file ViewCell.hh.
void Garfield::ViewCell::SetArea | ( | const double | xmin, |
const double | ymin, | ||
const double | zmin, | ||
const double | xmax, | ||
const double | ymax, | ||
const double | zmax | ||
) |
Set the plot range explicitly.
Definition at line 65 of file ViewCell.cc.
void Garfield::ViewCell::SetCanvas | ( | TCanvas * | c | ) |
Set the canvas on which to draw the cell geometry.
Definition at line 54 of file ViewCell.cc.
void Garfield::ViewCell::SetComponent | ( | ComponentAnalyticField * | comp | ) |
Set the component for which to draw the cell geometry.
Definition at line 44 of file ViewCell.cc.