#include <TrackStructures.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 |
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, const track_score_func &score_func, int region) |
void | mergeCandsAndBestShortOne (const IterationParams ¶ms, const track_score_func &score_func, 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 | repackCandPostBkwSearch (int i) |
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 276 of file TrackStructures.h.
Definition at line 279 of file TrackStructures.h.
using mkfit::CombCandidate::trk_cand_vec_type = std::vector<TrackCand, CcAlloc<TrackCand> > |
Definition at line 278 of file TrackStructures.h.
|
inline |
Definition at line 283 of file TrackStructures.h.
|
inline |
Definition at line 286 of file TrackStructures.h.
|
inline |
Definition at line 302 of file TrackStructures.h.
|
inline |
Definition at line 383 of file TrackStructures.h.
References hltPixelTracks_cff::chi2, hot(), m_hots, and m_hots_size.
Referenced by mkfit::TrackCand::addHitIdx().
void mkfit::CombCandidate::beginBkwSearch | ( | ) |
Definition at line 209 of file TrackStructures.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 357 of file TrackStructures.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 124 of file TrackStructures.cc.
References mkfit::TrackCand::addHitIdx(), cms::cuda::assert(), mkfit::TrackBase::getNSeedHits(), heavyIonCSV_trainingSettings::idx, 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 356 of file TrackStructures.h.
References m_trk_cands.
Referenced by mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 349 of file TrackStructures.h.
References m_trk_cands.
Referenced by mergeCandsAndBestShortOne().
|
inline |
|
inline |
|
inline |
Definition at line 403 of file TrackStructures.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 401 of file TrackStructures.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 402 of file TrackStructures.h.
References mps_fire::i, and m_hots.
Referenced by mkfit::TrackCand::refLastHoTNode().
|
inline |
Definition at line 405 of file TrackStructures.h.
References m_hots.
Referenced by mkfit::MkFinder::bkFitInputTracks().
|
inline |
void mkfit::CombCandidate::importSeed | ( | const Track & | seed, |
const track_score_func & | score_func, | ||
int | region | ||
) |
Definition at line 53 of file TrackStructures.cc.
References Dormant, dprintf, mkfit::getScoreCand(), trackingPlots::hp, m_pickup_layer, m_state, m_trk_cands, HLT_2022v15_cff::region, fileCollector::seed, and HLT_2022v15_cff::TrackCand.
void mkfit::CombCandidate::mergeCandsAndBestShortOne | ( | const IterationParams & | params, |
const track_score_func & | score_func, | ||
bool | update_score, | ||
bool | sort_cands | ||
) |
Definition at line 77 of file TrackStructures.cc.
References HltBtagPostValidation_cff::c, mkfit::TrackCand::combCandidate(), empty(), mkfit::getScoreCand(), m_best_short_cand, m_trk_cands, submitPVValidationJobs::params, mkfit::TrackCand::resetShortTrack(), mkfit::TrackBase::score(), mkfit::TrackBase::setScore(), jetUpdater_cfi::sort, and mkfit::sortByScoreTrackCand().
|
inline |
Definition at line 327 of file TrackStructures.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 EcalTangentSkim_cfg::o.
|
inline |
|
inline |
|
inline |
Definition at line 413 of file TrackStructures.h.
References m_pickup_layer.
Referenced by mkfit::MkBuilder::find_tracks_unroll_candidates().
|
inline |
Definition at line 407 of file TrackStructures.h.
References m_best_short_cand.
Referenced by mkfit::CandCloner::processSeedRange().
void mkfit::CombCandidate::repackCandPostBkwSearch | ( | int | i | ) |
Definition at line 229 of file TrackStructures.cc.
References mps_fire::i, 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 |
Definition at line 359 of file TrackStructures.h.
References mkfit::getScoreWorstPossible(), m_best_short_cand, m_hots, m_hots_size, m_lastHitIdx_before_bkwsearch, m_nInsideMinusOneHits_before_bkwsearch, m_nTailMinusOneHits_before_bkwsearch, m_trk_cands, mkfit::TrackBase::setScore(), and createJobs::tmp.
|
inline |
Definition at line 351 of file TrackStructures.h.
References submitPVResolutionJobs::count, and m_trk_cands.
Referenced by mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 408 of file TrackStructures.h.
References m_best_short_cand.
Referenced by mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 411 of file TrackStructures.h.
References m_state, and contentValuesCheck::ss.
Referenced by mkfit::MkBuilder::find_tracks_unroll_candidates().
|
inline |
Definition at line 350 of file TrackStructures.h.
References m_trk_cands.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and mkfit::MkBuilder::find_tracks_unroll_candidates().
|
inline |
Definition at line 410 of file TrackStructures.h.
References m_state.
Referenced by mkfit::MkBuilder::find_tracks_unroll_candidates(), and mkfit::CandCloner::processSeedRange().
|
private |
Definition at line 422 of file TrackStructures.h.
Referenced by mergeCandsAndBestShortOne(), operator=(), refBestShortCand(), reset(), and setBestShortCand().
|
private |
Definition at line 434 of file TrackStructures.h.
Referenced by addHit(), beginBkwSearch(), compactifyHitStorageForBestCand(), hot(), hot_node(), hot_node_nc(), hotsData(), operator=(), repackCandPostBkwSearch(), and reset().
|
private |
Definition at line 433 of file TrackStructures.h.
Referenced by addHit(), compactifyHitStorageForBestCand(), hotsSize(), operator=(), and reset().
|
private |
Definition at line 425 of file TrackStructures.h.
Referenced by beginBkwSearch(), operator=(), repackCandPostBkwSearch(), and reset().
|
private |
Definition at line 426 of file TrackStructures.h.
Referenced by beginBkwSearch(), operator=(), repackCandPostBkwSearch(), and reset().
|
private |
Definition at line 427 of file TrackStructures.h.
Referenced by beginBkwSearch(), operator=(), repackCandPostBkwSearch(), and reset().
|
private |
Definition at line 424 of file TrackStructures.h.
Referenced by beginBkwSearch(), importSeed(), operator=(), and pickupLayer().
|
private |
Definition at line 423 of file TrackStructures.h.
Referenced by beginBkwSearch(), importSeed(), operator=(), setState(), and state().
|
private |
Definition at line 421 of file TrackStructures.h.
Referenced by beginBkwSearch(), clear(), compactifyHitStorageForBestCand(), emplace_back(), empty(), front(), importSeed(), mergeCandsAndBestShortOne(), operator=(), operator[](), repackCandPostBkwSearch(), reset(), resize(), and size().