#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 |
const HitInfo & | hit_info (unsigned int i) const |
float | hit_phi (unsigned int i) const |
float | hit_q (unsigned int i) const |
float | hit_q_half_length (unsigned int i) const |
float | hit_qbar (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 |
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 151 of file HitStructures.cc.
References mkfit::binnor< C, A1, A2, NB_first, NB_count >::begin_registration(), m_binnor, m_ext_hits, and m_n_hits.
void mkfit::LayerOfHits::endRegistrationOfHits | ( | bool | build_original_to_internal_map | ) |
Definition at line 184 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_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 98 of file HitStructures.h.
References mps_fire::i, m_ext_idcs, and m_min_ext_idx.
|
inline |
Definition at line 100 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 |
|
inline |
|
inline |
|
inline |
Definition at line 107 of file HitStructures.h.
References m_ext_hits.
Referenced by mkfit::MkFinder::addBestHit(), mkfit::MkFinder::findCandidates(), and mkfit::MkFinder::findCandidatesCloneEngine().
|
inline |
Definition at line 118 of file HitStructures.h.
References m_is_barrel.
Referenced by mkfit::MkFinder::findCandidates(), mkfit::MkFinder::findCandidatesCloneEngine(), and printBins().
|
inline |
|
inline |
Definition at line 133 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 132 of file HitStructures.h.
References mkfit::LayerInfo::is_stereo(), and m_layer_info.
|
inline |
Definition at line 122 of file HitStructures.h.
References mkfit::LayerInfo::is_within_r_limits(), and m_layer_info.
|
inline |
Definition at line 128 of file HitStructures.h.
References mkfit::LayerInfo::is_within_r_sensitive_region(), and m_layer_info.
|
inline |
Definition at line 121 of file HitStructures.h.
References mkfit::LayerInfo::is_within_z_limits(), and m_layer_info.
|
inline |
Definition at line 124 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 116 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.
Referenced by mkfit::MkFinder::selectHitIndicesV2().
|
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 250 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 mkfit::MkFinder::selectHitIndicesV2(), and suckInDeads().
|
inline |
Definition at line 106 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::inputTracksAndHits().
void mkfit::LayerOfHits::registerHit | ( | unsigned int | idx | ) |
Definition at line 158 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, submitPVResolutionJobs::q, mkfit::binnor< C, A1, A2, NB_first, NB_count >::register_entry_safe(), mathSSE::sqrt(), and mkfit::Config::usePhiQArrays.
void mkfit::LayerOfHits::reset | ( | void | ) |
Definition at line 64 of file HitStructures.cc.
References m_binnor, 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().
|
inline |
Definition at line 134 of file HitStructures.h.
References m_layer_info, and mkfit::LayerInfo::subdet().
void mkfit::LayerOfHits::suckInDeads | ( | const DeadVec & | deadv | ) |
Definition at line 131 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 75 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_is_barrel, m_n_hits, mkfit::binnor< C, A1, A2, NB_first, NB_count >::m_ranks, submitPVResolutionJobs::q, mkfit::binnor< C, A1, A2, NB_first, NB_count >::register_entry_safe(), mathSSE::sqrt(), and mkfit::Config::usePhiQArrays.
|
private |
Definition at line 138 of file HitStructures.h.
Referenced by LayerOfHits(), printBins(), qBin(), and qBinChecked().
|
private |
Definition at line 137 of file HitStructures.h.
Referenced by isBinDead(), LayerOfHits(), phiBin(), phiBinChecked(), phiMaskApply(), printBins(), and suckInDeads().
|
private |
Definition at line 139 of file HitStructures.h.
Referenced by beginRegistrationOfHits(), endRegistrationOfHits(), getOriginalHitIndex(), phiQBinContent(), printBins(), registerHit(), reset(), and suckInHits().
|
private |
Definition at line 156 of file HitStructures.h.
Referenced by isBinDead(), LayerOfHits(), and suckInDeads().
|
private |
Definition at line 148 of file HitStructures.h.
Referenced by beginRegistrationOfHits(), hitArray(), refHit(), and suckInHits().
|
private |
Definition at line 151 of file HitStructures.h.
Referenced by endRegistrationOfHits(), getHitIndexFromOriginal(), registerHit(), and reset().
|
private |
Definition at line 163 of file HitStructures.h.
Referenced by endRegistrationOfHits(), hit_info(), hit_phi(), hit_q(), hit_q_half_length(), hit_qbar(), registerHit(), reset(), and suckInHits().
|
private |
Definition at line 150 of file HitStructures.h.
Referenced by endRegistrationOfHits().
|
private |
Definition at line 160 of file HitStructures.h.
Referenced by is_barrel(), is_endcap(), LayerOfHits(), registerHit(), and suckInHits().
|
private |
Definition at line 159 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 152 of file HitStructures.h.
Referenced by endRegistrationOfHits(), registerHit(), and reset().
|
private |
Definition at line 152 of file HitStructures.h.
Referenced by endRegistrationOfHits(), getHitIndexFromOriginal(), registerHit(), and reset().
|
private |
Definition at line 153 of file HitStructures.h.
Referenced by beginRegistrationOfHits(), endRegistrationOfHits(), nHits(), reset(), and suckInHits().