7#include <TGeoManager.h>
11class ComponentAnalyticField;
29 void SetArea(
const double xmin,
const double ymin,
const double zmin,
30 const double xmax,
const double ymax,
const double zmax);
48 std::string m_className;
58 bool m_hasExternalCanvas;
62 double m_xMin, m_yMin, m_zMin;
63 double m_xMax, m_yMax, m_zMax;
70 bool Plot(
const bool use3d);
71 void PlotWire(
const double x,
const double y,
const double d,
73 void PlotTube(
const double x0,
const double y0,
const double r,
const int n);
Visualize the "cell" defined in an analytic-field component.
void EnableDebugging(const bool on=true)
Switch on/off debugging output.
void Plot3d()
Make a three-dimensional drawing of the cell geometry (using TGeo).
void SetArea()
Take the plot range from the bounding box of the component class.
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 Plot2d()
Make a two-dimensional drawing of the cell geometry.
void EnableWireMarkers(const bool on=true)
void DisableWireMarkers()