fast_carpenter.selection.filters module¶
-
class
fast_carpenter.selection.filters.BaseFilter(selection, depth, cut_id, weights)[source]¶ Bases:
object-
columns¶
-
index_values¶
-
values¶
-
-
class
fast_carpenter.selection.filters.ReduceSingleCut(stage_name, depth, cut_id, weights, selection)[source]¶
-
fast_carpenter.selection.filters.build_selection(stage_name, config, weights=[])[source]¶ Creates event selectors based on the configuration.
Parameters: - stage_name – Used to help in error messages.
- config – The event selection configuration.
- weights – How to weight events, used to produce the resulting cut efficiency table.
Raises: RuntimeError– if any of the configurations are invalid.