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


Public Member Functions | |
| def | calculateIntersectionInQuadTreePicture (self, first, second) |
| def | calculatePositionInQuadTreePicture (self, position) |
| def | forAllAxialSegments (self, f) |
| def | convertToQuadTreePicture (self, phi, mag, charge) |
| def | event (self) |
| def | plot_quad_tree_content (self) |
| def | save_and_show_file (self) |
| def | init_plotting (self) |
| def | terminate (self) |
Public Attributes | |
| range_x_min | |
| lower x bound for polar angle | |
| range_x_max | |
| upper x bound for polar angle | |
| range_y_min | |
| lower y bound | |
| range_y_max | |
| upper y bound | |
| file_name_of_quad_tree_content | |
| cached output filename | |
| draw_quad_tree_content | |
| cached flag to draw QuadTree | |
| queue | |
| cached value of the queue input parameter | |
| file_names | |
| cached array of output filenames (one file per image) | |
Static Public Attributes | |
| bool | draw_segment_intersection = True and False |
| by default, do not draw a segment intersection | |
| bool | draw_segment = True and False |
| by default, do not draw a segment | |
| bool | draw_segment_averaged = True and False |
| by default, do not draw an averaged segment | |
| bool | draw_segment_fitted = True and False |
| by default, do not draw a fitted segment | |
| bool | draw_mc_information = True and False |
| by default, do not draw the MC information | |
| bool | draw_mc_hits = True and False |
| by default, do not draw the MC hits | |
| bool | theta_shifted = False |
| by default, polar angles and cuts are in the range (0,pi) rather than (-pi/2,+pi/2) | |
| maximum_theta = np.pi | |
| an alias for the maximum value of the polar angle | |
Implementation of a quad tree plotter for SegmentQuadTrees
Definition at line 125 of file quadTreePlotter.py.
| def calculateIntersectionInQuadTreePicture | ( | self, | |
| first, | |||
| second | |||
| ) |
Calculate the point where the two given hits intersect params ------ first: hit second: hit
Definition at line 149 of file quadTreePlotter.py.
| def calculatePositionInQuadTreePicture | ( | self, | |
| position | |||
| ) |
Transform a given normal coordinate position to a legendre position (conformal transformed) params ------ position: TrackFindingCDC.Vector2D
Definition at line 174 of file quadTreePlotter.py.
| def convertToQuadTreePicture | ( | self, | |
| phi, | |||
| mag, | |||
| charge | |||
| ) |
Convert given track parameters into a point in the legendre space params ------ phi: phi of the track mag: magnitude of pt charge: charge of the track
Definition at line 205 of file quadTreePlotter.py.
| def event | ( | self | ) |
Draw everything according to the given options Attributes ---------- draw_segment_intersection draw_segment draw_segment_averaged draw_segment_fitted draw_mc_information draw_mc_hits
Reimplemented from QuadTreePlotter.
Definition at line 229 of file quadTreePlotter.py.
| def forAllAxialSegments | ( | self, | |
| f | |||
| ) |
Loop over all segments and execute a function params ------ f: function
Definition at line 189 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.
|
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.