Belle II Software development
|
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) |
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 | |
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) | |
np | 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.
|
static |
by default, do not draw the MC hits
Definition at line 142 of file quadTreePlotter.py.
|
static |
by default, do not draw the MC information
Definition at line 140 of file quadTreePlotter.py.
|
static |
by default, do not draw a segment
Definition at line 134 of file quadTreePlotter.py.
|
static |
by default, do not draw an averaged segment
Definition at line 136 of file quadTreePlotter.py.
|
static |
by default, do not draw a fitted segment
Definition at line 138 of file quadTreePlotter.py.
|
static |
by default, do not draw a segment intersection
Definition at line 132 of file quadTreePlotter.py.
|
static |
an alias for the maximum value of the polar angle
Definition at line 147 of file quadTreePlotter.py.
range_x_max |
upper x bound for polar angle
Definition at line 246 of file quadTreePlotter.py.
range_x_min |
lower x bound for polar angle
Definition at line 244 of file quadTreePlotter.py.
range_y_max |
upper y bound
Definition at line 254 of file quadTreePlotter.py.
range_y_min |
lower y bound
Definition at line 252 of file quadTreePlotter.py.
|
static |
by default, polar angles and cuts are in the range (0,pi) rather than (-pi/2,+pi/2)
Definition at line 145 of file quadTreePlotter.py.