7#include <TPolyLine3D.h>
8#include <TPolyMarker3D.h>
27 void SetArea(
const double xmin,
const double ymin,
const double zmin,
28 const double xmax,
const double ymax,
const double zmax);
33 void Plot(
const bool twod =
false,
const bool axis =
true);
42 const double y0,
const double z0);
44 const double y0,
const double z0);
46 const double y0,
const double z0);
47 void NewPhotonTrack(
const double x0,
const double y0,
const double z0,
48 const double x1,
const double y1,
const double z1);
50 const double y0,
const double z0);
53 const double x,
const double y,
const double z);
56 void SetTrackPoint(
const unsigned int iL,
const unsigned int iP,
57 const double x,
const double y,
const double z);
58 void AddTrackPoint(
const unsigned int iL,
const double x,
const double y,
70 std::string m_className;
82 bool m_hasExternalCanvas;
85 double m_xMin, m_yMin, m_zMin;
86 double m_xMax, m_yMax, m_zMax;
91 std::vector<Marker> vect;
94 std::vector<driftLine> m_driftLines;
95 std::vector<TPolyLine3D*> m_driftLinePlots;
97 std::vector<std::vector<Marker> > m_tracks;
98 std::vector<TPolyMarker3D*> m_trackPlots;
99 std::vector<TPolyLine3D*> m_trackLinePlots;
101 std::vector<Marker> m_excMarkers;
102 TPolyMarker3D* m_excPlot;
103 std::vector<Marker> m_ionMarkers;
104 TPolyMarker3D* m_ionPlot;
105 std::vector<Marker> m_attMarkers;
106 TPolyMarker3D* m_attPlot;
108 double m_markerSizeCluster;
109 double m_markerSizeCollision;
111 void Plot2d(
const bool axis);
112 void Plot3d(
const bool axis);
Visualize drift lines and tracks.
void NewElectronDriftLine(const unsigned int np, int &id, const double x0, const double y0, const double z0)
void AddExcitationMarker(const double x, const double y, const double z)
void EnableDebugging(const bool on=true)
Switch on/off debugging output.
void AddIonisationMarker(const double x, const double y, const double z)
void Plot(const bool twod=false, const bool axis=true)
Draw the drift lines.
void SetDriftLinePoint(const unsigned int iL, const unsigned int iP, const double x, const double y, const double z)
void SetArea(const double xmin, const double ymin, const double zmin, const double xmax, const double ymax, const double zmax)
Set the region to be plotted.
void AddAttachmentMarker(const double x, const double y, const double z)
void AddTrackPoint(const unsigned int iL, const double x, const double y, const double z)
void SetClusterMarkerSize(const double size)
Set the size of the cluster markers (see TAttMarker).
void NewChargedParticleTrack(const unsigned int np, int &id, const double x0, const double y0, const double z0)
void AddDriftLinePoint(const unsigned int iL, const double x, const double y, const double z)
void SetTrackPoint(const unsigned int iL, const unsigned int iP, const double x, const double y, const double z)
void Clear()
Delete existing drift lines, tracks and markers.
void SetCanvas(TCanvas *c)
Set the canvas to be painted on.
void NewPhotonTrack(const double x0, const double y0, const double z0, const double x1, const double y1, const double z1)
void NewHoleDriftLine(const unsigned int np, int &id, const double x0, const double y0, const double z0)
void NewIonDriftLine(const unsigned int np, int &id, const double x0, const double y0, const double z0)
void SetCollisionMarkerSize(const double size)
Set the size of the collision markers (see TAttMarker).
Draw the mesh of a field-map component.