1 #ifndef RecoTracker_MkFitCore_interface_HitStructures_h 2 #define RecoTracker_MkFitCore_interface_HitStructures_h 11 class IterationParams;
39 void setup(
float qmin,
float qmax,
float dq);
93 #ifdef COPY_SORTED_HITS 94 const Hit&
refHit(
int i)
const {
return m_hits[
i]; }
132 #ifdef COPY_SORTED_HITS 133 void alloc_hits(
int size);
136 Hit* m_hits =
nullptr;
void endRegistrationOfHits(bool build_original_to_internal_map)
const LayerOfHits & operator[](int i) const
unsigned int getOriginalHitIndex(unsigned int i) const
void setup(float qmin, float qmax, float dq)
const BeamSpot & refBeamSpot() const
bool is_within_r_limits(float r) const
std::vector< float > m_hit_phis
WSR_Result is_within_r_sensitive_region(float r, float dr) const
bin_index_t qBinChecked(float q) const
const Hit * hitArray() const
const HitVec * m_ext_hits
C_pair get_content(B_pair n_bin) const
unsigned int m_min_ext_idx
WSR_Result is_within_z_sensitive_region(float z, float dz) const
unsigned int nHits() const
bool is_within_z_limits(float z) const
I from_R_to_N_bin_safe(R r) const
bin_index_t phiBin(float phi) const
bin_index_t phiBinChecked(float phi) const
void setBeamSpot(const BeamSpot &bs)
unsigned int * m_hit_ranks
LayerOfHits & operator[](int i)
unsigned int bin_content_t
void suckInDeads(const DeadVec &deadv)
WSR_Result is_within_r_sensitive_region(float r, float dr) const
I from_R_to_N_bin(R r) const
binnor_t::C_pair phiQBinContent(bin_index_t pi, bin_index_t qi) const
std::vector< bool > m_dead_bins
const LayerInfo & m_linfo
std::vector< Hit > HitVec
const LayerInfo * layer_info() const
bool isBinDead(bin_index_t pi, bin_index_t qi) const
WSR_Result is_within_z_sensitive_region(float z, float dz) const
Initializator(const LayerInfo &li, float qmin, float qmax, unsigned int nq)
std::vector< DeadRegion > DeadVec
std::vector< float > m_hit_qs
bin_index_t qBin(float q) const
LayerOfHits(const LayerOfHits::Initializator &i)
void suckInHits(int layer, const HitVec &hitv)
bool is_within_r_limits(float r) const
unsigned int size_of_N() const
unsigned int m_max_ext_idx
float hit_q(unsigned int i) const
void suckInHits(const HitVec &hitv)
void beginRegistrationOfHits(const HitVec &hitv)
EventOfHits(const TrackerInfo &trk_inf)
unsigned int getHitIndexFromOriginal(unsigned int i) const
static constexpr I c_N_mask
std::vector< unsigned int > m_ext_idcs
void registerHit(unsigned int idx)
const LayerInfo * m_layer_info
unsigned short bin_index_t
float hit_phi(unsigned int i) const
bin_index_t phiMaskApply(bin_index_t in) const
void suckInDeads(int layer, const DeadVec &deadv)
std::vector< LayerOfHits > m_layers_of_hits
std::vector< HitInfo > m_hit_infos
I from_R_to_N_bin_safe(R r) const
const Hit & refHit(int i) const
bool is_within_z_limits(float z) const