The class that bridges the simulation code with ROOT Visualization.
More...
#include <adaptor.h>
The class that bridges the simulation code with ROOT Visualization.
Definition at line 43 of file adaptor.h.
◆ RootAdaptor()
bdm::RootAdaptor::RootAdaptor |
( |
| ) |
|
|
inline |
◆ AddBranch()
void bdm::RootAdaptor::AddBranch |
( |
const Agent * |
agent, |
|
|
TGeoVolume * |
container |
|
) |
| |
|
inlineprivate |
Recursively adds sphere and its daughters to the container.
Definition at line 123 of file adaptor.h.
◆ AddCylinder()
void bdm::RootAdaptor::AddCylinder |
( |
const Agent * |
agent, |
|
|
TGeoVolume * |
container |
|
) |
| |
|
inlineprivate |
Adds a cylinder object to the volume.
Definition at line 155 of file adaptor.h.
◆ AddSphere()
void bdm::RootAdaptor::AddSphere |
( |
const Agent * |
agent, |
|
|
TGeoVolume * |
container |
|
) |
| |
|
inlineprivate |
Adds a sphere object to the volume.
Definition at line 141 of file adaptor.h.
◆ DrawInCanvas()
void bdm::RootAdaptor::DrawInCanvas |
( |
size_t |
w = 300 , |
|
|
size_t |
h = 300 , |
|
|
std::string |
opt = "" |
|
) |
| |
|
inline |
◆ Initialize()
void bdm::RootAdaptor::Initialize |
( |
| ) |
|
|
inlineprivate |
◆ Visualize()
void bdm::RootAdaptor::Visualize |
( |
uint64_t |
total_steps | ) |
|
|
inline |
Visualize one timestep.
Definition at line 48 of file adaptor.h.
◆ canvas_
TCanvas* bdm::RootAdaptor::canvas_ = nullptr |
|
private |
◆ initialized_
bool bdm::RootAdaptor::initialized_ |
|
private |
◆ mat_empty_space_
TGeoMaterial* bdm::RootAdaptor::mat_empty_space_ |
|
private |
Eve materials and medium.
Definition at line 205 of file adaptor.h.
◆ mat_solid_
TGeoMaterial* bdm::RootAdaptor::mat_solid_ |
|
private |
◆ max_viz_nodes_
int bdm::RootAdaptor::max_viz_nodes_ |
|
private |
Max visualized shapes per volume.
Definition at line 213 of file adaptor.h.
◆ med_empty_space_
TGeoMedium* bdm::RootAdaptor::med_empty_space_ |
|
private |
◆ med_solid_
TGeoMedium* bdm::RootAdaptor::med_solid_ |
|
private |
◆ outfile_
std::string bdm::RootAdaptor::outfile_ |
|
private |
◆ top_
TGeoVolume* bdm::RootAdaptor::top_ |
|
private |
Top volumes for TGeo and TEve (world)
Definition at line 202 of file adaptor.h.
The documentation for this class was generated from the following file: