#include <TrackStructures.h>
Public Member Functions | |
void | addHitIdx (int hitIdx, int hitLyr, float chi2) |
CombCandidate * | combCandidate () const |
void | considerHitForOverlap (int hit_idx, int module_id, float chi2) |
Track | exportTrack (bool remove_missing_hits=false) const |
HitMatch * | findOverlap (int hit_idx, int module_id) |
int | getLastFoundHitLyr () const |
int | getLastFoundPixelHitLyr () const |
int | getLastHitIdx () const |
int | getLastHitLyr () const |
HitOnTrack | getLastHitOnTrack () const |
void | incOverlapCount () |
int | lastCcIndex () const |
int | nFoundHits () const |
int | nHitsByTypeEncoded (const TrackerInfo &trk_inf) const |
int | nInsideMinusOneHits () const |
int | nLayersByTypeEncoded (const TrackerInfo &trk_inf) const |
int | nMatchedDecoded (const int &encoded) const |
int | nMissingHits () const |
int | nMonoDecoded (const int &encoded) const |
int | nOverlapHits () const |
int | nPixelDecoded (const int &encoded) const |
int | nStereoDecoded (const int &encoded) const |
int | nTailMinusOneHits () const |
int | nTotalHits () const |
int | nTotMatchDecoded (const int &encoded) const |
int | nUniqueLayers () const |
int | originIndex () const |
HoTNode & | refLastHoTNode () |
const HoTNode & | refLastHoTNode () const |
void | resetOverlaps () |
void | resetShortTrack () |
void | setCombCandidate (CombCandidate *cc) |
void | setLastCcIndex (int i) |
void | setNFoundHits (int n) |
void | setNInsideMinusOneHits (int n) |
void | setNMissingHits (int n) |
void | setNOverlapHits (int n) |
void | setNTailMinusOneHits (int n) |
void | setOriginIndex (int oi) |
TrackCand ()=default | |
TrackCand (const TrackBase &base, CombCandidate *ccand) | |
Public Member Functions inherited from mkfit::TrackBase | |
int | algoint () const |
TrackAlgorithm | algorithm () const |
int | charge () const |
float | chi2 () const |
float | d0BeamSpot (const float x_bs, const float y_bs, bool linearize=false) const |
float | emomEta () const |
float | emomPhi () const |
float | epT () const |
const float * | errArray () const |
const SMatrixSym66 & | errors () const |
SMatrixSym66 & | errors_nc () |
bool | getDuplicateValue () const |
int | getEtaRegion () const |
int | getNSeedHits () const |
Status | getStatus () const |
bool | hasNanNSillyValues () const |
bool | hasSillyValues (bool dump, bool fix, const char *pref="") |
float | invpT () const |
bool | isFindable () const |
bool | isNotFindable () const |
int | label () const |
SVector3 | momentum () const |
float | momEta () const |
float | momPhi () const |
float | p () const |
const SVector6 & | parameters () const |
SVector6 & | parameters_nc () |
const float * | posArray () const |
float | posEta () const |
SVector3 | position () const |
float | posPhi () const |
float | posR () const |
float | posRsq () const |
ProdType | prodType () const |
float | pT () const |
float | px () const |
float | py () const |
float | pz () const |
float | score () const |
void | setAlgoint (int algo) |
void | setAlgorithm (TrackAlgorithm algo) |
void | setCharge (int chg) |
void | setChi2 (float chi2) |
void | setDuplicateValue (bool d) |
void | setEtaRegion (int r) |
void | setLabel (int lbl) |
void | setNotFindable () |
void | setNSeedHits (int n) |
void | setProdType (ProdType ptyp) |
void | setScore (float s) |
void | setState (const TrackState &newState) |
void | setStatus (Status s) |
const TrackState & | state () const |
TrackState & | state_nc () |
float | theta () const |
TrackBase () | |
TrackBase (const TrackState &state, float chi2, int label) | |
TrackBase (int charge, const SVector3 &position, const SVector3 &momentum, const SMatrixSym66 &errors, float chi2) | |
float | x () const |
float | y () const |
float | z () const |
Private Attributes | |
CombCandidate * | m_comb_candidate = nullptr |
short int | m_origin_index = -1 |
HitMatchPair | m_overlap_hits |
short int | nInsideMinusOneHits_ = 0 |
short int | nMissingHits_ = 0 |
short int | nOverlapHits_ = 0 |
short int | nTailMinusOneHits_ = 0 |
Definition at line 159 of file TrackStructures.h.
|
default |
|
inlineexplicit |
Definition at line 163 of file TrackStructures.h.
References mkfit::TrackBase::lastHitIdx_, and mkfit::TrackBase::nFoundHits_.
|
inline |
Definition at line 567 of file TrackStructures.h.
References mkfit::CombCandidate::addHit(), mkfit::TrackBase::chi2(), mkfit::TrackBase::chi2_, mkfit::Hit::kHitCCCFilterIdx, mkfit::Hit::kHitMissIdx, mkfit::TrackBase::lastHitIdx_, m_comb_candidate, mkfit::TrackBase::nFoundHits_, nInsideMinusOneHits_, nMissingHits_, and nTailMinusOneHits_.
Referenced by mkfit::CombCandidate::compactifyHitStorageForBestCand(), mkfit::MkFinder::findCandidates(), mkfit::MkBuilder::findTracksStandard(), and mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 175 of file TrackStructures.h.
References m_comb_candidate.
Referenced by mkfit::MkFinder::bkFitInputTracks(), mkfit::MkFinder::copy_in(), mkfit::MkFinder::findCandidates(), and mkfit::CombCandidate::mergeCandsAndBestShortOne().
|
inline |
Definition at line 199 of file TrackStructures.h.
References mkfit::TrackBase::chi2(), mkfit::HitMatchPair::consider_hit_for_overlap(), and m_overlap_hits.
Track mkfit::TrackCand::exportTrack | ( | bool | remove_missing_hits = false | ) | const |
Definition at line 14 of file TrackStructures.cc.
References dprintf, mkfit::TrackBase::getNSeedHits(), mkfit::CombCandidate::hot_node(), mkfit::HitOnTrack::index, mkfit::TrackBase::label(), mkfit::TrackBase::lastHitIdx_, mkfit::HitOnTrack::layer, m_comb_candidate, mkfit::HoTNode::m_hot, mkfit::HoTNode::m_prev_idx, nFoundHits(), cms::cuda::nh, nOverlapHits(), nOverlapHits_, nTotalHits(), and mkfit::TrackBase::prodType().
Referenced by mkfit::MkBuilder::export_best_comb_cands().
|
inline |
Definition at line 202 of file TrackStructures.h.
References mkfit::HitMatchPair::find_overlap(), and m_overlap_hits.
|
inline |
Definition at line 445 of file TrackStructures.h.
References mkfit::CombCandidate::hot_node(), mkfit::HitOnTrack::index, mkfit::TrackBase::lastHitIdx_, mkfit::HitOnTrack::layer, m_comb_candidate, mkfit::HoTNode::m_hot, mkfit::HoTNode::m_prev_idx, cms::cuda::nh, and nTotalHits().
|
inline |
Definition at line 461 of file TrackStructures.h.
References mkfit::CombCandidate::hot_node(), mkfit::HitOnTrack::index, mkfit::TrackBase::lastHitIdx_, mkfit::HitOnTrack::layer, m_comb_candidate, mkfit::HoTNode::m_hot, mkfit::HoTNode::m_prev_idx, cms::cuda::nh, and nTotalHits().
|
inline |
Definition at line 441 of file TrackStructures.h.
References mkfit::CombCandidate::hot(), mkfit::HitOnTrack::index, mkfit::TrackBase::lastHitIdx_, and m_comb_candidate.
Referenced by mkfit::MkBuilder::findTracksStandard().
|
inline |
Definition at line 443 of file TrackStructures.h.
References mkfit::CombCandidate::hot(), mkfit::TrackBase::lastHitIdx_, mkfit::HitOnTrack::layer, and m_comb_candidate.
Referenced by mkfit::MkBuilder::findTracksStandard().
|
inline |
Definition at line 439 of file TrackStructures.h.
References mkfit::CombCandidate::hot(), mkfit::TrackBase::lastHitIdx_, and m_comb_candidate.
|
inline |
Definition at line 231 of file TrackStructures.h.
References nOverlapHits_.
Referenced by mkfit::MkBuilder::findTracksStandard(), and mkfit::CandCloner::processSeedRange().
|
inline |
Definition at line 178 of file TrackStructures.h.
References mkfit::TrackBase::lastHitIdx_.
Referenced by mkfit::CombCandidate::beginBkwSearch(), mkfit::MkFinder::bkFitInputTracks(), mkfit::CombCandidate::compactifyHitStorageForBestCand(), mkfit::MkFinder::copy_in(), and mkfit::CombCandidate::repackCandPostBkwSearch().
|
inline |
Definition at line 179 of file TrackStructures.h.
References mkfit::TrackBase::nFoundHits_.
Referenced by mkfit::CombCandidate::compactifyHitStorageForBestCand(), mkfit::MkFinder::copy_in(), exportTrack(), and mkfit::getScoreCand().
|
inline |
Definition at line 497 of file TrackStructures.h.
References mkfit::CombCandidate::hot_node(), mkfit::HitOnTrack::index, mkfit::Hit::kHitCCCFilterIdx, mkfit::TrackBase::lastHitIdx_, mkfit::HitOnTrack::layer, m_comb_candidate, mkfit::HoTNode::m_hot, mkfit::HoTNode::m_prev_idx, muonTagProbeFilters_cff::matched, cms::cuda::nh, and nTotalHits().
|
inline |
Definition at line 189 of file TrackStructures.h.
References nInsideMinusOneHits_.
Referenced by mkfit::CombCandidate::beginBkwSearch(), mkfit::MkFinder::copy_in(), mkfit::getScoreCand(), and mkfit::CombCandidate::repackCandPostBkwSearch().
|
inline |
Definition at line 531 of file TrackStructures.h.
References mkfit::CombCandidate::hot_node(), mkfit::HitOnTrack::index, mkfit::Hit::kHitCCCFilterIdx, mkfit::TrackBase::lastHitIdx_, mkfit::HitOnTrack::layer, m_comb_candidate, mkfit::HoTNode::m_hot, mkfit::HoTNode::m_prev_idx, muonTagProbeFilters_cff::matched, cms::cuda::nh, and nTotalHits().
|
inline |
Definition at line 221 of file TrackStructures.h.
|
inline |
Definition at line 180 of file TrackStructures.h.
References nMissingHits_.
Referenced by mkfit::MkFinder::copy_in().
|
inline |
Definition at line 220 of file TrackStructures.h.
|
inline |
Definition at line 181 of file TrackStructures.h.
References nOverlapHits_.
Referenced by mkfit::MkFinder::copy_in(), exportTrack(), and mkfit::getScoreCand().
|
inline |
Definition at line 218 of file TrackStructures.h.
|
inline |
Definition at line 219 of file TrackStructures.h.
|
inline |
Definition at line 190 of file TrackStructures.h.
References nTailMinusOneHits_.
Referenced by mkfit::CombCandidate::beginBkwSearch(), mkfit::MkFinder::copy_in(), mkfit::getScoreCand(), and mkfit::CombCandidate::repackCandPostBkwSearch().
|
inline |
Definition at line 182 of file TrackStructures.h.
References mkfit::TrackBase::nFoundHits_, and nMissingHits_.
Referenced by exportTrack(), getLastFoundHitLyr(), getLastFoundPixelHitLyr(), nHitsByTypeEncoded(), nLayersByTypeEncoded(), and nUniqueLayers().
|
inline |
Definition at line 222 of file TrackStructures.h.
|
inline |
Definition at line 478 of file TrackStructures.h.
References mkfit::CombCandidate::hot_node(), mkfit::HitOnTrack::index, mkfit::Hit::kHitCCCFilterIdx, mkfit::TrackBase::lastHitIdx_, mkfit::HitOnTrack::layer, m_comb_candidate, mkfit::HoTNode::m_hot, mkfit::HoTNode::m_prev_idx, cms::cuda::nh, and nTotalHits().
|
inline |
Definition at line 195 of file TrackStructures.h.
References m_origin_index.
Referenced by mkfit::MkBuilder::findTracksStandard().
|
inline |
Definition at line 561 of file TrackStructures.h.
References mkfit::CombCandidate::hot_node_nc(), mkfit::TrackBase::lastHitIdx_, and m_comb_candidate.
|
inline |
Definition at line 563 of file TrackStructures.h.
References mkfit::CombCandidate::hot_node(), mkfit::TrackBase::lastHitIdx_, and m_comb_candidate.
|
inline |
Definition at line 198 of file TrackStructures.h.
References m_overlap_hits, and mkfit::HitMatchPair::reset().
|
inline |
Definition at line 235 of file TrackStructures.h.
References mkfit::getScoreWorstPossible(), m_comb_candidate, and mkfit::TrackBase::score_.
Referenced by mkfit::CombCandidate::mergeCandsAndBestShortOne().
|
inline |
Definition at line 176 of file TrackStructures.h.
References gpuPixelDoublets::cc, and m_comb_candidate.
Referenced by mkfit::MkFinder::copy_out().
|
inline |
Definition at line 184 of file TrackStructures.h.
References mps_fire::i, and mkfit::TrackBase::lastHitIdx_.
Referenced by mkfit::CombCandidate::beginBkwSearch(), mkfit::CombCandidate::compactifyHitStorageForBestCand(), mkfit::MkFinder::copy_out(), and mkfit::CombCandidate::repackCandPostBkwSearch().
|
inline |
Definition at line 185 of file TrackStructures.h.
References dqmiodumpmetadata::n, and mkfit::TrackBase::nFoundHits_.
Referenced by mkfit::CombCandidate::compactifyHitStorageForBestCand(), and mkfit::MkFinder::copy_out().
|
inline |
Definition at line 192 of file TrackStructures.h.
References dqmiodumpmetadata::n, and nInsideMinusOneHits_.
Referenced by mkfit::CombCandidate::beginBkwSearch(), mkfit::CombCandidate::compactifyHitStorageForBestCand(), mkfit::MkFinder::copy_out(), and mkfit::CombCandidate::repackCandPostBkwSearch().
|
inline |
Definition at line 186 of file TrackStructures.h.
References dqmiodumpmetadata::n, and nMissingHits_.
Referenced by mkfit::CombCandidate::compactifyHitStorageForBestCand(), and mkfit::MkFinder::copy_out().
|
inline |
Definition at line 187 of file TrackStructures.h.
References dqmiodumpmetadata::n, and nOverlapHits_.
Referenced by mkfit::MkFinder::copy_out().
|
inline |
Definition at line 193 of file TrackStructures.h.
References dqmiodumpmetadata::n, and nTailMinusOneHits_.
Referenced by mkfit::CombCandidate::beginBkwSearch(), mkfit::CombCandidate::compactifyHitStorageForBestCand(), mkfit::MkFinder::copy_out(), and mkfit::CombCandidate::repackCandPostBkwSearch().
|
inline |
Definition at line 196 of file TrackStructures.h.
References m_origin_index.
Referenced by mkfit::MkFinder::findCandidates().
|
private |
Definition at line 241 of file TrackStructures.h.
Referenced by addHitIdx(), combCandidate(), exportTrack(), getLastFoundHitLyr(), getLastFoundPixelHitLyr(), getLastHitIdx(), getLastHitLyr(), getLastHitOnTrack(), nHitsByTypeEncoded(), nLayersByTypeEncoded(), nUniqueLayers(), refLastHoTNode(), resetShortTrack(), and setCombCandidate().
|
private |
Definition at line 251 of file TrackStructures.h.
Referenced by originIndex(), and setOriginIndex().
|
private |
Definition at line 242 of file TrackStructures.h.
Referenced by considerHitForOverlap(), findOverlap(), and resetOverlaps().
|
private |
Definition at line 248 of file TrackStructures.h.
Referenced by addHitIdx(), nInsideMinusOneHits(), and setNInsideMinusOneHits().
|
private |
Definition at line 245 of file TrackStructures.h.
Referenced by addHitIdx(), nMissingHits(), nTotalHits(), and setNMissingHits().
|
private |
Definition at line 246 of file TrackStructures.h.
Referenced by exportTrack(), incOverlapCount(), nOverlapHits(), and setNOverlapHits().
|
private |
Definition at line 249 of file TrackStructures.h.
Referenced by addHitIdx(), nTailMinusOneHits(), and setNTailMinusOneHits().