#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 |
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 273 of file TrackStructures.h.
Definition at line 276 of file TrackStructures.h.
using mkfit::CombCandidate::trk_cand_vec_type = std::vector<TrackCand, CcAlloc<TrackCand> > |
Definition at line 275 of file TrackStructures.h.
|
inline |
Definition at line 280 of file TrackStructures.h.
|
inline |
Definition at line 283 of file TrackStructures.h.
|
inline |
Definition at line 299 of file TrackStructures.h.
|
inline |
Definition at line 376 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 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 354 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 353 of file TrackStructures.h.
References m_trk_cands.
Referenced by mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 346 of file TrackStructures.h.
References m_trk_cands.
Referenced by mergeCandsAndBestShortOne().
void mkfit::CombCandidate::endBkwSearch | ( | ) |
Definition at line 226 of file TrackStructures.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 392 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 390 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 391 of file TrackStructures.h.
References mps_fire::i, and m_hots.
Referenced by mkfit::TrackCand::refLastHoTNode().
|
inline |
Definition at line 394 of file TrackStructures.h.
References m_hots.
Referenced by mkfit::MkFinder::bkFitInputTracks().
|
inline |
void mkfit::CombCandidate::importSeed | ( | const Track & | seed, |
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, |
bool | update_score, | ||
bool | sort_cands | ||
) |
Definition at line 77 of file TrackStructures.cc.
References 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(), jetsAK4_CHS_cff::sort, and mkfit::sortByScoreTrackCand().
|
inline |
Definition at line 324 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 402 of file TrackStructures.h.
References m_pickup_layer.
Referenced by mkfit::MkBuilder::find_tracks_unroll_candidates().
|
inline |
Definition at line 396 of file TrackStructures.h.
References m_best_short_cand.
Referenced by mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 356 of file TrackStructures.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 348 of file TrackStructures.h.
References submitPVResolutionJobs::count, and m_trk_cands.
Referenced by mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 397 of file TrackStructures.h.
References m_best_short_cand.
Referenced by mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 400 of file TrackStructures.h.
References m_state, and contentValuesCheck::ss.
Referenced by mkfit::MkBuilder::find_tracks_unroll_candidates().
|
inline |
Definition at line 347 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 399 of file TrackStructures.h.
References m_state.
Referenced by mkfit::MkBuilder::find_tracks_unroll_candidates(), and mkfit::CandCloner::processSeedRange().
|
private |
Definition at line 411 of file TrackStructures.h.
Referenced by mergeCandsAndBestShortOne(), operator=(), refBestShortCand(), reset(), and setBestShortCand().
|
private |
Definition at line 423 of file TrackStructures.h.
Referenced by addHit(), beginBkwSearch(), compactifyHitStorageForBestCand(), endBkwSearch(), hot(), hot_node(), hot_node_nc(), hotsData(), operator=(), and reset().
|
private |
Definition at line 422 of file TrackStructures.h.
Referenced by addHit(), compactifyHitStorageForBestCand(), hotsSize(), operator=(), and reset().
|
private |
Definition at line 414 of file TrackStructures.h.
Referenced by beginBkwSearch(), endBkwSearch(), and operator=().
|
private |
Definition at line 415 of file TrackStructures.h.
Referenced by beginBkwSearch(), endBkwSearch(), and operator=().
|
private |
Definition at line 416 of file TrackStructures.h.
Referenced by beginBkwSearch(), endBkwSearch(), and operator=().
|
private |
Definition at line 413 of file TrackStructures.h.
Referenced by beginBkwSearch(), importSeed(), operator=(), and pickupLayer().
|
private |
Definition at line 412 of file TrackStructures.h.
Referenced by beginBkwSearch(), importSeed(), operator=(), setState(), and state().
|
private |
Definition at line 410 of file TrackStructures.h.
Referenced by beginBkwSearch(), clear(), compactifyHitStorageForBestCand(), emplace_back(), empty(), endBkwSearch(), front(), importSeed(), mergeCandsAndBestShortOne(), operator=(), operator[](), reset(), resize(), and size().