![]() |
Belle II Software
release-08-02-04
|


Public Member Functions | |
| def | create_trajectory_from_track (self, track) |
| def | create_reco_hit3D (self, cdcHit, trajectory3D, rlInfo) |
| def | get_plottable_line (self, recoHit3D) |
| def | plot_hit_line (self, recoHit3D, color) |
| def | event (self) |
| def | plot_quad_tree_content (self) |
| def | save_and_show_file (self) |
| def | init_plotting (self) |
| def | terminate (self) |
Public Attributes | |
| draw_quad_tree_content | |
| by default, draw the QuadTree | |
| range_x_min | |
| default lower x bound | |
| range_x_max | |
| default upper x bound | |
| range_y_min | |
| default lower y bound | |
| range_y_max | |
| default upper y bound | |
| file_name_of_quad_tree_content | |
| cached output filename | |
| queue | |
| cached value of the queue input parameter | |
| file_names | |
| cached array of output filenames (one file per image) | |
Static Public Attributes | |
| bool | draw_mc_hits = False |
| by default, do not draw the MC hits | |
| bool | draw_mc_tracks = False |
| by default, do not draw the MC tracks | |
| bool | draw_track_hits = False |
| by default, do not draw the track hits | |
| bool | draw_last_track = True |
| by default, draw the last track | |
| bool | delete_bad_hits = False |
| by default, do not delete the bad track hits | |
Implementation of a quad tree plotter for StereoHitAssignment
Definition at line 354 of file quadTreePlotter.py.
| def create_reco_hit3D | ( | self, | |
| cdcHit, | |||
| trajectory3D, | |||
| rlInfo | |||
| ) |
Use a cdc hit and a trajectory to reconstruct a CDCRecoHit3D params ------ cdcHit: CDCHit trajectory3D: TrackFindingCDC.CDCTrajectory3D rlInfo: RightLeftInfo ( = short)
Definition at line 388 of file quadTreePlotter.py.
| def create_trajectory_from_track | ( | self, | |
| track | |||
| ) |
Convert a genfit::TrackCand into a TrackFindingCDC.CDCTrajectory3D params ------ track: genfit::TrackCand
Definition at line 371 of file quadTreePlotter.py.
| def event | ( | self | ) |
Draw the hit content according to the attributes Attributes ---------- draw_mc_hits draw_mc_tracks draw_track_hits draw_last_track delete_bad_hits
Reimplemented from QuadTreePlotter.
Definition at line 430 of file quadTreePlotter.py.
| def get_plottable_line | ( | self, | |
| recoHit3D | |||
| ) |
Minim the task of the StereoQuadTree by showing the line of quadtree nodes a hit belongs to
Definition at line 410 of file quadTreePlotter.py.
|
inherited |
Initialize the figure with the plot ranges We need to implement axes labels later!
Definition at line 103 of file quadTreePlotter.py.
| def plot_hit_line | ( | self, | |
| recoHit3D, | |||
| color | |||
| ) |
Draw one recoHit3D
Definition at line 419 of file quadTreePlotter.py.
|
inherited |
Draw the quad tree content coming from the root file if enabled.
Definition at line 52 of file quadTreePlotter.py.
|
inherited |
Save the plot to a svg and show it (maybe a png would be better?)
Reimplemented in QueueStereoQuadTreePlotter.
Definition at line 95 of file quadTreePlotter.py.
|
inherited |
Termination signal at the end of the event processing
Reimplemented in QueueStereoQuadTreePlotter.
Definition at line 120 of file quadTreePlotter.py.