4#include <TGeoManager.h>
49 std::unique_ptr<TGeoManager>
m_geo;
51 bool Plot(
const bool twod);
53 void PlotWire(
const double x,
const double y,
const double d,
const int type);
55 void PlotWire(
const double x,
const double y,
const double d,
const int type,
58 void PlotTube(
const double x0,
const double y0,
const double r,
const int n);
60 void PlotTube(
const double x0,
const double y0,
const double r1,
61 const double r2,
const int n,
const double lz);
63 void PlotPlane(
const double x0,
const double y0,
const double x1,
66 void PlotPlane(
const double dx,
const double dy,
const double dz,
67 const double x0,
const double y0);
71 void SetupGeo(
const double dx,
const double dy,
const double dz);
Semi-analytic calculation of two-dimensional configurations consisting of wires, planes,...
Two-dimensional implementation of the nearly exact Boundary Element Method.
ViewBase()=delete
Default constructor.
~ViewCell()=default
Destructor.
ViewCell(ComponentNeBem2d *cmp)
Constructor from two-dimenstional neBEM component.
ViewCell(ComponentAnalyticField *cmp)
Constructor from analytic-field component.
void PlotWire(const double x, const double y, const double d, const int type)
void PlotPlane(const double x0, const double y0, const double x1, const double y1)
void PlotTube(const double x0, const double y0, const double r1, const double r2, const int n, const double lz)
ComponentAnalyticField * m_component
void Plot3d()
Make a three-dimensional drawing of the cell layout (using TGeo).
bool PlotNeBem(const bool twod)
void PlotWire(const double x, const double y, const double d, const int type, const double lz)
bool Plot(const bool twod)
ComponentNeBem2d * m_nebem
void PlotTube(const double x0, const double y0, const double r, const int n)
void SetComponent(ComponentAnalyticField *comp)
Set the component for which to draw the cell geometry.
std::unique_ptr< TGeoManager > m_geo
void SetComponent(ComponentNeBem2d *comp)
void SetupGeo(const double dx, const double dy, const double dz)
ViewCell()
Default constructor.
void Plot2d()
Make a two-dimensional drawing of the cell layout.
void EnableWireMarkers(const bool on=true)
Visualize wirers using markers (default setting) or as a circle with the actual wire radius.
void DisableWireMarkers()
void PlotPlane(const double dx, const double dy, const double dz, const double x0, const double y0)