@@ -31,6 +31,14 @@ truth_finding::truth_finding() : interface("Truth Track Finding Options") {
3131 " truth-finding-max-r" ,
3232 boost::program_options::value (&m_r_max)->default_value (m_r_max),
3333 " Candidate particle max r cut [mm]" );
34+ m_desc.add_options ()(
35+ " truth-finding-max-eta" ,
36+ boost::program_options::value (&m_eta_max)->default_value (m_eta_max),
37+ " Candidate particle max eta cut" );
38+ m_desc.add_options ()(" truth-finding-process-id" ,
39+ boost::program_options::value (&m_process_id)
40+ ->default_value (m_process_id),
41+ " Candidate particle is from a selected process" );
3442 m_desc.add_options ()(" truth-finding-min-track-candidates" ,
3543 boost::program_options::value (&m_min_track_candidates)
3644 ->default_value (m_min_track_candidates),
@@ -50,6 +58,8 @@ truth_finding::operator truth_matching_config() const {
5058 .z_min = m_z_min,
5159 .z_max = m_z_max,
5260 .r_max = m_r_max,
61+ .eta_max = m_eta_max,
62+ .process_id = m_process_id,
5363 .min_track_candidates = m_min_track_candidates};
5464}
5565
@@ -64,6 +74,10 @@ std::unique_ptr<configuration_printable> truth_finding::as_printable() const {
6474 " Maximum z" , std::format (" {} mm" , m_z_max / unit<float >::mm)));
6575 cat->add_child (std::make_unique<configuration_kv_pair>(
6676 " Maximum r" , std::format (" {} mm" , m_r_max / unit<float >::mm)));
77+ cat->add_child (std::make_unique<configuration_kv_pair>(
78+ " Maximum eta" , std::format (" {}" , m_eta_max)));
79+ cat->add_child (std::make_unique<configuration_kv_pair>(
80+ " Process ID" , std::format (" {}" , m_process_id)));
6781 cat->add_child (std::make_unique<configuration_kv_pair>(
6882 " Minimum track candidates" , std::format (" {}" , m_min_track_candidates)));
6983
0 commit comments