|
def | __init__ (self, output_file_name) |
|
def | initialize (self) |
|
def | prepare (self) |
|
def | pick (self, segment_pair_relation) |
|
def | peel (self, segment_pair_relation) |
|
def | peel_target (self, segment_pair_relation) |
|
def | peel_mc (self, segment_pair_relation) |
|
def | peel_fit (self, segment_pair_relation) |
|
def | peel_fitless (self, segment_pair_relation) |
|
def | fit (self, segment_pair_relation) |
|
def | select_fitless (self, fitless_crops) |
|
def | select (self, crops) |
|
def | print_signal_number (self, crops, tdirectory, **kwds) |
|
Module to collect information about the generated segments and compose validation plots on terminate.
Definition at line 86 of file segmentPairCreationValidation.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
output_file_name |
|
) |
| |
◆ fit()
def fit |
( |
|
self, |
|
|
|
segment_pair_relation |
|
) |
| |
◆ initialize()
◆ peel()
def peel |
( |
|
self, |
|
|
|
segment_pair_relation |
|
) |
| |
◆ peel_fit()
def peel_fit |
( |
|
self, |
|
|
|
segment_pair_relation |
|
) |
| |
◆ peel_fitless()
def peel_fitless |
( |
|
self, |
|
|
|
segment_pair_relation |
|
) |
| |
◆ peel_mc()
def peel_mc |
( |
|
self, |
|
|
|
segment_pair_relation |
|
) |
| |
◆ peel_target()
def peel_target |
( |
|
self, |
|
|
|
segment_pair_relation |
|
) |
| |
◆ pick()
def pick |
( |
|
self, |
|
|
|
segment_pair_relation |
|
) |
| |
◆ prepare()
◆ print_signal_number()
def print_signal_number |
( |
|
self, |
|
|
|
crops, |
|
|
|
tdirectory, |
|
|
** |
kwds |
|
) |
| |
◆ select()
def select |
( |
|
self, |
|
|
|
crops |
|
) |
| |
◆ select_fitless()
def select_fitless |
( |
|
self, |
|
|
|
fitless_crops |
|
) |
| |
◆ save_fitless_selection_variables_histograms
save_fitless_selection_variables_histograms |
|
static |
Initial value:= refiners.save_histograms(
select=["mc_decision", "delta_phi", "start_is_before_end", "end_is_after_start", "is_coaligned"],
outlier_z_score=5.0,
allow_discrete=True,
stackby="mc_decision",
folder_name="fitless_selection_variables",
)
Save a tree of track-segment-without-fit variables in a sub folder.
Definition at line 282 of file segmentPairCreationValidation.py.
◆ save_p_value_over_curvature_profile
save_p_value_over_curvature_profile |
|
static |
Initial value:= refiners.save_profiles(
select={"p_value": "p-value", "curvature_truth": "true curvature"},
y="p-value",
folder_name="selection_variables_after_fitless_selection",
title=r"$p$-value versus true curvature after fitless selection",
filter_on="select_fitless",
)
Save a tree of track-segment-pair p-value and curvature variables in a sub folder.
Definition at line 321 of file segmentPairCreationValidation.py.
◆ save_selection_variables_after_fitless_selection_histograms
save_selection_variables_after_fitless_selection_histograms |
|
static |
Initial value:= refiners.save_histograms(
select=["mc_decision", "chi2", "ndf", "p_value"],
outlier_z_score=5.0,
allow_discrete=True,
stackby="mc_decision",
folder_name="selection_variables_after_fitless_selection",
filter_on="select_fitless",
)
Save a tree of track-segment-pair selection variables in a sub folder.
Definition at line 310 of file segmentPairCreationValidation.py.
◆ save_view_delta_phi_cut_histograms
save_view_delta_phi_cut_histograms |
|
static |
Initial value:= refiners.save_histograms(
select=["mc_decision", "delta_phi"],
lower_bound=-delta_phi_cut_value,
upper_bound=delta_phi_cut_value,
stackby="mc_decision",
folder_name="view_fitless_cuts",
)
Save a tree of delta-phi-cut track-segment-pair variables in a sub folder.
Definition at line 300 of file segmentPairCreationValidation.py.
◆ save_view_is_after_cut_histograms
save_view_is_after_cut_histograms |
|
static |
Initial value:= refiners.save_histograms(
select=["mc_decision", "start_is_before_end", "end_is_after_start"],
lower_bound=-is_after_cut_value,
upper_bound=is_after_cut_value,
stackby="mc_decision",
folder_name="view_fitless_cuts",
)
Save a tree of mal-ordered track-segment-pair variables in a sub folder.
Definition at line 291 of file segmentPairCreationValidation.py.
The documentation for this class was generated from the following file: