Belle II Software
release-08-01-10
|
Public Member Functions | |
def | __init__ (self, output_folder=tempfile.gettempdir(), interactive=True) |
def | drawoptions (self) |
def | all_drawoptions (self) |
def | draw_wires (self) |
def | draw_wires (self, draw_wires) |
def | initialize (self) |
def | beginRun (self) |
def | event (self) |
def | endRun (self) |
def | terminate (self) |
def | new_output_basename (self) |
def | new_output_filename (self) |
Public Attributes | |
interactive | |
Switch if the module shall show the event to the user and wait to continue or just generate the images. | |
output_folder | |
Folder the images shall be saved to. | |
animate | |
Switch to make an animated event display by means of animated SVG. | |
forward_fade | |
Switch to make the color of segments and tracks fade out in the forward direction. | |
use_cpp | |
Flag to use cpp. | |
use_python | |
Flag to use python. | |
draw_interaction_point | |
Switch to draw the interaction point. More... | |
draw_superlayer_boundaries | |
Switch to draw the superlayer boundaries. More... | |
draw_walls | |
Switch to draw the superlayer boundaries. More... | |
draw_hits | |
Switch to draw the CDCHits. More... | |
draw_takenflag | |
Switch to draw the CDCHits colored by the associated CDCWireHit taken flag. More... | |
draw_mcparticle_id | |
Switch to draw the MCParticle::getArrayIndex property. More... | |
draw_mcparticle_pdgcode | |
Switch to draw the MCParticle::getPDGCode property. More... | |
draw_mcparticle_primary | |
Switch to draw the MCParticle::hasStatus(c_PrimaryParticle) property. More... | |
draw_mcparticle_trajectories | |
Switch to draw the ideal trajectory of the MCParticle. More... | |
draw_simhits | |
Switch to draw the CDCSimHits with momentum information. More... | |
draw_simhit_tof | |
Switch to draw the CDCSimHits color coded by their time of flight. More... | |
draw_simhit_posflag | |
Switch to draw the CDCSimHits color coded by their getPosFlag() property. More... | |
draw_simhit_pdgcode | |
Switch to draw the CDCSimHits color coded by their getPDGCode() property. More... | |
draw_simhit_bkgtag | |
Switch to draw the CDCSimHits color coded by their getBackgroundTag() property. More... | |
draw_simhit_isbkg | |
Switch to draw the CDCSimHits red for getBackgroundTag() != bg_none. More... | |
draw_nloops | |
Switch to draw the CDCHit colored by the number of loops passed. | |
draw_connect_tof | |
Switch to draw the CDCSimHits connected in the order of their getFlightTime for each Monte Carlo particle. More... | |
draw_rlinfo | |
Switch to draw the CDCSimHits color coded by their local right left passage information. More... | |
draw_reassigned | |
Switch to draw the CDCSimHits color coded by their reassignement information to a different MCParticle. More... | |
draw_mcsegments | |
Switch to draw the Monte Carlo segments as generated in CDCMCTrackStore. More... | |
draw_mcaxialsegmentpairs | |
Switch to draw the axial to axial segment pairs from Monte Carlo truth. More... | |
draw_mcsegmentpairs | |
Switch to draw the axial to stereo segment pairs from Monte Carlo truth. More... | |
draw_mcsegmenttriples | |
Switch to draw the segment triples from Monte Carlo truth. More... | |
draw_superclusters | |
Switch to draw the clusters generated by the finder. | |
draw_clusters | |
Switch to draw the clusters generated by the finder. | |
draw_segments | |
Switch to draw the segments generated by the finder. | |
draw_segment_trajectories | |
Switch to draw the trajectories fitted to the segments generated by the finder. | |
draw_tangentsegments | |
Switch to draw the tangent segments generated by the finder. | |
draw_segment_mctrackids | |
Switch to draw the segments generated by the finder colored with the Monte Carlo track id. | |
draw_segment_fbinfos | |
Switch to draw the segments generated by the finder colored by the coalignment information (forward, backward, undetermined) | |
draw_segment_firstInTrackIds | |
Switch to draw the segments generated by the finder colored by the frist in track hit id. | |
draw_segment_lastInTrackIds | |
Switch to draw the segments generated by the finder colored by the second in track hit id. | |
draw_segment_firstNPassedSuperLayers | |
Switch to draw the segments generated by the finder colored by the number of passed superlayers assoziated to the first hit in the segment. | |
draw_segment_lastNPassedSuperLayers | |
Switch to draw the segments generated by the finder colored by the number of passed superlayers assoziated to the last hit in the segment. | |
draw_axialsegmentpairs | |
Switch to draw the axial stereo segment pairs generated by the finder. | |
draw_segmentpairs | |
Switch to draw the axial stereo segment pairs generated by the finder. | |
draw_segmenttriples | |
Switch to draw the segment triples generated by the finder. | |
draw_segmenttriple_trajectories | |
Switch to draw the trajectories fitted to the segment triples generated by the finder. | |
draw_tracks | |
Switch to draw the tracks generated by the finder. | |
draw_track_trajectories | |
Switch to draw the trajectories of the tracks generated by the finder. | |
draw_recotracks | |
Draw the output RecoTracks. | |
draw_mcrecotracks | |
Draw the MC reference RecoTracks. | |
draw_recotrack_matching | |
Draw the output RecoTracks pattern recognition matching status. | |
draw_mcrecotrack_matching | |
Draw the MC reference RecoTracks pattern recognition matching status. | |
draw_recotrack_seed_trajectories | |
Draw the output track seed trajectories. | |
draw_recotrack_fit_trajectories | |
Draw the output trackpoint trajectories. | |
draw_wrong_rl_infos_in_segments | |
Draw a red cdc hit of the rl info of the segment reco hits is wrong, else a green one. | |
draw_wrong_rl_infos_in_tracks | |
Draw a red cdc hit of the rl info of the track reco hits is wrong, else a green one. | |
cdc_hits_store_array_name | |
Name of the CDC Hits store array. | |
reco_tracks_store_array_name | |
Name of the RecoTracks store array. | |
mc_reco_tracks_store_array_name | |
Name of the Monte Carlo reference RecoTracks store array. | |
cdc_wire_hit_cluster_store_obj_name | |
Name of the CDC Wire Hit Clusters. | |
cdc_segment_vector_store_obj_name | |
Name of the CDC Reco Segment Vector. | |
file_number | |
Current file's number (used for making output filename) | |
filename_prefix | |
Filename prefix. | |
use_time_in_filename | |
Use time instead of prefix in filename. | |
prefilled_cppplotter | |
prefilled default is to use the C++ plotter | |
prefilled_plotter | |
prefilled default is to use the python plotter | |
Private Attributes | |
_draw_wires | |
Switch to draw the wires. | |
Personal two dimensional event display based on scalable vector graphics
Definition at line 28 of file __init__.py.
def __init__ | ( | self, | |
output_folder = tempfile.gettempdir() , |
|||
interactive = True |
|||
) |
Constructor method Parameters ---------- output_folder : str Target folder for the output interactive : bool, optional Switch to display each event to the user and ask to continue after each event Defaults to True
Definition at line 34 of file __init__.py.
def all_drawoptions | ( | self | ) |
Property that collects the all names of the draw options to a list. Note that some draw options only make sense after running the CDC cellular automaton track finder. @return list of strings naming the different switches that can be activated.
Definition at line 329 of file __init__.py.
def beginRun | ( | self | ) |
Begin run method of the module. Empty here.
Definition at line 412 of file __init__.py.
def draw_wires | ( | self | ) |
Getter for the draw option that indicates if all wires shall be drawn. Since this has some performance impact in animated events the wires are prevented from being drawn in this case.
Definition at line 350 of file __init__.py.
def draw_wires | ( | self, | |
draw_wires | |||
) |
Setter for the option to draw all wires.
Definition at line 360 of file __init__.py.
def drawoptions | ( | self | ) |
Property that collects the various names of the draw options to a list that are not related to the CDC cellular automaton track finder. @return list of strings naming the different switches that can be activated.
Definition at line 264 of file __init__.py.
def endRun | ( | self | ) |
endRun methode of the module. Empty here.
Definition at line 1050 of file __init__.py.
def event | ( | self | ) |
Event method of the module. Draws the event into a new svg file.
Definition at line 419 of file __init__.py.
def initialize | ( | self | ) |
Initialisation method of the module. Creates the output folder if it is not present yet.
Definition at line 367 of file __init__.py.
def new_output_basename | ( | self | ) |
Generates a new unique name for the current event without the folder prefix
Definition at line 1064 of file __init__.py.
def new_output_filename | ( | self | ) |
Generates a new unique name for the current event with the folder prefix
Reimplemented in QueueDrawer.
Definition at line 1075 of file __init__.py.
def terminate | ( | self | ) |
teminate methode of the module. Empty here.
Reimplemented in QueueDrawer.
Definition at line 1057 of file __init__.py.
draw_connect_tof |
Switch to draw the CDCSimHits connected in the order of their getFlightTime for each Monte Carlo particle.
Default: inactive
Definition at line 133 of file __init__.py.
draw_hits |
draw_interaction_point |
draw_mcaxialsegmentpairs |
Switch to draw the axial to axial segment pairs from Monte Carlo truth.
Default: inactive
Definition at line 148 of file __init__.py.
draw_mcparticle_id |
Switch to draw the MCParticle::getArrayIndex property.
Default: inactive
Definition at line 97 of file __init__.py.
draw_mcparticle_pdgcode |
Switch to draw the MCParticle::getPDGCode property.
Default: inactive
Definition at line 100 of file __init__.py.
draw_mcparticle_primary |
Switch to draw the MCParticle::hasStatus(c_PrimaryParticle) property.
Default: inactive
Definition at line 103 of file __init__.py.
draw_mcparticle_trajectories |
Switch to draw the ideal trajectory of the MCParticle.
Default: inactive
Definition at line 106 of file __init__.py.
draw_mcsegmentpairs |
Switch to draw the axial to stereo segment pairs from Monte Carlo truth.
Default: inactive
Definition at line 151 of file __init__.py.
draw_mcsegments |
Switch to draw the Monte Carlo segments as generated in CDCMCTrackStore.
Default: inactive
Definition at line 145 of file __init__.py.
draw_mcsegmenttriples |
Switch to draw the segment triples from Monte Carlo truth.
Default: inactive
Definition at line 154 of file __init__.py.
draw_reassigned |
Switch to draw the CDCSimHits color coded by their reassignement information to a different MCParticle.
Default: inactive
Definition at line 142 of file __init__.py.
draw_rlinfo |
Switch to draw the CDCSimHits color coded by their local right left passage information.
Default: inactive
Definition at line 137 of file __init__.py.
draw_simhit_bkgtag |
Switch to draw the CDCSimHits color coded by their getBackgroundTag() property.
Default: inactive
Definition at line 122 of file __init__.py.
draw_simhit_isbkg |
Switch to draw the CDCSimHits red for getBackgroundTag() != bg_none.
Default: inactive
Definition at line 125 of file __init__.py.
draw_simhit_pdgcode |
Switch to draw the CDCSimHits color coded by their getPDGCode() property.
Default: inactive
Definition at line 118 of file __init__.py.
draw_simhit_posflag |
Switch to draw the CDCSimHits color coded by their getPosFlag() property.
Default: inactive
Definition at line 115 of file __init__.py.
draw_simhit_tof |
Switch to draw the CDCSimHits color coded by their time of flight.
Default: inactive
Definition at line 112 of file __init__.py.
draw_simhits |
Switch to draw the CDCSimHits with momentum information.
Default: inactive
Definition at line 109 of file __init__.py.
draw_superlayer_boundaries |
Switch to draw the superlayer boundaries.
Default: inactive
Definition at line 85 of file __init__.py.
draw_takenflag |
Switch to draw the CDCHits colored by the associated CDCWireHit taken flag.
Default: active
Definition at line 94 of file __init__.py.
draw_walls |
Switch to draw the superlayer boundaries.
Default: inactive
Definition at line 88 of file __init__.py.