Belle II Software development
|
Public Member Functions | |
def | __init__ (self, animate=False) |
def | clone (self) |
def | styling_to_attribute_map (self, **styling) |
def | draw_superlayer_boundaries (self, **styling) |
def | draw_interaction_point (self) |
def | draw_outer_cdc_wall (self, **styling) |
def | draw_inner_cdc_wall (self, **styling) |
def | draw_iterable (self, iterable, **styling) |
def | draw_storevector (self, storeobj_name, **styling) |
def | draw_storearray (self, storearray_name, **styling) |
def | draw (self, obj, **styling) |
def | saveSVGFile (self, svgFileName='display.svg') |
def | savePNGFile (self, pngFileName='display.png') |
Static Public Member Functions | |
def | unpack_attributes (styling, i_obj=0, obj=None) |
Public Attributes | |
animate | |
Switch to indicating if an animated SVG should be generated. | |
eventdata_plotter | |
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.
def __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.
def clone | ( | self | ) |
Make a copy of the current status of the plotter.
Definition at line 51 of file __init__.py.
def draw | ( | self, | |
obj, | |||
** | styling | ||
) |
Draw an object with the specified styling
Definition at line 173 of file __init__.py.
def draw_inner_cdc_wall | ( | self, | |
** | styling | ||
) |
Draw the CDC inner wall
Definition at line 90 of file __init__.py.
def draw_interaction_point | ( | self | ) |
Draw the interaction point
Definition at line 77 of file __init__.py.
def draw_iterable | ( | self, | |
iterable, | |||
** | styling | ||
) |
Draw one or more items with the specified styling
Definition at line 112 of file __init__.py.
def draw_outer_cdc_wall | ( | self, | |
** | styling | ||
) |
Draw the CDC outer wall
Definition at line 83 of file __init__.py.
def draw_storearray | ( | self, | |
storearray_name, | |||
** | styling | ||
) |
Draw information from a StoreArray with the specified styling
Definition at line 150 of file __init__.py.
def 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.
def draw_superlayer_boundaries | ( | self, | |
** | styling | ||
) |
Draw the CDC superlayer boundaries
Definition at line 70 of file __init__.py.
def savePNGFile | ( | self, | |
pngFileName = 'display.png' |
|||
) |
Save the current dom object representation to disk as a png.
Definition at line 201 of file __init__.py.
def saveSVGFile | ( | self, | |
svgFileName = 'display.svg' |
|||
) |
Save the current dom object representation to disk.
Definition at line 180 of file __init__.py.
def 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 |
Switch to indicating if an animated SVG should be generated.
Definition at line 43 of file __init__.py.
eventdata_plotter |
Display the image using the event-data plotter.
Definition at line 45 of file __init__.py.