#include <CandCloner.h>
Public Member Functions | |
void | add_cand (int idx, const IdxChi2List &cand_info) |
void | begin_eta_bin (EventOfCombCandidates *e_o_ccs, std::vector< UpdateIndices > *update_list, std::vector< UpdateIndices > *overlap_list, std::vector< std::vector< TrackCand >> *extra_cands, int start_seed, int n_seeds) |
void | begin_iteration () |
void | begin_layer (int lay) |
CandCloner () | |
CombCandidate & | combCandWithOriginalIndex (int idx) |
void | doWork (int idx) |
void | end_eta_bin () |
void | end_iteration () |
void | end_layer () |
int | num_cands (int idx) |
void | processSeedRange (int is_beg, int is_end) |
void | release () |
void | setup (const IterationParams &ip) |
Static Public Attributes | |
static const int | s_max_seed_range = 8 |
Private Attributes | |
std::vector< std::vector< IdxChi2List > > | m_hits_to_add |
int | m_idx_max |
int | m_idx_max_prev |
int | m_layer |
int | m_n_seeds |
int | m_start_seed |
EventOfCombCandidates * | mp_event_of_comb_candidates |
std::vector< std::vector< TrackCand > > * | mp_extra_cands |
const IterationParams * | mp_iteration_params = nullptr |
std::vector< UpdateIndices > * | mp_kalman_overlap_list |
std::vector< UpdateIndices > * | mp_kalman_update_list |
std::vector< std::vector< TrackCand > > | t_cands_for_next_lay |
Definition at line 16 of file CandCloner.h.
|
inline |
Definition at line 21 of file CandCloner.h.
References s_max_seed_range, and t_cands_for_next_lay.
|
inline |
Definition at line 35 of file CandCloner.h.
References heavyIonCSV_trainingSettings::idx, m_hits_to_add, m_idx_max, and SiStripPI::max.
Referenced by mkfit::MkFinder::findCandidatesCloneEngine().
void mkfit::CandCloner::begin_eta_bin | ( | EventOfCombCandidates * | e_o_ccs, |
std::vector< UpdateIndices > * | update_list, | ||
std::vector< UpdateIndices > * | overlap_list, | ||
std::vector< std::vector< TrackCand >> * | extra_cands, | ||
int | start_seed, | ||
int | n_seeds | ||
) |
Definition at line 25 of file CandCloner.cc.
References mkfit::dtime(), mps_fire::i, m_hits_to_add, m_n_seeds, m_start_seed, mp_event_of_comb_candidates, mp_extra_cands, mp_kalman_overlap_list, and mp_kalman_update_list.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
void mkfit::CandCloner::begin_iteration | ( | ) |
Definition at line 62 of file CandCloner.cc.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
void mkfit::CandCloner::begin_layer | ( | int | lay | ) |
Definition at line 48 of file CandCloner.cc.
References mkfit::dtime(), m_idx_max, m_idx_max_prev, m_layer, mp_kalman_overlap_list, and mp_kalman_update_list.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
|
inline |
Definition at line 52 of file CandCloner.h.
References mkfit::EventOfCombCandidates::cand(), heavyIonCSV_trainingSettings::idx, and mp_event_of_comb_candidates.
Referenced by mkfit::MkFinder::findCandidatesCloneEngine().
void mkfit::CandCloner::doWork | ( | int | idx | ) |
Definition at line 104 of file CandCloner.cc.
References dprintf, heavyIonCSV_trainingSettings::idx, m_idx_max_prev, SiStripPI::min, processSeedRange(), and s_max_seed_range.
Referenced by end_iteration(), and end_layer().
void mkfit::CandCloner::end_eta_bin | ( | ) |
Definition at line 96 of file CandCloner.cc.
References mkfit::dtime().
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
void mkfit::CandCloner::end_iteration | ( | ) |
Definition at line 66 of file CandCloner.cc.
References doWork(), dprintf, m_idx_max, m_idx_max_prev, and s_max_seed_range.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
void mkfit::CandCloner::end_layer | ( | ) |
Definition at line 77 of file CandCloner.cc.
References doWork(), mkfit::dtime(), mps_fire::i, m_hits_to_add, m_idx_max, m_idx_max_prev, m_layer, and m_n_seeds.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
|
inline |
Definition at line 41 of file CandCloner.h.
References heavyIonCSV_trainingSettings::idx, and m_hits_to_add.
void mkfit::CandCloner::processSeedRange | ( | int | is_beg, |
int | is_end | ||
) |
Definition at line 127 of file CandCloner.cc.
References mkfit::TrackCand::addHitIdx(), mkfit::EventOfCombCandidates::cand(), nano_mu_local_reco_cff::chi2, mkfit::IdxChi2List::chi2_hit, mkfit::CombCandidate::clear(), cuy::cv, dprint, dprintf, mkfit::CombCandidate::emplace_back(), mkfit::CombCandidate::Finding, mkfit::IdxChi2List::hitIdx, cuy::ii, mkfit::TrackCand::incOverlapCount(), createfilelist::int, mkfit::HitMatch::m_hit_idx, m_hits_to_add, m_layer, m_start_seed, mkfit::IterationParams::maxCandsPerSeed, mkfit::IdxChi2List::module, mp_event_of_comb_candidates, mp_iteration_params, mp_kalman_overlap_list, mp_kalman_update_list, pv::pT, mkfit::TrackBase::pT(), mkfit::IterationParams::pTCutOverlap, mkfit::IterationParams::recheckOverlap, mkfit::CombCandidate::refBestShortCand(), mkfit::CombCandidate::resize(), mkfit::IdxChi2List::score, mkfit::TrackBase::score(), mkfit::CombCandidate::setBestShortCand(), mkfit::TrackBase::setScore(), jetUpdater_cfi::sort, mkfit::sortByScoreTrackCand(), mkfit::CombCandidate::state(), t_cands_for_next_lay, and mkfit::IdxChi2List::trkIdx.
Referenced by doWork().
void mkfit::CandCloner::release | ( | ) |
Definition at line 23 of file CandCloner.cc.
References mp_iteration_params.
void mkfit::CandCloner::setup | ( | const IterationParams & | ip | ) |
Definition at line 16 of file CandCloner.cc.
References iseed, mkfit::IterationParams::maxCandsPerSeed, mp_iteration_params, s_max_seed_range, and t_cands_for_next_lay.
|
private |
Definition at line 56 of file CandCloner.h.
Referenced by add_cand(), begin_eta_bin(), end_layer(), num_cands(), and processSeedRange().
|
private |
Definition at line 55 of file CandCloner.h.
Referenced by add_cand(), begin_layer(), end_iteration(), and end_layer().
|
private |
Definition at line 55 of file CandCloner.h.
Referenced by begin_layer(), doWork(), end_iteration(), and end_layer().
|
private |
Definition at line 68 of file CandCloner.h.
Referenced by begin_layer(), end_layer(), and processSeedRange().
|
private |
Definition at line 67 of file CandCloner.h.
Referenced by begin_eta_bin(), and end_layer().
|
private |
Definition at line 67 of file CandCloner.h.
Referenced by begin_eta_bin(), and processSeedRange().
|
private |
Definition at line 59 of file CandCloner.h.
Referenced by begin_eta_bin(), combCandWithOriginalIndex(), and processSeedRange().
|
private |
Definition at line 61 of file CandCloner.h.
Referenced by begin_eta_bin().
|
private |
Definition at line 58 of file CandCloner.h.
Referenced by processSeedRange(), release(), and setup().
|
private |
Definition at line 60 of file CandCloner.h.
Referenced by begin_eta_bin(), begin_layer(), and processSeedRange().
|
private |
Definition at line 60 of file CandCloner.h.
Referenced by begin_eta_bin(), begin_layer(), and processSeedRange().
|
static |
Definition at line 19 of file CandCloner.h.
Referenced by CandCloner(), doWork(), end_iteration(), and setup().
|
private |
Definition at line 72 of file CandCloner.h.
Referenced by CandCloner(), processSeedRange(), and setup().