#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, int seed_idx, 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) |
int | seed_origin_index () const |
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 |
int | m_seed_origin_index = -1 |
SeedState_e | m_state: 8 |
trk_cand_vec_type | m_trk_cands |
Definition at line 277 of file TrackStructures.h.
Definition at line 280 of file TrackStructures.h.
using mkfit::CombCandidate::trk_cand_vec_type = std::vector<TrackCand, CcAlloc<TrackCand> > |
Definition at line 279 of file TrackStructures.h.
|
inline |
Definition at line 284 of file TrackStructures.h.
|
inline |
Definition at line 287 of file TrackStructures.h.
|
inline |
Definition at line 299 of file TrackStructures.h.
|
inline |
Definition at line 374 of file TrackStructures.h.
References nano_mu_local_reco_cff::chi2, hot(), m_hots, and m_hots_size.
Referenced by mkfit::TrackCand::addHitIdx().
void mkfit::CombCandidate::beginBkwSearch | ( | ) |
Definition at line 206 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 348 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 121 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 347 of file TrackStructures.h.
References m_trk_cands.
Referenced by mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 340 of file TrackStructures.h.
References m_trk_cands.
Referenced by mergeCandsAndBestShortOne().
|
inline |
|
inline |
|
inline |
Definition at line 394 of file TrackStructures.h.
References mps_fire::i, and m_hots.
Referenced by addHit(), mkfit::MkFinder::findCandidatesCloneEngine(), mkfit::TrackCand::getLastHitIdx(), mkfit::TrackCand::getLastHitLyr(), mkfit::TrackCand::getLastHitOnTrack(), and mkfit::TrackCand::popOverlap().
|
inline |
Definition at line 392 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 393 of file TrackStructures.h.
References mps_fire::i, and m_hots.
Referenced by mkfit::TrackCand::refLastHoTNode().
|
inline |
Definition at line 396 of file TrackStructures.h.
References m_hots.
Referenced by mkfit::MkFinder::bkFitInputTracks().
|
inline |
void mkfit::CombCandidate::importSeed | ( | const Track & | seed, |
int | seed_idx, | ||
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_seed_origin_index, m_state, m_trk_cands, nano_mu_digi_cff::region, fileCollector::seed, and HLT_2024v10_cff::TrackCand.
void mkfit::CombCandidate::mergeCandsAndBestShortOne | ( | const IterationParams & | params, |
const track_score_func & | score_func, | ||
bool | update_score, | ||
bool | sort_cands | ||
) |
Definition at line 74 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 321 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_seed_origin_index, m_state, m_trk_cands, eostools::move(), and EcalTangentSkim_cfg::o.
|
inline |
|
inline |
|
inline |
Definition at line 404 of file TrackStructures.h.
References m_pickup_layer.
Referenced by mkfit::MkBuilder::find_tracks_unroll_candidates().
|
inline |
Definition at line 398 of file TrackStructures.h.
References m_best_short_cand.
Referenced by mkfit::CandCloner::processSeedRange().
void mkfit::CombCandidate::repackCandPostBkwSearch | ( | int | i | ) |
Definition at line 226 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 350 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 342 of file TrackStructures.h.
References submitPVResolutionJobs::count, and m_trk_cands.
Referenced by mkfit::CandCloner::processSeedRange().
|
inline |
|
inline |
Definition at line 399 of file TrackStructures.h.
References m_best_short_cand.
Referenced by mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 402 of file TrackStructures.h.
References m_state, and contentValuesCheck::ss.
Referenced by mkfit::MkBuilder::find_tracks_unroll_candidates().
|
inline |
Definition at line 341 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 401 of file TrackStructures.h.
References m_state.
Referenced by mkfit::MkBuilder::find_tracks_unroll_candidates(), and mkfit::CandCloner::processSeedRange().
|
private |
Definition at line 410 of file TrackStructures.h.
Referenced by mergeCandsAndBestShortOne(), operator=(), refBestShortCand(), reset(), and setBestShortCand().
|
private |
Definition at line 418 of file TrackStructures.h.
Referenced by addHit(), beginBkwSearch(), compactifyHitStorageForBestCand(), hot(), hot_node(), hot_node_nc(), hotsData(), operator=(), repackCandPostBkwSearch(), and reset().
|
private |
Definition at line 417 of file TrackStructures.h.
Referenced by addHit(), compactifyHitStorageForBestCand(), hotsSize(), operator=(), and reset().
|
private |
Definition at line 413 of file TrackStructures.h.
Referenced by beginBkwSearch(), operator=(), repackCandPostBkwSearch(), and reset().
|
private |
Definition at line 414 of file TrackStructures.h.
Referenced by beginBkwSearch(), operator=(), repackCandPostBkwSearch(), and reset().
|
private |
Definition at line 415 of file TrackStructures.h.
Referenced by beginBkwSearch(), operator=(), repackCandPostBkwSearch(), and reset().
|
private |
Definition at line 412 of file TrackStructures.h.
Referenced by beginBkwSearch(), importSeed(), operator=(), and pickupLayer().
|
private |
Definition at line 416 of file TrackStructures.h.
Referenced by importSeed(), operator=(), and seed_origin_index().
|
private |
Definition at line 411 of file TrackStructures.h.
Referenced by beginBkwSearch(), importSeed(), operator=(), setState(), and state().
|
private |
Definition at line 409 of file TrackStructures.h.
Referenced by beginBkwSearch(), clear(), compactifyHitStorageForBestCand(), emplace_back(), empty(), front(), importSeed(), mergeCandsAndBestShortOne(), operator=(), operator[](), repackCandPostBkwSearch(), reset(), resize(), and size().