#include <HitStructures.h>
Public Types | |
using | allocator_type = CcAlloc< TrackCand > |
enum | SeedState_e { Dormant = 0, Finding, Finished } |
using | trk_cand_vec_type = std::vector< TrackCand, CcAlloc< TrackCand >> |
Public Member Functions | |
int | addHit (const HitOnTrack &hot, float chi2, int prev_idx) |
void | beginBkwSearch () |
void | clear () |
CombCandidate (const allocator_type &alloc) | |
CombCandidate (const CombCandidate &o) | |
CombCandidate (CombCandidate &&o) | |
void | compactifyHitStorageForBestCand (bool remove_seed_hits, int backward_fit_min_hits) |
trk_cand_vec_type::reference | emplace_back (TrackCand &tc) |
bool | empty () const |
void | endBkwSearch () |
TrackCand & | front () |
const TrackCand & | front () const |
HitOnTrack | hot (int i) const |
const HoTNode & | hot_node (int i) const |
HoTNode & | hot_node_nc (int i) |
const HoTNode * | hotsData () const |
int | hotsSize () const |
void | importSeed (const Track &seed, int region) |
void | mergeCandsAndBestShortOne (const IterationParams ¶ms, bool update_score, bool sort_cands) |
CombCandidate & | operator= (CombCandidate &&o) |
TrackCand & | operator[] (int i) |
const TrackCand & | operator[] (int i) const |
int | pickupLayer () const |
const TrackCand & | refBestShortCand () const |
void | reset (int max_cands_per_seed, int expected_num_hots) |
void | resize (trk_cand_vec_type::size_type count) |
void | setBestShortCand (const TrackCand &tc) |
void | setState (SeedState_e ss) |
trk_cand_vec_type::size_type | size () const |
SeedState_e | state () const |
Private Attributes | |
TrackCand | m_best_short_cand |
std::vector< HoTNode > | m_hots |
int | m_hots_size = 0 |
short int | m_lastHitIdx_before_bkwsearch = -1 |
short int | m_nInsideMinusOneHits_before_bkwsearch = -1 |
short int | m_nTailMinusOneHits_before_bkwsearch = -1 |
int | m_pickup_layer: 16 |
SeedState_e | m_state: 8 |
trk_cand_vec_type | m_trk_cands |
Definition at line 504 of file HitStructures.h.
Definition at line 507 of file HitStructures.h.
using mkfit::CombCandidate::trk_cand_vec_type = std::vector<TrackCand, CcAlloc<TrackCand>> |
Definition at line 506 of file HitStructures.h.
Enumerator | |
---|---|
Dormant | |
Finding | |
Finished |
Definition at line 509 of file HitStructures.h.
|
inline |
Definition at line 511 of file HitStructures.h.
|
inline |
Definition at line 514 of file HitStructures.h.
|
inline |
Definition at line 530 of file HitStructures.h.
|
inline |
Definition at line 607 of file HitStructures.h.
References HLT_FULL_cff::chi2, hot(), m_hots, and m_hots_size.
Referenced by mkfit::TrackCand::addHitIdx().
void mkfit::CombCandidate::beginBkwSearch | ( | ) |
Definition at line 577 of file HitStructures.cc.
References Dormant, mkfit::TrackCand::lastCcIndex(), m_hots, m_lastHitIdx_before_bkwsearch, m_nInsideMinusOneHits_before_bkwsearch, m_nTailMinusOneHits_before_bkwsearch, m_pickup_layer, m_state, m_trk_cands, mkfit::TrackCand::nInsideMinusOneHits(), mkfit::TrackCand::nTailMinusOneHits(), mkfit::TrackCand::setLastCcIndex(), mkfit::TrackCand::setNInsideMinusOneHits(), and mkfit::TrackCand::setNTailMinusOneHits().
|
inline |
Definition at line 585 of file HitStructures.h.
References m_trk_cands.
Referenced by mkfit::CandCloner::processSeedRange().
void mkfit::CombCandidate::compactifyHitStorageForBestCand | ( | bool | remove_seed_hits, |
int | backward_fit_min_hits | ||
) |
Definition at line 492 of file HitStructures.cc.
References mkfit::TrackCand::addHitIdx(), cms::cuda::assert(), mkfit::TrackBase::getNSeedHits(), mkfit::HitOnTrack::index, mkfit::TrackCand::lastCcIndex(), mkfit::HitOnTrack::layer, mkfit::HoTNode::m_chi2, mkfit::HoTNode::m_hot, m_hots, m_hots_size, m_trk_cands, SiStripPI::max, mkfit::TrackCand::nFoundHits(), mkfit::TrackCand::setLastCcIndex(), mkfit::TrackCand::setNFoundHits(), mkfit::TrackCand::setNInsideMinusOneHits(), mkfit::TrackCand::setNMissingHits(), and mkfit::TrackCand::setNTailMinusOneHits().
|
inline |
Definition at line 584 of file HitStructures.h.
References m_trk_cands.
Referenced by mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 577 of file HitStructures.h.
References m_trk_cands.
Referenced by mergeCandsAndBestShortOne().
void mkfit::CombCandidate::endBkwSearch | ( | ) |
Definition at line 597 of file HitStructures.cc.
References mkfit::TrackCand::lastCcIndex(), m_hots, m_lastHitIdx_before_bkwsearch, m_nInsideMinusOneHits_before_bkwsearch, m_nTailMinusOneHits_before_bkwsearch, m_trk_cands, mkfit::TrackCand::nInsideMinusOneHits(), mkfit::TrackCand::nTailMinusOneHits(), mkfit::TrackCand::setLastCcIndex(), mkfit::TrackCand::setNInsideMinusOneHits(), and mkfit::TrackCand::setNTailMinusOneHits().
|
inline |
|
inline |
|
inline |
Definition at line 623 of file HitStructures.h.
References mps_fire::i, and m_hots.
Referenced by addHit(), mkfit::MkFinder::findCandidatesCloneEngine(), mkfit::TrackCand::getLastHitIdx(), mkfit::TrackCand::getLastHitLyr(), and mkfit::TrackCand::getLastHitOnTrack().
|
inline |
Definition at line 621 of file HitStructures.h.
References mps_fire::i, and m_hots.
Referenced by mkfit::TrackCand::exportTrack(), mkfit::TrackCand::getLastFoundHitLyr(), mkfit::TrackCand::getLastFoundPixelHitLyr(), mkfit::TrackCand::nHitsByTypeEncoded(), mkfit::TrackCand::nLayersByTypeEncoded(), mkfit::TrackCand::nUniqueLayers(), and mkfit::TrackCand::refLastHoTNode().
|
inline |
Definition at line 622 of file HitStructures.h.
References mps_fire::i, and m_hots.
Referenced by mkfit::TrackCand::refLastHoTNode().
|
inline |
Definition at line 625 of file HitStructures.h.
References m_hots.
Referenced by mkfit::MkFinder::bkFitInputTracks().
|
inline |
void mkfit::CombCandidate::importSeed | ( | const Track & | seed, |
int | region | ||
) |
Definition at line 424 of file HitStructures.cc.
References mkfit::TrackCand::addHitIdx(), mkfit::TrackBase::algoint(), mkfit::Track::beginHitsOnTrack(), Dormant, dprintf, mkfit::Track::endHitsOnTrack(), mkfit::Track::getLastHitLyr(), mkfit::getScoreCand(), mkfit::TrackBase::label(), mkfit::TrackCand::lastCcIndex(), m_pickup_layer, m_state, m_trk_cands, mkfit::TrackBase::momEta(), mkfit::Track::nTotalHits(), mkfit::TrackBase::pT(), mkfit::TrackBase::setEtaRegion(), mkfit::TrackBase::setNSeedHits(), mkfit::TrackBase::setScore(), and HLT_FULL_cff::TrackCand.
void mkfit::CombCandidate::mergeCandsAndBestShortOne | ( | const IterationParams & | params, |
bool | update_score, | ||
bool | sort_cands | ||
) |
Definition at line 448 of file HitStructures.cc.
References c, mkfit::TrackCand::combCandidate(), empty(), mkfit::getScoreCand(), m_best_short_cand, m_trk_cands, mkfit::IterationParams::maxCandsPerSeed, gpuVertexFinder::printf(), mkfit::TrackCand::resetShortTrack(), mkfit::TrackBase::score(), mkfit::TrackBase::setScore(), and mkfit::sortByScoreTrackCand().
|
inline |
Definition at line 555 of file HitStructures.h.
References m_best_short_cand, m_hots, m_hots_size, m_lastHitIdx_before_bkwsearch, m_nInsideMinusOneHits_before_bkwsearch, m_nTailMinusOneHits_before_bkwsearch, m_pickup_layer, m_state, m_trk_cands, eostools::move(), and class-composition::o.
|
inline |
|
inline |
|
inline |
Definition at line 633 of file HitStructures.h.
References m_pickup_layer.
Referenced by mkfit::MkBuilder::find_tracks_unroll_candidates().
|
inline |
Definition at line 627 of file HitStructures.h.
References m_best_short_cand.
Referenced by mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 587 of file HitStructures.h.
References mkfit::getScoreWorstPossible(), m_best_short_cand, m_hots, m_hots_size, m_trk_cands, mkfit::TrackBase::setScore(), and createJobs::tmp.
|
inline |
Definition at line 579 of file HitStructures.h.
References m_trk_cands.
Referenced by mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 628 of file HitStructures.h.
References m_best_short_cand.
Referenced by mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 631 of file HitStructures.h.
References m_state, and contentValuesCheck::ss.
Referenced by mkfit::MkBuilder::find_tracks_unroll_candidates().
|
inline |
Definition at line 578 of file HitStructures.h.
References m_trk_cands.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and mkfit::MkBuilder::find_tracks_unroll_candidates().
|
inline |
Definition at line 630 of file HitStructures.h.
References m_state.
Referenced by mkfit::MkBuilder::find_tracks_unroll_candidates(), and mkfit::CandCloner::processSeedRange().
|
private |
Definition at line 642 of file HitStructures.h.
Referenced by mergeCandsAndBestShortOne(), operator=(), refBestShortCand(), reset(), and setBestShortCand().
|
private |
Definition at line 654 of file HitStructures.h.
Referenced by addHit(), beginBkwSearch(), compactifyHitStorageForBestCand(), endBkwSearch(), hot(), hot_node(), hot_node_nc(), hotsData(), operator=(), and reset().
|
private |
Definition at line 653 of file HitStructures.h.
Referenced by addHit(), compactifyHitStorageForBestCand(), hotsSize(), operator=(), and reset().
|
private |
Definition at line 645 of file HitStructures.h.
Referenced by beginBkwSearch(), endBkwSearch(), and operator=().
|
private |
Definition at line 646 of file HitStructures.h.
Referenced by beginBkwSearch(), endBkwSearch(), and operator=().
|
private |
Definition at line 647 of file HitStructures.h.
Referenced by beginBkwSearch(), endBkwSearch(), and operator=().
|
private |
Definition at line 644 of file HitStructures.h.
Referenced by beginBkwSearch(), importSeed(), operator=(), and pickupLayer().
|
private |
Definition at line 643 of file HitStructures.h.
Referenced by beginBkwSearch(), importSeed(), operator=(), setState(), and state().
|
private |
Definition at line 641 of file HitStructures.h.
Referenced by beginBkwSearch(), clear(), compactifyHitStorageForBestCand(), emplace_back(), empty(), endBkwSearch(), front(), importSeed(), mergeCandsAndBestShortOne(), operator=(), operator[](), reset(), resize(), and size().