![]() |
Belle II Software
release-05-02-19
|
Public Member Functions | |
def | __init__ (self, name, contact, output_file_name=None, reco_tracks_name='RecoTracks', mc_reco_tracks_name='MCRecoTracks', expert_level=None) |
def | initialize (self) |
def | prepare (self) |
def | pick (self, mc_reco_track) |
def | peel (self, mc_reco_track) |
def | peel_mc_to_pr_match_info (self, mc_reco_track) |
def | peel_hit_efficiencies_in_all_pr_tracks (self, mc_reco_track) |
Public Attributes | |
reco_tracks_name | |
Name of the StoreArray of the tracks from pattern recognition. | |
mc_reco_tracks_name | |
Name of the StoreArray of the ideal mc tracks. | |
track_match_look_up | |
Reference to the track match lookup object reading the relation information constructed by the MCMatcherTracksModule. | |
found_det_hit_ids | |
Set of all detector and hits ids contained in any pr track. More... | |
matched_det_hit_ids | |
Set of all detector and hits ids contained in matched pr tracks. More... | |
clone_det_hit_ids | |
Set of all detector and hits ids contained in clone pr tracks. More... | |
fake_det_hit_ids | |
Set of all detector and hits ids contained in background and ghost pr tracks. More... | |
Static Public Attributes | |
int | default_expert_level = 10 |
the threshold value for the expert level | |
save_tree = refiners.save_tree(name="mc_tree", folder_name="mc_tree", above_expert_level=default_expert_level) | |
Save a tree of all collected variables in a sub folder. | |
save_tree_basic | |
Save a basic tree. More... | |
save_overview_figures_of_merit | |
Generate the average finding efficiencies and hit efficiencies. More... | |
save_hit_efficiency_histogram | |
Save a histogram of the hit efficiency. More... | |
dictionary | renaming_select_for_finding_efficiency_profiles |
Rename the efficiency-profile quantities so that they display nicely in ROOT TLatex. More... | |
save_finding_efficiency_profiles | |
Make profile of finding efficiency. More... | |
save_finding_efficiency_by_tan_lamba_profiles | |
Make profile of finding efficiency versus tan(lambda) More... | |
save_finding_efficiency_by_tan_lamba_in_pt_groups_profiles | |
Make profiles of finding efficiency versus tan(lambda) grouped by transverse momentum. More... | |
dictionary | renaming_select_for_hit_efficiency_profiles |
Rename the hit-profile quantities so that they display nicely in ROOT TLatex. More... | |
save_hit_efficiency_profiles | |
Make profile of hit efficiency. More... | |
save_hit_efficiency_by_tan_lambda_profiles | |
Make profile of finding efficiency versus tan(lambda) More... | |
save_hit_efficiency_in_all_found_hist | |
This creates a histogram for all MC track displaying the ratio of hits contained in any PR track Hence this is distinctly larger than the hit efficiency to the matched PR track Usefulness under discussion. More... | |
save_missing_mc_tracks_hit_efficiency_in_all_found_hist | |
This creates a histogram for each missing MC track displaying the ratio of hits contained in any PR tracks High values in this hit efficiencies means that the MC track is consumed by other PR tracks but no proper match could be established. More... | |
Module to collect matching information about the found particles and to generate validation plots and figures of merit on the performance of track finding.
Expert level behavior: expert_level = default_expert_level: all figures and plots from this module except tree entries expert_level > default_expert_level: everything including tree entries expert_level <= default_expert_level//2: only basic figures default_expert_level//2 < expert_level < default_expert_level: basic figures and basic tree entries
Definition at line 16 of file mc_side_module.py.
def __init__ | ( | self, | |
name, | |||
contact, | |||
output_file_name = None , |
|||
reco_tracks_name = 'RecoTracks' , |
|||
mc_reco_tracks_name = 'MCRecoTracks' , |
|||
expert_level = None |
|||
) |
def initialize | ( | self | ) |
Initialization signal at the start of the event processing
Definition at line 69 of file mc_side_module.py.
def peel | ( | self, | |
mc_reco_track | |||
) |
Looks at the individual Monte Carlo tracks and store information about them
Definition at line 113 of file mc_side_module.py.
def peel_hit_efficiencies_in_all_pr_tracks | ( | self, | |
mc_reco_track | |||
) |
Extracts hit efficiencies
Definition at line 185 of file mc_side_module.py.
def peel_mc_to_pr_match_info | ( | self, | |
mc_reco_track | |||
) |
Extracts track-match information from the MCMatcherTracksModule results
Definition at line 175 of file mc_side_module.py.
def pick | ( | self, | |
mc_reco_track | |||
) |
Pick every MCRecoTrack
Definition at line 109 of file mc_side_module.py.
def prepare | ( | self | ) |
Collect some statistics about the pattern recognition tracks used for comparision to the MC tracks Executed once at the start of each event.
Definition at line 74 of file mc_side_module.py.
clone_det_hit_ids |
Set of all detector and hits ids contained in clone pr tracks.
Updated each event.
Definition at line 57 of file mc_side_module.py.
fake_det_hit_ids |
Set of all detector and hits ids contained in background and ghost pr tracks.
Updated each event.
Definition at line 60 of file mc_side_module.py.
found_det_hit_ids |
Set of all detector and hits ids contained in any pr track.
Updated each event.
Definition at line 51 of file mc_side_module.py.
matched_det_hit_ids |
Set of all detector and hits ids contained in matched pr tracks.
Updated each event.
Definition at line 54 of file mc_side_module.py.
|
static |
Rename the efficiency-profile quantities so that they display nicely in ROOT TLatex.
Definition at line 244 of file mc_side_module.py.
|
static |
Rename the hit-profile quantities so that they display nicely in ROOT TLatex.
Definition at line 296 of file mc_side_module.py.
|
static |
Make profiles of finding efficiency versus tan(lambda) grouped by transverse momentum.
Definition at line 279 of file mc_side_module.py.
|
static |
Make profile of finding efficiency versus tan(lambda)
Definition at line 264 of file mc_side_module.py.
|
static |
Make profile of finding efficiency.
Definition at line 253 of file mc_side_module.py.
|
static |
Make profile of finding efficiency versus tan(lambda)
Definition at line 316 of file mc_side_module.py.
|
static |
Save a histogram of the hit efficiency.
Definition at line 236 of file mc_side_module.py.
|
static |
This creates a histogram for all MC track displaying the ratio of hits contained in any PR track Hence this is distinctly larger than the hit efficiency to the matched PR track Usefulness under discussion.
Definition at line 333 of file mc_side_module.py.
|
static |
Make profile of hit efficiency.
Definition at line 305 of file mc_side_module.py.
|
static |
This creates a histogram for each missing MC track displaying the ratio of hits contained in any PR tracks High values in this hit efficiencies means that the MC track is consumed by other PR tracks but no proper match could be established.
Definition at line 342 of file mc_side_module.py.
|
static |
Generate the average finding efficiencies and hit efficiencies.
Definition at line 219 of file mc_side_module.py.
|
static |
Save a basic tree.
Definition at line 215 of file mc_side_module.py.