Commit 66691b43 authored by Daniel Campora's avatar Daniel Campora
Browse files

Updated VELO configuration, refactored selected number of events into number of events.

parent 1c2c2504
......@@ -10,8 +10,8 @@ from UTSequence import make_ut_tracks
def make_forward_tracks(forward_decoding="v4", **kwargs):
initalized_lists = initialize_lists(**kwargs)
host_number_of_selected_events = initalized_lists[
"host_number_of_selected_events"]
host_number_of_events = initalized_lists[
"host_number_of_events"]
dev_event_list = initalized_lists["dev_event_list"]
velo_tracks = make_velo_tracks(**kwargs)
......@@ -59,7 +59,7 @@ def make_forward_tracks(forward_decoding="v4", **kwargs):
name="scifi_calculate_cluster_count",
dev_scifi_raw_input_t=scifi_banks.dev_raw_banks_t,
dev_scifi_raw_input_offsets_t=scifi_banks.dev_raw_offsets_t,
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
dev_event_list_t=dev_event_list)
prefix_sum_scifi_hits = Algorithm(
......@@ -70,7 +70,7 @@ def make_forward_tracks(forward_decoding="v4", **kwargs):
scifi_pre_decode = Algorithm(
scifi_pre_decode_algorithm,
name="scifi_pre_decode",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
dev_event_list_t=dev_event_list,
host_accumulated_number_of_scifi_hits_t=prefix_sum_scifi_hits.
host_total_sum_holder_t,
......@@ -81,7 +81,7 @@ def make_forward_tracks(forward_decoding="v4", **kwargs):
scifi_raw_bank_decoder = Algorithm(
scifi_raw_bank_decoder_algorithm,
name="scifi_raw_bank_decoder",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_accumulated_number_of_scifi_hits_t=prefix_sum_scifi_hits.
host_total_sum_holder_t,
dev_scifi_raw_input_t=scifi_banks.dev_raw_banks_t,
......@@ -93,7 +93,7 @@ def make_forward_tracks(forward_decoding="v4", **kwargs):
lf_search_initial_windows = Algorithm(
lf_search_initial_windows_t,
name="lf_search_initial_windows",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_number_of_reconstructed_ut_tracks_t=
host_number_of_reconstructed_ut_tracks,
dev_scifi_hits_t=scifi_raw_bank_decoder.dev_scifi_hits_t,
......@@ -112,7 +112,7 @@ def make_forward_tracks(forward_decoding="v4", **kwargs):
lf_triplet_seeding = Algorithm(
lf_triplet_seeding_t,
name="lf_triplet_seeding",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_number_of_reconstructed_ut_tracks_t=
host_number_of_reconstructed_ut_tracks,
dev_scifi_hits_t=scifi_raw_bank_decoder.dev_scifi_hits_t,
......@@ -132,7 +132,7 @@ def make_forward_tracks(forward_decoding="v4", **kwargs):
lf_create_tracks = Algorithm(
lf_create_tracks_t,
name="lf_create_tracks",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_number_of_reconstructed_ut_tracks_t=
host_number_of_reconstructed_ut_tracks,
dev_scifi_hits_t=scifi_raw_bank_decoder.dev_scifi_hits_t,
......@@ -157,7 +157,7 @@ def make_forward_tracks(forward_decoding="v4", **kwargs):
lf_quality_filter_length = Algorithm(
lf_quality_filter_length_t,
name="lf_quality_filter_length",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_number_of_reconstructed_ut_tracks_t=
host_number_of_reconstructed_ut_tracks,
dev_offsets_ut_tracks_t=dev_offsets_ut_tracks,
......@@ -170,7 +170,7 @@ def make_forward_tracks(forward_decoding="v4", **kwargs):
lf_quality_filter = Algorithm(
lf_quality_filter_t,
name="lf_quality_filter",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_number_of_reconstructed_ut_tracks_t=
host_number_of_reconstructed_ut_tracks,
dev_scifi_hits_t=scifi_raw_bank_decoder.dev_scifi_hits_t,
......@@ -197,7 +197,7 @@ def make_forward_tracks(forward_decoding="v4", **kwargs):
scifi_copy_track_hit_number = Algorithm(
scifi_copy_track_hit_number_t,
name="scifi_copy_track_hit_number",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_number_of_reconstructed_scifi_tracks_t=prefix_sum_forward_tracks.
host_total_sum_holder_t,
dev_offsets_ut_tracks_t=dev_offsets_ut_tracks,
......@@ -214,7 +214,7 @@ def make_forward_tracks(forward_decoding="v4", **kwargs):
scifi_consolidate_tracks = Algorithm(
scifi_consolidate_tracks_t,
name="scifi_consolidate_tracks",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_accumulated_number_of_hits_in_scifi_tracks_t=
prefix_sum_scifi_track_hit_number.host_total_sum_holder_t,
host_number_of_reconstructed_scifi_tracks_t=prefix_sum_forward_tracks.
......
......@@ -24,8 +24,8 @@ def run_selections(**kwargs):
name="velo_pv_ip",
host_number_of_reconstructed_velo_tracks_t=velo_tracks[
"host_number_of_reconstructed_velo_tracks"],
host_number_of_selected_events_t=initialized_lists[
"host_number_of_selected_events"],
host_number_of_events_t=initialized_lists[
"host_number_of_events"],
dev_velo_kalman_beamline_states_t=velo_kalman_filter[
"dev_velo_kalman_beamline_states"],
dev_offsets_all_velo_tracks_t=velo_tracks[
......@@ -39,8 +39,8 @@ def run_selections(**kwargs):
kalman_velo_only = Algorithm(
kalman_velo_only_t,
name="kalman_velo_only",
host_number_of_selected_events_t=initialized_lists[
"host_number_of_selected_events"],
host_number_of_events_t=initialized_lists[
"host_number_of_events"],
host_number_of_reconstructed_scifi_tracks_t=forward_tracks[
"host_number_of_reconstructed_scifi_tracks"],
dev_offsets_all_velo_tracks_t=velo_tracks[
......@@ -70,8 +70,8 @@ def run_selections(**kwargs):
filter_tracks = Algorithm(
filter_tracks_t,
name="filter_tracks",
host_number_of_selected_events_t=initialized_lists[
"host_number_of_selected_events"],
host_number_of_events_t=initialized_lists[
"host_number_of_events"],
dev_kf_tracks_t=kalman_velo_only.dev_kf_tracks_t,
dev_offsets_forward_tracks_t=forward_tracks[
"dev_offsets_forward_tracks"],
......@@ -94,8 +94,8 @@ def run_selections(**kwargs):
fit_secondary_vertices = Algorithm(
fit_secondary_vertices_t,
name="fit_secondary_vertices",
host_number_of_selected_events_t=initialized_lists[
"host_number_of_selected_events"],
host_number_of_events_t=initialized_lists[
"host_number_of_events"],
host_number_of_svs_t=prefix_sum_secondary_vertices.
host_total_sum_holder_t,
dev_kf_tracks_t=kalman_velo_only.dev_kf_tracks_t,
......@@ -121,8 +121,8 @@ def run_selections(**kwargs):
run_hlt1 = Algorithm(
run_hlt1_t,
name="run_hlt1",
host_number_of_selected_events_t=initialized_lists[
"host_number_of_selected_events"],
host_number_of_events_t=initialized_lists[
"host_number_of_events"],
host_number_of_reconstructed_scifi_tracks_t=forward_tracks[
"host_number_of_reconstructed_scifi_tracks"],
host_number_of_svs_t=prefix_sum_secondary_vertices.
......@@ -141,8 +141,8 @@ def run_selections(**kwargs):
prepare_raw_banks = Algorithm(
prepare_raw_banks_t,
name="prepare_raw_banks",
host_number_of_selected_events_t=initialized_lists[
"host_number_of_selected_events"],
host_number_of_events_t=initialized_lists[
"host_number_of_events"],
host_number_of_reconstructed_scifi_tracks_t=forward_tracks[
"host_number_of_reconstructed_scifi_tracks"],
host_number_of_svs_t=prefix_sum_secondary_vertices.
......@@ -182,8 +182,8 @@ def run_selections(**kwargs):
package_sel_reports = Algorithm(
package_sel_reports_t,
name="package_sel_reports",
host_number_of_selected_events_t=initialized_lists[
"host_number_of_selected_events"],
host_number_of_events_t=initialized_lists[
"host_number_of_events"],
host_number_of_sel_rep_words_t=prefix_sum_sel_reps.
host_total_sum_holder_t,
dev_event_list_t=initialized_lists["dev_event_list"],
......
......@@ -9,8 +9,8 @@ from VeloSequence import initialize_lists
def is_muon(**kwargs):
initalized_lists = initialize_lists(**kwargs)
host_number_of_selected_events = initalized_lists[
"host_number_of_selected_events"]
host_number_of_events = initalized_lists[
"host_number_of_events"]
dev_event_list = initalized_lists["dev_event_list"]
forward_tracks = make_forward_tracks(**kwargs)
......@@ -29,7 +29,7 @@ def is_muon(**kwargs):
muon_calculate_srq_size = Algorithm(
muon_calculate_srq_size_t,
name="muon_calculate_srq_size",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
dev_event_list_t=dev_event_list,
dev_muon_raw_t=muon_banks.dev_raw_banks_t,
dev_muon_raw_offsets_t=muon_banks.dev_raw_offsets_t)
......@@ -44,7 +44,7 @@ def is_muon(**kwargs):
muon_populate_tile_and_tdc = Algorithm(
muon_populate_tile_and_tdc_t,
name="muon_populate_tile_and_tdc",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_muon_total_number_of_tiles_t=muon_srq_prefix_sum.
host_total_sum_holder_t,
dev_event_list_t=dev_event_list,
......@@ -57,7 +57,7 @@ def is_muon(**kwargs):
muon_add_coords_crossing_maps = Algorithm(
muon_add_coords_crossing_maps_t,
name="muon_add_coords_crossing_maps",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_muon_total_number_of_tiles_t=muon_srq_prefix_sum.
host_total_sum_holder_t,
dev_storage_station_region_quarter_offsets_t=muon_srq_prefix_sum.
......@@ -74,7 +74,7 @@ def is_muon(**kwargs):
muon_populate_hits = Algorithm(
muon_populate_hits_t,
name="muon_populate_hits",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_muon_total_number_of_hits_t=muon_station_ocurrence_prefix_sum.
host_total_sum_holder_t,
dev_storage_tile_id_t=muon_populate_tile_and_tdc.dev_storage_tile_id_t,
......@@ -91,7 +91,7 @@ def is_muon(**kwargs):
is_muon = Algorithm(
is_muon_t,
name="is_muon",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_number_of_reconstructed_scifi_tracks_t=
host_number_of_reconstructed_scifi_tracks,
dev_offsets_forward_tracks_t=dev_offsets_forward_tracks,
......
......@@ -12,8 +12,8 @@ def run_velo_kalman_filter(**kwargs):
"host_number_of_reconstructed_velo_tracks"]
initalized_lists = initialize_lists(**kwargs)
host_number_of_selected_events = initalized_lists[
"host_number_of_selected_events"]
host_number_of_events = initalized_lists[
"host_number_of_events"]
dev_velo_states = velo_tracks["dev_velo_states"]
dev_offsets_all_velo_tracks = velo_tracks["dev_offsets_all_velo_tracks"]
dev_offsets_velo_track_hit_number = velo_tracks[
......@@ -25,7 +25,7 @@ def run_velo_kalman_filter(**kwargs):
name="velo_kalman_filter",
host_number_of_reconstructed_velo_tracks_t=
host_number_of_reconstructed_velo_tracks,
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
dev_offsets_all_velo_tracks_t=dev_offsets_all_velo_tracks,
dev_offsets_velo_track_hit_number_t=dev_offsets_velo_track_hit_number,
dev_velo_track_hits_t=dev_velo_track_hits,
......@@ -39,8 +39,8 @@ def run_velo_kalman_filter(**kwargs):
def make_pvs(**kwargs):
initalized_lists = initialize_lists(**kwargs)
host_number_of_selected_events = initalized_lists[
"host_number_of_selected_events"]
host_number_of_events = initalized_lists[
"host_number_of_events"]
dev_event_list = initalized_lists["dev_event_list"]
velo_tracks = make_velo_tracks(**kwargs)
......@@ -59,7 +59,7 @@ def make_pvs(**kwargs):
name="pv_beamline_extrapolate",
host_number_of_reconstructed_velo_tracks_t=
host_number_of_reconstructed_velo_tracks,
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
dev_velo_kalman_beamline_states_t=velo_kalman_filter[
"dev_velo_kalman_beamline_states"],
dev_offsets_all_velo_tracks_t=dev_offsets_all_velo_tracks,
......@@ -68,7 +68,7 @@ def make_pvs(**kwargs):
pv_beamline_histo = Algorithm(
pv_beamline_histo_t,
name="pv_beamline_histo",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
dev_offsets_all_velo_tracks_t=dev_offsets_all_velo_tracks,
dev_offsets_velo_track_hit_number_t=dev_offsets_velo_track_hit_number,
dev_pvtracks_t=pv_beamline_extrapolate.dev_pvtracks_t)
......@@ -76,13 +76,13 @@ def make_pvs(**kwargs):
pv_beamline_peak = Algorithm(
pv_beamline_peak_t,
name="pv_beamline_peak",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
dev_zhisto_t=pv_beamline_histo.dev_zhisto_t)
pv_beamline_calculate_denom = Algorithm(
pv_beamline_calculate_denom_t,
name="pv_beamline_calculate_denom",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_number_of_reconstructed_velo_tracks_t=
host_number_of_reconstructed_velo_tracks,
dev_offsets_all_velo_tracks_t=dev_offsets_all_velo_tracks,
......@@ -94,7 +94,7 @@ def make_pvs(**kwargs):
pv_beamline_multi_fitter = Algorithm(
pv_beamline_multi_fitter_t,
name="pv_beamline_multi_fitter",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_number_of_reconstructed_velo_tracks_t=
host_number_of_reconstructed_velo_tracks,
dev_offsets_all_velo_tracks_t=dev_offsets_all_velo_tracks,
......@@ -108,7 +108,7 @@ def make_pvs(**kwargs):
pv_beamline_cleanup = Algorithm(
pv_beamline_cleanup_t,
name="pv_beamline_cleanup",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
dev_multi_fit_vertices_t=pv_beamline_multi_fitter.
dev_multi_fit_vertices_t,
dev_number_of_multi_fit_vertices_t=pv_beamline_multi_fitter.
......
......@@ -8,8 +8,8 @@ from VeloSequence import initialize_lists, make_velo_tracks
def make_ut_tracks(restricted=True, **kwargs):
initalized_lists = initialize_lists(**kwargs)
host_number_of_selected_events_t = initalized_lists[
"host_number_of_selected_events"]
host_number_of_events_t = initalized_lists[
"host_number_of_events"]
dev_event_list_t = initalized_lists["dev_event_list"]
velo_tracks = make_velo_tracks(**kwargs)
......@@ -28,7 +28,7 @@ def make_ut_tracks(restricted=True, **kwargs):
name="ut_calculate_number_of_hits",
dev_ut_raw_input_t=ut_banks.dev_raw_banks_t,
dev_ut_raw_input_offsets_t=ut_banks.dev_raw_offsets_t,
host_number_of_selected_events_t=host_number_of_selected_events_t,
host_number_of_events_t=host_number_of_events_t,
dev_event_list_t=dev_event_list_t)
prefix_sum_ut_hits = Algorithm(
......@@ -39,7 +39,7 @@ def make_ut_tracks(restricted=True, **kwargs):
ut_pre_decode = Algorithm(
ut_pre_decode_t,
name="ut_pre_decode",
host_number_of_selected_events_t=host_number_of_selected_events_t,
host_number_of_events_t=host_number_of_events_t,
host_accumulated_number_of_ut_hits_t=prefix_sum_ut_hits.
host_total_sum_holder_t,
dev_ut_raw_input_t=ut_banks.dev_raw_banks_t,
......@@ -50,7 +50,7 @@ def make_ut_tracks(restricted=True, **kwargs):
ut_find_permutation = Algorithm(
ut_find_permutation_t,
name="ut_find_permutation",
host_number_of_selected_events_t=host_number_of_selected_events_t,
host_number_of_events_t=host_number_of_events_t,
host_accumulated_number_of_ut_hits_t=prefix_sum_ut_hits.
host_total_sum_holder_t,
dev_ut_pre_decoded_hits_t=ut_pre_decode.dev_ut_pre_decoded_hits_t,
......@@ -59,7 +59,7 @@ def make_ut_tracks(restricted=True, **kwargs):
ut_decode_raw_banks_in_order = Algorithm(
ut_decode_raw_banks_in_order_t,
name="ut_decode_raw_banks_in_order",
host_number_of_selected_events_t=host_number_of_selected_events_t,
host_number_of_events_t=host_number_of_events_t,
host_accumulated_number_of_ut_hits_t=prefix_sum_ut_hits.
host_total_sum_holder_t,
dev_ut_raw_input_t=ut_banks.dev_raw_banks_t,
......@@ -73,7 +73,7 @@ def make_ut_tracks(restricted=True, **kwargs):
ut_select_velo_tracks = Algorithm(
ut_select_velo_tracks_t,
name="ut_select_velo_tracks",
host_number_of_selected_events_t=host_number_of_selected_events_t,
host_number_of_events_t=host_number_of_events_t,
host_number_of_reconstructed_velo_tracks_t=
host_number_of_reconstructed_velo_tracks_t,
dev_offsets_all_velo_tracks_t=dev_offsets_all_velo_tracks_t,
......@@ -97,7 +97,7 @@ def make_ut_tracks(restricted=True, **kwargs):
ut_search_windows = Algorithm(
ut_search_windows_t,
name="ut_search_windows",
host_number_of_selected_events_t=host_number_of_selected_events_t,
host_number_of_events_t=host_number_of_events_t,
host_number_of_reconstructed_velo_tracks_t=
host_number_of_reconstructed_velo_tracks_t,
dev_ut_hits_t=ut_decode_raw_banks_in_order.dev_ut_hits_t,
......@@ -115,7 +115,7 @@ def make_ut_tracks(restricted=True, **kwargs):
ut_select_velo_tracks_with_windows = Algorithm(
ut_select_velo_tracks_with_windows_t,
name="ut_select_velo_tracks_with_windows",
host_number_of_selected_events_t=host_number_of_selected_events_t,
host_number_of_events_t=host_number_of_events_t,
host_number_of_reconstructed_velo_tracks_t=
host_number_of_reconstructed_velo_tracks_t,
dev_offsets_all_velo_tracks_t=dev_offsets_all_velo_tracks_t,
......@@ -131,7 +131,7 @@ def make_ut_tracks(restricted=True, **kwargs):
compass_ut = Algorithm(
compass_ut_t,
name="compass_ut",
host_number_of_selected_events_t=host_number_of_selected_events_t,
host_number_of_events_t=host_number_of_events_t,
dev_ut_hits_t=ut_decode_raw_banks_in_order.dev_ut_hits_t,
dev_ut_hit_offsets_t=prefix_sum_ut_hits.dev_output_buffer_t,
dev_offsets_all_velo_tracks_t=dev_offsets_all_velo_tracks_t,
......@@ -156,7 +156,7 @@ def make_ut_tracks(restricted=True, **kwargs):
ut_copy_track_hit_number = Algorithm(
ut_copy_track_hit_number_t,
name="ut_copy_track_hit_number",
host_number_of_selected_events_t=host_number_of_selected_events_t,
host_number_of_events_t=host_number_of_events_t,
host_number_of_reconstructed_ut_tracks_t=prefix_sum_ut_tracks.
host_total_sum_holder_t,
dev_ut_tracks_t=compass_ut.dev_ut_tracks_t,
......@@ -174,7 +174,7 @@ def make_ut_tracks(restricted=True, **kwargs):
host_total_sum_holder_t,
host_number_of_reconstructed_ut_tracks_t=prefix_sum_ut_tracks.
host_total_sum_holder_t,
host_number_of_selected_events_t=host_number_of_selected_events_t,
host_number_of_events_t=host_number_of_events_t,
host_accumulated_number_of_hits_in_ut_tracks_t=
prefix_sum_ut_track_hit_number.host_total_sum_holder_t,
dev_ut_hits_t=ut_decode_raw_banks_in_order.dev_ut_hits_t,
......
......@@ -31,8 +31,8 @@ def initialize_lists(doGEC=True, **kwargs):
host_scifi_raw_offsets_t=host_scifi_banks.host_raw_offsets_t)
return {
"host_number_of_selected_events":
initialize_lists.host_number_of_selected_events_t,
"host_number_of_events":
initialize_lists.host_number_of_events_t,
"dev_event_list":
initialize_lists.dev_event_list_t
}
......@@ -40,8 +40,8 @@ def initialize_lists(doGEC=True, **kwargs):
def decode_velo(**kwargs):
initalized_lists = initialize_lists(**kwargs)
host_number_of_selected_events = initalized_lists[
"host_number_of_selected_events"]
host_number_of_events = initalized_lists[
"host_number_of_events"]
dev_event_list = initalized_lists["dev_event_list"]
velo_banks = Algorithm(data_provider_t, name="velo_banks", bank_type="VP")
......@@ -49,7 +49,7 @@ def decode_velo(**kwargs):
velo_calculate_number_of_candidates = Algorithm(
velo_calculate_number_of_candidates_t,
name="velo_calculate_number_of_candidates",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
dev_event_list_t=dev_event_list,
dev_velo_raw_input_t=velo_banks.dev_raw_banks_t,
dev_velo_raw_input_offsets_t=velo_banks.dev_raw_offsets_t)
......@@ -63,7 +63,7 @@ def decode_velo(**kwargs):
velo_estimate_input_size = Algorithm(
velo_estimate_input_size_t,
name="velo_estimate_input_size",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_number_of_cluster_candidates_t=prefix_sum_offsets_velo_candidates.
host_total_sum_holder_t,
dev_event_list_t=dev_event_list,
......@@ -82,7 +82,7 @@ def decode_velo(**kwargs):
name="velo_masked_clustering",
host_total_number_of_velo_clusters_t=
prefix_sum_offsets_estimated_input_size.host_total_sum_holder_t,
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
dev_velo_raw_input_t=velo_banks.dev_raw_banks_t,
dev_velo_raw_input_offsets_t=velo_banks.dev_raw_offsets_t,
dev_offsets_estimated_input_size_t=
......@@ -109,8 +109,8 @@ def decode_velo(**kwargs):
def make_velo_tracks(**kwargs):
initalized_lists = initialize_lists(**kwargs)
host_number_of_selected_events = initalized_lists[
"host_number_of_selected_events"]
host_number_of_events = initalized_lists[
"host_number_of_events"]
dev_event_list = initalized_lists["dev_event_list"]
decoded_velo = decode_velo(**kwargs)
......@@ -124,7 +124,7 @@ def make_velo_tracks(**kwargs):
velo_calculate_phi_and_sort = Algorithm(
velo_calculate_phi_and_sort_t,
name="velo_calculate_phi_and_sort",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_total_number_of_velo_clusters_t=host_total_number_of_velo_clusters,
dev_offsets_estimated_input_size_t=dev_offsets_estimated_input_size,
dev_module_cluster_num_t=dev_module_cluster_num,
......@@ -133,7 +133,7 @@ def make_velo_tracks(**kwargs):
velo_search_by_triplet = Algorithm(
velo_search_by_triplet_t,
name="velo_search_by_triplet",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_total_number_of_velo_clusters_t=host_total_number_of_velo_clusters,
dev_sorted_velo_cluster_container_t=velo_calculate_phi_and_sort.
dev_sorted_velo_cluster_container_t,
......@@ -149,7 +149,7 @@ def make_velo_tracks(**kwargs):
velo_three_hit_tracks_filter = Algorithm(
velo_three_hit_tracks_filter_t,
name="velo_three_hit_tracks_filter",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
dev_sorted_velo_cluster_container_t=velo_calculate_phi_and_sort.
dev_sorted_velo_cluster_container_t,
dev_offsets_estimated_input_size_t=dev_offsets_estimated_input_size,
......@@ -167,7 +167,7 @@ def make_velo_tracks(**kwargs):
velo_copy_track_hit_number = Algorithm(
velo_copy_track_hit_number_t,
name="velo_copy_track_hit_number",
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
host_number_of_velo_tracks_at_least_four_hits_t=
prefix_sum_offsets_velo_tracks.host_total_sum_holder_t,
host_number_of_three_hit_tracks_filtered_t=
......@@ -196,7 +196,7 @@ def make_velo_tracks(**kwargs):
host_number_of_three_hit_tracks_filtered_t=
prefix_sum_offsets_number_of_three_hit_tracks_filtered.
host_total_sum_holder_t,
host_number_of_selected_events_t=host_number_of_selected_events,
host_number_of_events_t=host_number_of_events,
dev_offsets_all_velo_tracks_t=velo_copy_track_hit_number.
dev_offsets_all_velo_tracks_t,
dev_tracks_t=velo_search_by_triplet.dev_tracks_t,
......
......@@ -123,39 +123,39 @@ private:
size_t m_size = 0;
char* m_offset = nullptr;
};
struct initialize_lists__host_number_of_selected_events_t
: host_global_event_cut::Parameters::host_number_of_selected_events_t,
velo_calculate_number_of_candidates::Parameters::host_number_of_selected_events_t,
velo_estimate_input_size::Parameters::host_number_of_selected_events_t,
velo_masked_clustering::Parameters::host_number_of_selected_events_t,
velo_calculate_phi_and_sort::Parameters::host_number_of_selected_events_t,
velo_search_by_triplet::Parameters::host_number_of_selected_events_t,
velo_three_hit_tracks_filter::Parameters::host_number_of_selected_events_t,
velo_copy_track_hit_number::Parameters::host_number_of_selected_events_t,
velo_consolidate_tracks::Parameters::host_number_of_selected_events_t,
ut_calculate_number_of_hits::Parameters::host_number_of_selected_events_t,
ut_pre_decode::Parameters::host_number_of_selected_events_t,
ut_find_permutation::Parameters::host_number_of_selected_events_t,
ut_decode_raw_banks_in_order::Parameters::host_number_of_selected_events_t,
ut_select_velo_tracks::Parameters::host_number_of_selected_events_t,
ut_search_windows::Parameters::host_number_of_selected_events_t,
ut_select_velo_tracks_with_windows::Parameters::host_number_of_selected_events_t,
compass_ut::Parameters::host_number_of_selected_events_t,
ut_copy_track_hit_number::Parameters::host_number_of_selected_events_t,
ut_consolidate_tracks::Parameters::host_number_of_selected_events_t,
scifi_calculate_cluster_count_v4::Parameters::host_number_of_selected_events_t,
scifi_pre_decode_v4::Parameters::host_number_of_selected_events_t,
scifi_raw_bank_decoder_v4::Parameters::host_number_of_selected_events_t,
lf_search_initial_windows::Parameters::host_number_of_selected_events_t,
lf_triplet_seeding::Parameters::host_number_of_selected_events_t,
lf_create_tracks::Parameters::host_number_of_selected_events_t,
lf_quality_filter_length::Parameters::host_number_of_selected_events_t,
lf_quality_filter::Parameters::host_number_of_selected_events_t,
scifi_copy_track_hit_number::Parameters::host_number_of_selected_events_t,
scifi_consolidate_tracks::Parameters::host_number_of_selected_events_t {
void set_size(size_t size) override { m_size = size; }
size_t size() const override { return m_size; }
std::string name() const override { return "initialize_lists__host_number_of_selected_events_t"; }
struct initialize_lists__host_number_of_events_t
: host_global_event_cut::Parameters::host_number_of_events_t,
velo_calculate_number_of_candidates::Parameters::host_number_of_events_t,
velo_estimate_input_size::Parameters::host_number_of_events_t,
velo_masked_clustering::Parameters::host_number_of_events_t,
velo_calculate_phi_and_sort::Parameters::host_number_of_events_t,
velo_search_by_triplet::Parameters::host_number_of_events_t,
velo_three_hit_tracks_filter::Parameters::host_number_of_events_t,
velo_copy_track_hit_number::Parameters::host_number_of_events_t,
velo_consolidate_tracks::Parameters::host_number_of_events_t,
ut_calculate_number_of_hits::Parameters::host_number_of_events_t,
ut_pre_decode::Parameters::host_number_of_events_t,
ut_find_permutation::Parameters::host_number_of_events_t,
ut_decode_raw_banks_in_order::Parameters::host_number_of_events_t,
ut_select_velo_tracks::Parameters::host_number_of_events_t,
ut_search_windows::Parameters::host_number_of_events_t,
ut_select_velo_tracks_with_windows::Parameters::host_number_of_events_t,
compass_ut::Parameters::host_number_of_events_t,
ut_copy_track_hit_number::Parameters::host_number_of_events_t,
ut_consolidate_tracks::Parameters::host_number_of_events_t,
scifi_calculate_cluster_count_v4::Parameters::host_number_of_events_t,
scifi_pre_decode_v4::Parameters::host_number_of_events_t,
scifi_raw_bank_decoder_v4::Parameters::host_number_of_events_t,
lf_search_initial_windows::Parameters::host_number_of_events_t,
lf_triplet_seeding::Parameters::host_number_of_events_t,
lf_create_tracks::Parameters::host_number_of_events_t,
lf_quality_filter_length::Parameters::host_number_of_events_t,
lf_quality_filter::Parameters::host_number_of_events_t,
scifi_copy_track_hit_number::Parameters::host_number_of_events_t,
scifi_consolidate_tracks::Parameters::host_number_of_events_t {
void set_size(size_t size) override { m_size = size; }
size_t size() const override { return m_size; }
std::string name() const override { return "initialize_lists__host_number_of_events_t"; }
void set_offset(char* offset) override { m_offset = offset; }
char* offset() const override { return m_offset; }
......@@ -1524,7 +1524,7 @@ using configured_arguments_t = std::tuple<
host_scifi_banks__host_raw_offsets_t,
initialize_lists__host_total_number_of_events_t,
initialize_lists__host_event_list_t,
initialize_lists__host_number_of_selected_events_t,
initialize_lists__host_number_of_events_t,
initialize_lists__dev_event_list_t,
velo_banks__dev_raw_banks_t,
velo_banks__dev_raw_offsets_t,
......@@ -1681,11 +1681,11 @@ using configured_sequence_arguments_t = std::tuple<
host_scifi_banks__host_raw_offsets_t,
initialize_lists__host_total_number_of_events_t,
initialize_lists__host_event_list_t,
initialize_lists__host_number_of_selected_events_t,
initialize_lists__host_number_of_events_t,
initialize_lists__dev_event_list_t>,
std::tuple<velo_banks__dev_raw_banks_t, velo_banks__dev_raw_offsets_t>,
std::tuple<
initialize_lists__host_number_of_selected_events_t,
initialize_lists__host_number_of_events_t,
initialize_lists__dev_event_list_t,
velo_banks__dev_raw_banks_t,
velo_banks__dev_raw_offsets_t,
......@@ -1695,7 +1695,7 @@ using configured_sequence_arguments_t = std::tuple<
velo_calculate_number_of_candidates__dev_number_of_candidates_t,
prefix_sum_offsets_velo_candidates__dev_output_buffer_t>,
std::tuple<
initialize_lists__host_number_of_selected_events_t,
initialize_lists__host_number_of_events_t,
prefix_sum_offsets_velo_candidates__host_total_sum_holder_t,
initialize_lists__dev_event_list_t,
prefix_sum_offsets_velo_candidates__dev_output_buffer_t,
......@@ -1710,7 +1710,7 @@ using configured_sequence_arguments_t = std::tuple<
prefix_sum_offsets_estimated_input_size__dev_output_buffer_t>,