#include <binnor.h>
Classes | |
struct | B_pair |
struct | C_pair |
Public Member Functions | |
void | begin_registration (C n_items) |
binnor (const A1 &a1, const A2 &a2, bool radix=true, bool keep_cons=false) | |
void | finalize_registration () |
C_pair | get_content (B_pair n_bin) const |
C_pair | get_content (typename A1::index_t n1, typename A2::index_t n2) const |
C_pair | get_content (typename A1::real_t r1, typename A2::real_t r2) const |
B_pair | get_n_bin (typename A1::index_t n1, typename A2::index_t n2) const |
B_pair | get_n_bin (typename A1::real_t r1, typename A2::real_t r2) const |
B_pair | m_bin_to_n_bin (B_pair m_bin) |
C_pair & | ref_content (B_pair n_bin) |
void | register_entry (B_pair bp) |
void | register_entry (typename A1::real_t r1, typename A2::real_t r2) |
void | register_entry_safe (typename A1::real_t r1, typename A2::real_t r2) |
void | register_m_bins (typename A1::index_t m1, typename A2::index_t m2) |
void | reset_contents (bool shrink_vectors=true) |
Public Attributes | |
const A1 & | m_a1 |
const A2 & | m_a2 |
std::vector< C_pair > | m_bins |
std::vector< B_pair > | m_cons |
std::vector< unsigned int > | m_cons_masked |
const bool | m_do_masked |
const bool | m_keep_cons |
const bool | m_radix_sort |
std::vector< C > | m_ranks |
Static Public Attributes | |
static constexpr unsigned int | c_A1_mask = (1 << A1::c_M) - 1 |
static constexpr unsigned int | c_A2_Mout_mask = ~(((1 << A2::c_M2N_shift) - 1) << A1::c_M) |
|
inline |
|
inline |
Definition at line 264 of file binnor.h.
Referenced by mkfit::LayerOfHits::beginRegistrationOfHits(), mkfit::StdSeq::clean_cms_seedtracks_iter(), mkfit::MkBuilder::import_seeds(), and mkfit::LayerOfHits::suckInHits().
|
inline |
Definition at line 289 of file binnor.h.
Referenced by mkfit::StdSeq::clean_cms_seedtracks_iter(), mkfit::LayerOfHits::endRegistrationOfHits(), mkfit::MkBuilder::import_seeds(), and mkfit::LayerOfHits::suckInHits().
|
inline |
Definition at line 240 of file binnor.h.
Referenced by mkfit::StdSeq::clean_cms_seedtracks_iter(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::get_content(), mkfit::LayerOfHits::phiQBinContent(), and mkfit::LayerOfHits::printBins().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 226 of file binnor.h.
Referenced by mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::finalize_registration().
|
inline |
Definition at line 238 of file binnor.h.
Referenced by mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::finalize_registration().
|
inline |
Definition at line 271 of file binnor.h.
Referenced by mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::register_entry(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::register_entry_safe(), and mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::register_m_bins().
|
inline |
|
inline |
Definition at line 282 of file binnor.h.
Referenced by mkfit::StdSeq::clean_cms_seedtracks_iter(), mkfit::MkBuilder::import_seeds(), mkfit::LayerOfHits::registerHit(), and mkfit::LayerOfHits::suckInHits().
|
inline |
|
inline |
Definition at line 252 of file binnor.h.
Referenced by mkfit::LayerOfHits::beginRegistrationOfHits(), and mkfit::LayerOfHits::suckInHits().
|
static |
Definition at line 176 of file binnor.h.
Referenced by mkfit::binnor< C, A1, A2, NB_first, NB_count >::B_pair::bin1().
|
static |
Definition at line 177 of file binnor.h.
Referenced by mkfit::binnor< C, A1, A2, NB_first, NB_count >::B_pair::mask_A2_M_bins().
const A1& mkfit::binnor< C, A1, A2, NB_first, NB_count >::m_a1 |
Definition at line 206 of file binnor.h.
Referenced by mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::get_content(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::get_n_bin(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::m_bin_to_n_bin(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::ref_content(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::register_entry(), and mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::register_entry_safe().
const A2& mkfit::binnor< C, A1, A2, NB_first, NB_count >::m_a2 |
Definition at line 207 of file binnor.h.
Referenced by mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::get_content(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::get_n_bin(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::m_bin_to_n_bin(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::register_entry(), and mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::register_entry_safe().
std::vector<C_pair> mkfit::binnor< C, A1, A2, NB_first, NB_count >::m_bins |
std::vector<B_pair> mkfit::binnor< C, A1, A2, NB_first, NB_count >::m_cons |
Definition at line 208 of file binnor.h.
Referenced by mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::begin_registration(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::finalize_registration(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::register_entry(), and mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::reset_contents().
std::vector<unsigned int> mkfit::binnor< C, A1, A2, NB_first, NB_count >::m_cons_masked |
Definition at line 209 of file binnor.h.
Referenced by mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::begin_registration(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::finalize_registration(), and mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::register_entry().
const bool mkfit::binnor< C, A1, A2, NB_first, NB_count >::m_do_masked |
Definition at line 214 of file binnor.h.
Referenced by mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::begin_registration(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::finalize_registration(), and mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::register_entry().
const bool mkfit::binnor< C, A1, A2, NB_first, NB_count >::m_keep_cons |
Definition at line 213 of file binnor.h.
Referenced by mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::begin_registration(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::finalize_registration(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::register_entry(), and mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::reset_contents().
const bool mkfit::binnor< C, A1, A2, NB_first, NB_count >::m_radix_sort |
Definition at line 212 of file binnor.h.
Referenced by mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::finalize_registration().
std::vector<C> mkfit::binnor< C, A1, A2, NB_first, NB_count >::m_ranks |
Definition at line 211 of file binnor.h.
Referenced by mkfit::StdSeq::clean_cms_seedtracks_iter(), mkfit::LayerOfHits::endRegistrationOfHits(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::finalize_registration(), mkfit::LayerOfHits::getOriginalHitIndex(), mkfit::MkBuilder::import_seeds(), mkfit::binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 >::reset_contents(), and mkfit::LayerOfHits::suckInHits().