#include <HitStructures.h>
Classes | |
struct | HitInfo |
struct | Initializator |
Public Types | |
using | axis_eta_t = axis< float, bin_index_t, 16, 8 > |
using | axis_phi_t = axis_pow2_u1< float, bin_index_t, 16, 8 > |
using | bin_content_t = unsigned int |
using | bin_index_t = unsigned short |
using | binnor_t = binnor< bin_content_t, axis_phi_t, axis_eta_t, 18, 14 > |
Public Member Functions | |
void | beginRegistrationOfHits (const HitVec &hitv) |
void | endRegistrationOfHits (bool build_original_to_internal_map) |
unsigned int | getHitIndexFromOriginal (unsigned int i) const |
unsigned int | getOriginalHitIndex (unsigned int i) const |
float | hit_phi (unsigned int i) const |
float | hit_q (unsigned int i) const |
const Hit * | hitArray () const |
bool | is_barrel () const |
bool | is_endcap () const |
bool | is_pixel () const |
bool | is_stereo () const |
bool | is_within_r_limits (float r) const |
WSR_Result | is_within_r_sensitive_region (float r, float dr) const |
bool | is_within_z_limits (float z) const |
WSR_Result | is_within_z_sensitive_region (float z, float dz) const |
bool | isBinDead (bin_index_t pi, bin_index_t qi) const |
int | layer_id () const |
const LayerInfo * | layer_info () const |
LayerOfHits (const LayerOfHits::Initializator &i) | |
unsigned int | nHits () const |
bin_index_t | phiBin (float phi) const |
bin_index_t | phiBinChecked (float phi) const |
bin_index_t | phiMaskApply (bin_index_t in) const |
binnor_t::C_pair | phiQBinContent (bin_index_t pi, bin_index_t qi) const |
void | printBins () |
bin_index_t | qBin (float q) const |
bin_index_t | qBinChecked (float q) const |
const Hit & | refHit (int i) const |
void | registerHit (unsigned int idx) |
void | reset () |
int | subdet () const |
void | suckInDeads (const DeadVec &deadv) |
void | suckInHits (const HitVec &hitv) |
~LayerOfHits () | |
Private Attributes | |
axis_eta_t | m_ax_eta |
axis_phi_t | m_ax_phi |
binnor_t | m_binnor |
std::vector< bool > | m_dead_bins |
const HitVec * | m_ext_hits |
std::vector< unsigned int > | m_ext_idcs |
std::vector< HitInfo > | m_hit_infos |
std::vector< float > | m_hit_phis |
std::vector< float > | m_hit_qs |
unsigned int * | m_hit_ranks = nullptr |
bool | m_is_barrel |
const LayerInfo * | m_layer_info = nullptr |
unsigned int | m_max_ext_idx |
unsigned int | m_min_ext_idx |
unsigned int | m_n_hits = 0 |
Definition at line 24 of file HitStructures.h.
using mkfit::LayerOfHits::axis_eta_t = axis<float, bin_index_t, 16, 8> |
Definition at line 29 of file HitStructures.h.
using mkfit::LayerOfHits::axis_phi_t = axis_pow2_u1<float, bin_index_t, 16, 8> |
Definition at line 28 of file HitStructures.h.
using mkfit::LayerOfHits::bin_content_t = unsigned int |
Definition at line 27 of file HitStructures.h.
using mkfit::LayerOfHits::bin_index_t = unsigned short |
Definition at line 26 of file HitStructures.h.
using mkfit::LayerOfHits::binnor_t = binnor<bin_content_t, axis_phi_t, axis_eta_t, 18, 14> |
Definition at line 30 of file HitStructures.h.
mkfit::LayerOfHits::LayerOfHits | ( | const LayerOfHits::Initializator & | i | ) |
Definition at line 33 of file HitStructures.cc.
References mps_fire::i, mkfit::LayerInfo::is_barrel(), m_ax_eta, m_ax_phi, m_dead_bins, m_is_barrel, m_layer_info, mkfit::axis_pow2_base< R, I, M, N >::size_of_N(), and mkfit::axis< R, I, M, N >::size_of_N().
mkfit::LayerOfHits::~LayerOfHits | ( | ) |
Definition at line 44 of file HitStructures.cc.
void mkfit::LayerOfHits::beginRegistrationOfHits | ( | const HitVec & | hitv | ) |
Definition at line 132 of file HitStructures.cc.
References mkfit::binnor< C, A1, A2, NB_first, NB_count >::begin_registration(), m_binnor, m_ext_hits, m_ext_idcs, m_hit_infos, m_max_ext_idx, m_min_ext_idx, m_n_hits, SiStripPI::max, SiStripPI::min, and mkfit::binnor< C, A1, A2, NB_first, NB_count >::reset_contents().
void mkfit::LayerOfHits::endRegistrationOfHits | ( | bool | build_original_to_internal_map | ) |
Definition at line 161 of file HitStructures.cc.
References mkfit::binnor< C, A1, A2, NB_first, NB_count >::finalize_registration(), mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, m_binnor, m_ext_idcs, m_hit_infos, m_hit_phis, m_hit_qs, m_hit_ranks, m_max_ext_idx, m_min_ext_idx, m_n_hits, mkfit::binnor< C, A1, A2, NB_first, NB_count >::m_ranks, and mkfit::Config::usePhiQArrays.
|
inline |
Definition at line 89 of file HitStructures.h.
References mps_fire::i, m_ext_idcs, and m_min_ext_idx.
|
inline |
Definition at line 91 of file HitStructures.h.
References mps_fire::i, m_binnor, and mkfit::binnor< C, A1, A2, NB_first, NB_count >::m_ranks.
|
inline |
|
inline |
|
inline |
Definition at line 98 of file HitStructures.h.
References m_ext_hits.
Referenced by mkfit::MkFinder::addBestHit(), mkfit::MkFinder::findCandidates(), and mkfit::MkFinder::findCandidatesCloneEngine().
|
inline |
Definition at line 109 of file HitStructures.h.
References m_is_barrel.
Referenced by mkfit::MkFinder::findCandidates(), mkfit::MkFinder::findCandidatesCloneEngine(), and printBins().
|
inline |
|
inline |
Definition at line 124 of file HitStructures.h.
References mkfit::LayerInfo::is_pixel(), and m_layer_info.
Referenced by mkfit::MkFinder::findCandidates(), and mkfit::MkFinder::findCandidatesCloneEngine().
|
inline |
Definition at line 123 of file HitStructures.h.
References mkfit::LayerInfo::is_stereo(), and m_layer_info.
|
inline |
Definition at line 113 of file HitStructures.h.
References mkfit::LayerInfo::is_within_r_limits(), m_layer_info, and alignCSCRings::r.
|
inline |
Definition at line 119 of file HitStructures.h.
References flavorHistoryFilter_cfi::dr, mkfit::LayerInfo::is_within_r_sensitive_region(), m_layer_info, and alignCSCRings::r.
|
inline |
Definition at line 112 of file HitStructures.h.
References mkfit::LayerInfo::is_within_z_limits(), and m_layer_info.
|
inline |
Definition at line 115 of file HitStructures.h.
References PVValHelper::dz, mkfit::LayerInfo::is_within_z_sensitive_region(), and m_layer_info.
|
inline |
Definition at line 83 of file HitStructures.h.
References m_ax_phi, m_dead_bins, pi, and mkfit::axis_pow2_base< R, I, M, N >::size_of_N().
|
inline |
Definition at line 107 of file HitStructures.h.
References mkfit::LayerInfo::layer_id(), and m_layer_info.
Referenced by mkfit::MkFinder::addBestHit(), mkfit::MkFinder::findCandidates(), and mkfit::MkFinder::findCandidatesCloneEngine().
|
inline |
|
inline |
Definition at line 68 of file HitStructures.h.
References m_n_hits.
Referenced by mkfit::MkBuilder::find_tracks_in_layers(), mkfit::MkBuilder::findTracksBestHit(), and mkfit::MkBuilder::findTracksStandard().
|
inline |
Definition at line 76 of file HitStructures.h.
References mkfit::axis_base< R, I, M, N >::from_R_to_N_bin(), and m_ax_phi.
Referenced by suckInDeads().
|
inline |
Definition at line 77 of file HitStructures.h.
References mkfit::axis_pow2_u1< R, I, M, N >::from_R_to_N_bin_safe(), and m_ax_phi.
|
inline |
Definition at line 79 of file HitStructures.h.
References mkfit::axis_pow2_u1< R, I, M, N >::c_N_mask, recoMuon::in, and m_ax_phi.
Referenced by suckInDeads().
|
inline |
Definition at line 81 of file HitStructures.h.
References mkfit::binnor< C, A1, A2, NB_first, NB_count >::get_content(), m_binnor, and pi.
void mkfit::LayerOfHits::printBins | ( | ) |
Definition at line 227 of file HitStructures.cc.
References Skims_PA_cff::content, mkfit::binnor< C, A1, A2, NB_first, NB_count >::get_content(), is_barrel(), m_ax_eta, m_ax_phi, m_binnor, and mkfit::axis_base< R, I, M, N >::m_last_N_bin.
|
inline |
Definition at line 72 of file HitStructures.h.
References mkfit::axis_base< R, I, M, N >::from_R_to_N_bin(), m_ax_eta, and submitPVResolutionJobs::q.
|
inline |
Definition at line 73 of file HitStructures.h.
References mkfit::axis_base< R, I, M, N >::from_R_to_N_bin_safe(), m_ax_eta, and submitPVResolutionJobs::q.
Referenced by suckInDeads().
|
inline |
Definition at line 97 of file HitStructures.h.
References mps_fire::i, and m_ext_hits.
Referenced by mkfit::MkFinder::addBestHit(), mkfit::MkFinder::findCandidates(), mkfit::MkFinder::findCandidatesCloneEngine(), mkfit::findSeedsByRoadSearch(), mkfit::MkBuilder::findTracksStandard(), and mkfit::MkFinder::updateWithLastHit().
void mkfit::LayerOfHits::registerHit | ( | unsigned int | idx | ) |
Definition at line 145 of file HitStructures.cc.
References h, heavyIonCSV_trainingSettings::idx, m_binnor, m_ext_idcs, m_hit_infos, m_is_barrel, m_max_ext_idx, m_min_ext_idx, SiStripPI::max, SiStripPI::min, mkfit::binnor< C, A1, A2, NB_first, NB_count >::register_entry_safe(), and mkfit::Config::usePhiQArrays.
|
inline |
Definition at line 55 of file HitStructures.h.
|
inline |
Definition at line 125 of file HitStructures.h.
References m_layer_info, and mkfit::LayerInfo::subdet().
void mkfit::LayerOfHits::suckInDeads | ( | const DeadVec & | deadv | ) |
Definition at line 112 of file HitStructures.cc.
References ztail::d, m_ax_phi, m_dead_bins, phiBin(), phiMaskApply(), qBinChecked(), and mkfit::axis_pow2_base< R, I, M, N >::size_of_N().
void mkfit::LayerOfHits::suckInHits | ( | const HitVec & | hitv | ) |
Definition at line 64 of file HitStructures.cc.
References mkfit::binnor< C, A1, A2, NB_first, NB_count >::begin_registration(), mkfit::binnor< C, A1, A2, NB_first, NB_count >::finalize_registration(), h, mps_fire::i, dqmiolumiharvest::j, m_binnor, m_ext_hits, m_hit_infos, m_hit_phis, m_hit_qs, m_is_barrel, m_n_hits, mkfit::binnor< C, A1, A2, NB_first, NB_count >::m_ranks, mkfit::binnor< C, A1, A2, NB_first, NB_count >::register_entry_safe(), mkfit::binnor< C, A1, A2, NB_first, NB_count >::reset_contents(), and mkfit::Config::usePhiQArrays.
|
private |
Definition at line 129 of file HitStructures.h.
Referenced by LayerOfHits(), printBins(), qBin(), and qBinChecked().
|
private |
Definition at line 128 of file HitStructures.h.
Referenced by isBinDead(), LayerOfHits(), phiBin(), phiBinChecked(), phiMaskApply(), printBins(), and suckInDeads().
|
private |
Definition at line 130 of file HitStructures.h.
Referenced by beginRegistrationOfHits(), endRegistrationOfHits(), getOriginalHitIndex(), phiQBinContent(), printBins(), registerHit(), and suckInHits().
|
private |
Definition at line 147 of file HitStructures.h.
Referenced by isBinDead(), LayerOfHits(), and suckInDeads().
|
private |
Definition at line 139 of file HitStructures.h.
Referenced by beginRegistrationOfHits(), hitArray(), refHit(), and suckInHits().
|
private |
Definition at line 142 of file HitStructures.h.
Referenced by beginRegistrationOfHits(), endRegistrationOfHits(), getHitIndexFromOriginal(), and registerHit().
|
private |
Definition at line 162 of file HitStructures.h.
Referenced by beginRegistrationOfHits(), endRegistrationOfHits(), registerHit(), and suckInHits().
|
private |
Definition at line 150 of file HitStructures.h.
Referenced by endRegistrationOfHits(), hit_phi(), and suckInHits().
|
private |
Definition at line 151 of file HitStructures.h.
Referenced by endRegistrationOfHits(), hit_q(), and suckInHits().
|
private |
Definition at line 141 of file HitStructures.h.
Referenced by endRegistrationOfHits().
|
private |
Definition at line 155 of file HitStructures.h.
Referenced by is_barrel(), is_endcap(), LayerOfHits(), registerHit(), and suckInHits().
|
private |
Definition at line 154 of file HitStructures.h.
Referenced by is_pixel(), is_stereo(), is_within_r_limits(), is_within_r_sensitive_region(), is_within_z_limits(), is_within_z_sensitive_region(), layer_id(), layer_info(), LayerOfHits(), and subdet().
|
private |
Definition at line 143 of file HitStructures.h.
Referenced by beginRegistrationOfHits(), endRegistrationOfHits(), and registerHit().
|
private |
Definition at line 143 of file HitStructures.h.
Referenced by beginRegistrationOfHits(), endRegistrationOfHits(), getHitIndexFromOriginal(), and registerHit().
|
private |
Definition at line 144 of file HitStructures.h.
Referenced by beginRegistrationOfHits(), endRegistrationOfHits(), nHits(), and suckInHits().