|
Garfield++ 3.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Visualize drift lines and tracks. More...
#include <ViewDrift.hh>
Inheritance diagram for Garfield::ViewDrift:Public Member Functions | |
| ViewDrift () | |
| Constructor. | |
| ~ViewDrift () | |
| Destructor. | |
| 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 | Clear () |
| Delete existing drift lines, tracks and markers. | |
| void | Plot (const bool twod=false, const bool axis=true) |
| Draw the drift lines. | |
| void | SetClusterMarkerSize (const double size) |
| Set the size of the cluster markers (see TAttMarker). | |
| void | SetCollisionMarkerSize (const double size) |
| Set the size of the collision markers (see TAttMarker). | |
| void | NewElectronDriftLine (const unsigned int np, int &id, const double x0, const double y0, const double z0) |
| 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 | NewPhotonTrack (const double x0, const double y0, const double z0, const double x1, const double y1, const double z1) |
| void | NewChargedParticleTrack (const unsigned int np, int &id, const double x0, const double y0, const double z0) |
| void | SetDriftLinePoint (const unsigned int iL, const unsigned int iP, const double x, const double y, const double z) |
| 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 | AddTrackPoint (const unsigned int iL, const double x, const double y, const double z) |
| void | AddExcitationMarker (const double x, const double y, const double z) |
| void | AddIonisationMarker (const double x, const double y, const double z) |
| void | AddAttachmentMarker (const double x, const double y, const double z) |
Public Member Functions inherited from Garfield::ViewBase | |
| 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. | |
Friends | |
| class | ViewFEMesh |
Additional Inherited Members | |
Protected Member Functions inherited from Garfield::ViewBase | |
| std::string | FindUnusedFunctionName (const std::string &s) const |
| std::string | FindUnusedHistogramName (const std::string &s) const |
Protected Attributes inherited from Garfield::ViewBase | |
| std::string | m_className = "ViewBase" |
| bool | m_debug = false |
| TCanvas * | m_canvas = nullptr |
| bool | m_hasExternalCanvas = false |
| double | m_proj [3][3] |
Visualize drift lines and tracks.
Definition at line 19 of file ViewDrift.hh.
| Garfield::ViewDrift::ViewDrift | ( | ) |
Constructor.
Definition at line 12 of file ViewDrift.cc.
| Garfield::ViewDrift::~ViewDrift | ( | ) |
Destructor.
Definition at line 22 of file ViewDrift.cc.
| void Garfield::ViewDrift::AddAttachmentMarker | ( | const double | x, |
| const double | y, | ||
| const double | z | ||
| ) |
Definition at line 229 of file ViewDrift.cc.
| void Garfield::ViewDrift::AddDriftLinePoint | ( | const unsigned int | iL, |
| const double | x, | ||
| const double | y, | ||
| const double | z | ||
| ) |
Definition at line 174 of file ViewDrift.cc.
| void Garfield::ViewDrift::AddExcitationMarker | ( | const double | x, |
| const double | y, | ||
| const double | z | ||
| ) |
Definition at line 211 of file ViewDrift.cc.
| void Garfield::ViewDrift::AddIonisationMarker | ( | const double | x, |
| const double | y, | ||
| const double | z | ||
| ) |
Definition at line 220 of file ViewDrift.cc.
| void Garfield::ViewDrift::AddTrackPoint | ( | const unsigned int | iL, |
| const double | x, | ||
| const double | y, | ||
| const double | z | ||
| ) |
Definition at line 198 of file ViewDrift.cc.
Referenced by Garfield::Track::PlotCluster().
| void Garfield::ViewDrift::Clear | ( | ) |
Delete existing drift lines, tracks and markers.
Definition at line 42 of file ViewDrift.cc.
Referenced by ~ViewDrift().
| void Garfield::ViewDrift::NewChargedParticleTrack | ( | const unsigned int | np, |
| int & | id, | ||
| const double | x0, | ||
| const double | y0, | ||
| const double | z0 | ||
| ) |
Definition at line 149 of file ViewDrift.cc.
Referenced by Garfield::Track::PlotNewTrack().
| void Garfield::ViewDrift::NewElectronDriftLine | ( | const unsigned int | np, |
| int & | id, | ||
| const double | x0, | ||
| const double | y0, | ||
| const double | z0 | ||
| ) |
Definition at line 74 of file ViewDrift.cc.
| void Garfield::ViewDrift::NewHoleDriftLine | ( | const unsigned int | np, |
| int & | id, | ||
| const double | x0, | ||
| const double | y0, | ||
| const double | z0 | ||
| ) |
Definition at line 99 of file ViewDrift.cc.
| void Garfield::ViewDrift::NewIonDriftLine | ( | const unsigned int | np, |
| int & | id, | ||
| const double | x0, | ||
| const double | y0, | ||
| const double | z0 | ||
| ) |
Definition at line 119 of file ViewDrift.cc.
| void Garfield::ViewDrift::NewPhotonTrack | ( | const double | x0, |
| const double | y0, | ||
| const double | z0, | ||
| const double | x1, | ||
| const double | y1, | ||
| const double | z1 | ||
| ) |
Definition at line 138 of file ViewDrift.cc.
| void Garfield::ViewDrift::Plot | ( | const bool | twod = false, |
| const bool | axis = true |
||
| ) |
Draw the drift lines.
Definition at line 238 of file ViewDrift.cc.
| void Garfield::ViewDrift::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.
Definition at line 26 of file ViewDrift.cc.
Referenced by main().
| void Garfield::ViewDrift::SetClusterMarkerSize | ( | const double | size | ) |
Set the size of the cluster markers (see TAttMarker).
Definition at line 58 of file ViewDrift.cc.
| void Garfield::ViewDrift::SetCollisionMarkerSize | ( | const double | size | ) |
Set the size of the collision markers (see TAttMarker).
Definition at line 66 of file ViewDrift.cc.
| void Garfield::ViewDrift::SetDriftLinePoint | ( | const unsigned int | iL, |
| const unsigned int | iP, | ||
| const double | x, | ||
| const double | y, | ||
| const double | z | ||
| ) |
Definition at line 162 of file ViewDrift.cc.
| void Garfield::ViewDrift::SetTrackPoint | ( | const unsigned int | iL, |
| const unsigned int | iP, | ||
| const double | x, | ||
| const double | y, | ||
| const double | z | ||
| ) |
Definition at line 187 of file ViewDrift.cc.
|
friend |
Definition at line 64 of file ViewDrift.hh.