![]() |
Belle II Software development
|
Public Member Functions | |
__init__ (self, animate=False) | |
clone (self) | |
styling_to_attribute_map (self, **styling) | |
draw_superlayer_boundaries (self, **styling) | |
draw_interaction_point (self) | |
draw_outer_cdc_wall (self, **styling) | |
draw_inner_cdc_wall (self, **styling) | |
draw_iterable (self, iterable, **styling) | |
draw_storevector (self, storeobj_name, **styling) | |
draw_storearray (self, storearray_name, **styling) | |
draw (self, obj, **styling) | |
saveSVGFile (self, svgFileName='display.svg') | |
savePNGFile (self, pngFileName='display.png') | |
Static Public Member Functions | |
unpack_attributes (styling, i_obj=0, obj=None) | |
Public Attributes | |
animate = animate | |
Switch to indicating if an animated SVG should be generated. | |
eventdata_plotter = Belle2.TrackFindingCDC.EventDataPlotter(self.animate) | |
Display the image using the event-data plotter. | |
Helper class to generated the svg image from the various tracking objects. This is a tiny wrapper around the TrackFindingCDC.EventDataPlotter.
Definition at line 21 of file __init__.py.
__init__ | ( | self, | |
animate = False ) |
Constructor method. @param animate switch indicating if an animated SVG should be generated
Definition at line 28 of file __init__.py.
clone | ( | self | ) |
Make a copy of the current status of the plotter.
Definition at line 51 of file __init__.py.
draw | ( | self, | |
obj, | |||
** | styling ) |
Draw an object with the specified styling
Definition at line 173 of file __init__.py.
draw_inner_cdc_wall | ( | self, | |
** | styling ) |
Draw the CDC inner wall
Definition at line 90 of file __init__.py.
draw_interaction_point | ( | self | ) |
Draw the interaction point
Definition at line 77 of file __init__.py.
draw_iterable | ( | self, | |
iterable, | |||
** | styling ) |
Draw one or more items with the specified styling
Definition at line 112 of file __init__.py.
draw_outer_cdc_wall | ( | self, | |
** | styling ) |
Draw the CDC outer wall
Definition at line 83 of file __init__.py.
draw_storearray | ( | self, | |
storearray_name, | |||
** | styling ) |
Draw information from a StoreArray with the specified styling
Definition at line 150 of file __init__.py.
draw_storevector | ( | self, | |
storeobj_name, | |||
** | styling ) |
Draw information in a vector from the DataStore with the specified styling
Definition at line 122 of file __init__.py.
draw_superlayer_boundaries | ( | self, | |
** | styling ) |
Draw the CDC superlayer boundaries
Definition at line 70 of file __init__.py.
savePNGFile | ( | self, | |
pngFileName = 'display.png' ) |
Save the current dom object representation to disk as a png.
Definition at line 201 of file __init__.py.
saveSVGFile | ( | self, | |
svgFileName = 'display.svg' ) |
Save the current dom object representation to disk.
Definition at line 180 of file __init__.py.
styling_to_attribute_map | ( | self, | |
** | styling ) |
Transfer the styling information to the attribute map
Definition at line 59 of file __init__.py.
|
static |
Mapping function to unpack the attributes from the attribute maps. Mechanism and interface inspired by d3.js
Definition at line 98 of file __init__.py.
animate = animate |
Switch to indicating if an animated SVG should be generated.
Definition at line 43 of file __init__.py.
eventdata_plotter = Belle2.TrackFindingCDC.EventDataPlotter(self.animate) |
Display the image using the event-data plotter.
Definition at line 45 of file __init__.py.