Belle II Software development
|
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. | |
matched_det_hit_ids | |
Set of all detector and hits ids contained in matched pr tracks. | |
clone_det_hit_ids | |
Set of all detector and hits ids contained in clone pr tracks. | |
fake_det_hit_ids | |
Set of all detector and hits ids contained in background and ghost pr tracks. | |
Static Public Attributes | |
int | default_expert_level = 10 |
the threshold value for the expert level | |
refiners | save_tree |
Save a tree of all collected variables in a sub folder. | |
refiners | save_tree_basic |
Save a basic tree. | |
refiners | save_overview_figures_of_merit |
Generate the average finding efficiencies and hit efficiencies. | |
refiners | save_hit_efficiency_histogram |
Save a histogram of the hit efficiency. | |
dict | renaming_select_for_finding_efficiency_profiles |
Rename the efficiency-profile quantities so that they display nicely in ROOT TLatex. | |
refiners | save_finding_efficiency_profiles |
Make profile of finding efficiency. | |
refiners | save_finding_efficiency_by_tan_lamba_profiles |
Make profile of finding efficiency versus tan(lambda) | |
refiners | save_finding_efficiency_by_tan_lamba_in_pt_groups_profiles |
Make profiles of finding efficiency versus tan(lambda) grouped by transverse momentum. | |
dict | renaming_select_for_hit_efficiency_profiles |
Rename the hit-profile quantities so that they display nicely in ROOT TLatex. | |
refiners | save_hit_efficiency_profiles |
Make profile of hit efficiency. | |
refiners | save_hit_efficiency_by_tan_lambda_profiles |
Make profile of finding efficiency versus tan(lambda) | |
refiners | save_finding_efficiency_by_pt_profiles_groupbyCharge |
Charge dependent histograms Make profile of finding efficiency versus pt, tan(lambda) | |
refiners | save_finding_efficiency_by_tan_lambda_profiles_groupbyCharge |
Charge dependent histograms Make profile of finding efficiency versus pt, tan(lambda) | |
refiners | save_hit_efficiency_by_pt_profiles_groupbyCharge |
Charge dependent histograms Make profile of finding efficiency versus pt, tan(lambda) | |
refiners | save_hit_efficiency_by_tan_lambda_profiles_groupbyCharge |
Charge dependent histograms Make profile of finding efficiency versus pt, tan(lambda) | |
refiners | 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. | |
refiners | 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. | |
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 22 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 |
|||
) |
Constructor
Definition at line 35 of file mc_side_module.py.
def initialize | ( | self | ) |
Initialization signal at the start of the event processing
Definition at line 75 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 119 of file mc_side_module.py.
def peel_hit_efficiencies_in_all_pr_tracks | ( | self, | |
mc_reco_track | |||
) |
Extracts hit efficiencies
Definition at line 195 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 181 of file mc_side_module.py.
def pick | ( | self, | |
mc_reco_track | |||
) |
Pick every MCRecoTrack
Definition at line 115 of file mc_side_module.py.
def prepare | ( | self | ) |
Collect some statistics about the pattern recognition tracks used for comparison to the MC tracks Executed once at the start of each event.
Definition at line 80 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 70 of file mc_side_module.py.
|
static |
the threshold value for the expert level
Definition at line 33 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 73 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 64 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 67 of file mc_side_module.py.
mc_reco_tracks_name |
Name of the StoreArray of the ideal mc tracks.
Definition at line 57 of file mc_side_module.py.
reco_tracks_name |
Name of the StoreArray of the tracks from pattern recognition.
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 272 of file mc_side_module.py.
|
static |
Rename the hit-profile quantities so that they display nicely in ROOT TLatex.
Definition at line 330 of file mc_side_module.py.
|
static |
Charge dependent histograms Make profile of finding efficiency versus pt, tan(lambda)
Definition at line 370 of file mc_side_module.py.
|
static |
Make profiles of finding efficiency versus tan(lambda) grouped by transverse momentum.
Definition at line 311 of file mc_side_module.py.
|
static |
Make profile of finding efficiency versus tan(lambda)
Definition at line 294 of file mc_side_module.py.
|
static |
Charge dependent histograms Make profile of finding efficiency versus pt, tan(lambda)
Definition at line 388 of file mc_side_module.py.
|
static |
Make profile of finding efficiency.
Definition at line 281 of file mc_side_module.py.
|
static |
Charge dependent histograms Make profile of finding efficiency versus pt, tan(lambda)
Definition at line 407 of file mc_side_module.py.
|
static |
Make profile of finding efficiency versus tan(lambda)
Definition at line 352 of file mc_side_module.py.
|
static |
Charge dependent histograms Make profile of finding efficiency versus pt, tan(lambda)
Definition at line 425 of file mc_side_module.py.
|
static |
Save a histogram of the hit efficiency.
Definition at line 262 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 445 of file mc_side_module.py.
|
static |
Make profile of hit efficiency.
Definition at line 339 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 456 of file mc_side_module.py.
|
static |
Generate the average finding efficiencies and hit efficiencies.
Definition at line 243 of file mc_side_module.py.
|
static |
Save a tree of all collected variables in a sub folder.
Definition at line 222 of file mc_side_module.py.
|
static |
Save a basic tree.
Definition at line 232 of file mc_side_module.py.
track_match_look_up |
Reference to the track match lookup object reading the relation information constructed by the MCMatcherTracksModule.
Definition at line 60 of file mc_side_module.py.