#include <Track.h>
Public Member Functions | |
void | addHitIdx (int hitIdx, int hitLyr, float chi2) |
void | addHitIdx (const HitOnTrack &hot, float chi2) |
const HitOnTrack * | beginHitsOnTrack () const |
HitOnTrack * | beginHitsOnTrack_nc () |
void | countAndSetNFoundHits () |
const HitOnTrack * | endHitsOnTrack () const |
std::vector< int > | foundLayers () const |
int | getHitIdx (int posHitIdx) const |
int | getHitLyr (int posHitIdx) const |
HitOnTrack | getHitOnTrack (int posHitIdx) const |
const HitOnTrack * | getHitsOnTrackArray () const |
int | getLastFoundHitIdx () const |
int | getLastFoundHitLyr () const |
HitOnTrack | getLastFoundHitOnTrack () const |
int | getLastFoundHitPos () const |
int | getLastFoundMCHitID (const std::vector< HitVec > &globalHitVec) const |
int | getLastHitIdx () const |
int | getLastHitLyr () const |
HitOnTrack | getLastHitOnTrack () const |
int | getMCHitIDFromLayer (const std::vector< HitVec > &globalHitVec, int layer) const |
HitVec | hitsVector (const std::vector< HitVec > &globalHitVec) const |
int | mcHitIDofFirstHit (const std::vector< HitVec > &globalHitVec, const MCHitInfoVec &globalMCHitInfo) const |
void | mcHitIDsVec (const std::vector< HitVec > &globalHitVec, const MCHitInfoVec &globalMCHitInfo, std::vector< int > &mcHitIDs) const |
int | nFoundHits () const |
int | nInsideMinusOneHits () const |
int | nOverlapHits () const |
int | nTailMinusOneHits () const |
int | nTotalHits () const |
int | nUniqueLayers () const |
void | reserveHits (int nHits) |
void | resetHits () |
void | resizeHits (int nHits, int nFoundHits) |
void | resizeHitsForInput () |
void | setHitIdx (int posHitIdx, int newIdx) |
void | setHitIdxAtPos (int pos, const HitOnTrack &hot) |
void | setHitIdxLyr (int posHitIdx, int newIdx, int newLyr) |
void | setNOverlapHits (int n) |
void | sortHitsByLayer () |
Track () | |
Track (const TrackBase &base) | |
Track (const TrackState &state, float chi2, int label, int nHits, const HitOnTrack *hits) | |
Track (int charge, const SVector3 &position, const SVector3 &momentum, const SMatrixSym66 &errors, float chi2) | |
Public Member Functions inherited from mkfit::TrackBase | |
int | algoint () const |
TrackAlgorithm | algorithm () const |
bool | canReachRadius (float R) 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 |
float | maxReachRadius () 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 | rAtZ (float Z) 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 | swimPhiToR (const float x, const float y) const |
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 |
float | zAtR (float R, float *r_reached=nullptr) const |
Private Attributes | |
std::vector< HitOnTrack > | hitsOnTrk_ |
|
inlineexplicit |
Definition at line 379 of file Track.h.
References mkfit::TrackBase::lastHitIdx_, and mkfit::TrackBase::nFoundHits_.
|
inline |
Definition at line 385 of file Track.h.
References addHitIdx(), f, h, hfClusterShapes_cfi::hits, nHits, and reserveHits().
|
inline |
Definition at line 393 of file Track.h.
|
inline |
Definition at line 451 of file Track.h.
References mkfit::TrackBase::chi2(), mkfit::TrackBase::chi2_, hitsOnTrk_, mkfit::TrackBase::lastHitIdx_, and mkfit::TrackBase::nFoundHits_.
Referenced by mkfit::StdSeq::clean_cms_seedtracks_iter(), and Track().
|
inline |
Definition at line 460 of file Track.h.
References addHitIdx(), mkfit::TrackBase::chi2(), mkfit::HitOnTrack::index, and mkfit::HitOnTrack::layer.
Referenced by addHitIdx().
|
inline |
Definition at line 508 of file Track.h.
References hitsOnTrk_.
Referenced by mkfit::MkFinder::copy_in().
|
inline |
Definition at line 511 of file Track.h.
References hitsOnTrk_.
Referenced by mkfit::MkFinder::copy_out().
|
inline |
Definition at line 517 of file Track.h.
References hitsOnTrk_, mps_fire::i, mkfit::TrackBase::lastHitIdx_, and mkfit::TrackBase::nFoundHits_.
|
inline |
Definition at line 509 of file Track.h.
References hitsOnTrk_, and mkfit::TrackBase::lastHitIdx_.
Referenced by mkfit::MkFinder::copy_in().
|
inline |
Definition at line 582 of file Track.h.
References hitsOnTrk_, mkfit::TrackBase::lastHitIdx_, and hgcalTBTopologyTester_cfi::layers.
|
inline |
Definition at line 464 of file Track.h.
References hitsOnTrk_.
Referenced by mkfit::StdSeq::clean_cms_seedtracks_iter(), mkfit::TrackExtra::findMatchingSeedHits(), mkfit::MkFitter::inputSeedsTracksAndHits(), mkfit::MkFitter::inputTracksAndHits(), mkfit::print(), mkfit::TrackExtra::setCMSSWTrackIDInfoByHits(), mkfit::TrackExtra::setCMSSWTrackIDInfoByTrkParams(), and mkfit::TrackExtra::setMCTrackIDInfo().
|
inline |
Definition at line 465 of file Track.h.
References hitsOnTrk_.
Referenced by mkfit::StdSeq::clean_cms_seedtracks_iter(), mkfit::TrackExtra::findMatchingSeedHits(), mkfit::MkFitter::inputTracksAndHits(), mkfit::print(), mkfit::TrackExtra::setCMSSWTrackIDInfoByHits(), mkfit::TrackExtra::setCMSSWTrackIDInfoByTrkParams(), and mkfit::TrackExtra::setMCTrackIDInfo().
|
inline |
Definition at line 462 of file Track.h.
References hitsOnTrk_.
Referenced by mkfit::Shell::CheckMkFitLayerPlanVsReferenceHits(), mkfit::MkFitter::inputSeedsTracksAndHits(), mkfit::MkFitter::inputTracksAndHitIdx(), mkfit::MkFitter::inputTracksAndHits(), and mkfit::print().
|
inline |
Definition at line 507 of file Track.h.
References hitsOnTrk_.
Referenced by mkfit::MkFinder::bkFitInputTracks(), and mkfit::MkFitter::inputTracksForFit().
|
inline |
Definition at line 482 of file Track.h.
References getLastFoundHitPos(), hitsOnTrk_, and mkfit::TrackBase::p().
|
inline |
Definition at line 486 of file Track.h.
References getLastFoundHitPos(), hitsOnTrk_, and mkfit::TrackBase::p().
|
inline |
Definition at line 478 of file Track.h.
References getLastFoundHitPos(), hitsOnTrk_, and mkfit::TrackBase::p().
Referenced by getLastFoundMCHitID().
|
inline |
Definition at line 471 of file Track.h.
References hitsOnTrk_, and mkfit::TrackBase::lastHitIdx_.
Referenced by getLastFoundHitIdx(), getLastFoundHitLyr(), and getLastFoundHitOnTrack().
|
inline |
Definition at line 491 of file Track.h.
References getLastFoundHitOnTrack(), mkfit::HitOnTrack::index, and mkfit::HitOnTrack::layer.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 397 of file Track.h.
References hitsOnTrk_, mkfit::HitOnTrack::index, mkfit::HitOnTrack::layer, and mkfit::Config::nMaxTrkHits.
|
inline |
Definition at line 421 of file Track.h.
References hitsOnTrk_, mkfit::HitOnTrack::index, and mkfit::HitOnTrack::layer.
|
inline |
Definition at line 408 of file Track.h.
References hitsOnTrk_, mkfit::HitOnTrack::index, mkfit::TrackBase::lastHitIdx_, and mkfit::HitOnTrack::layer.
|
inline |
Definition at line 525 of file Track.h.
References mkfit::TrackBase::nFoundHits_.
Referenced by mkfit::Event::clean_cms_seedtracks(), mkfit::StdSeq::clean_cms_seedtracks_iter(), mkfit::MkFinder::copy_in(), mkfit::getScoreCand(), mkfit::print(), mkfit::StdSeq::Quality::quality_process(), resizeHits(), mkfit::TrackExtra::setCMSSWTrackIDInfoByHits(), mkfit::TrackExtra::setCMSSWTrackIDInfoByTrkParams(), mkfit::TrackExtra::setMCTrackIDInfo(), and mkfit::sortByHitsChi2().
|
inline |
Definition at line 531 of file Track.h.
References hitsOnTrk_, mps_fire::i, mkfit::TrackBase::lastHitIdx_, and dqmiodumpmetadata::n.
Referenced by mkfit::MkFinder::copy_in(), and mkfit::getScoreCand().
|
inline |
Definition at line 528 of file Track.h.
References mkfit::TrackBase::Status::n_overlaps, and mkfit::TrackBase::status_.
Referenced by mkfit::getScoreCand().
|
inline |
Definition at line 543 of file Track.h.
References hitsOnTrk_, mps_fire::i, mkfit::TrackBase::lastHitIdx_, and dqmiodumpmetadata::n.
Referenced by mkfit::MkFinder::copy_in(), and mkfit::getScoreCand().
|
inline |
Definition at line 526 of file Track.h.
References mkfit::TrackBase::lastHitIdx_.
Referenced by mkfit::MkFinder::bkFitInputTracks(), mkfit::Shell::CheckMkFitLayerPlanVsReferenceHits(), mkfit::StdSeq::clean_cms_seedtracks_iter(), mkfit::MkFinder::copy_in(), mkfit::TrackExtra::findMatchingSeedHits(), mkfit::print(), mkfit::MkFinder::selectHitIndices(), mkfit::TrackExtra::setCMSSWTrackIDInfoByHits(), mkfit::TrackExtra::setCMSSWTrackIDInfoByTrkParams(), and mkfit::TrackExtra::setMCTrackIDInfo().
|
inline |
Definition at line 554 of file Track.h.
References hitsOnTrk_, heavyIonCSV_trainingSettings::idx, mkfit::TrackBase::lastHitIdx_, and jetUpdater_cfi::sort.
|
inline |
Definition at line 432 of file Track.h.
References hitsOnTrk_, and nHits.
Referenced by Track().
|
inline |
Definition at line 434 of file Track.h.
References hitsOnTrk_, mkfit::TrackBase::lastHitIdx_, and mkfit::TrackBase::nFoundHits_.
|
inline |
Definition at line 441 of file Track.h.
References hitsOnTrk_, mkfit::TrackBase::lastHitIdx_, nFoundHits(), mkfit::TrackBase::nFoundHits_, and nHits.
Referenced by mkfit::MkFinder::copy_out().
void mkfit::Track::resizeHitsForInput | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 529 of file Track.h.
References dqmiodumpmetadata::n, mkfit::TrackBase::Status::n_overlaps, and mkfit::TrackBase::status_.
void mkfit::Track::sortHitsByLayer | ( | ) |
Definition at line 394 of file Track.cc.
References hitsOnTrk_, and mkfit::TrackBase::lastHitIdx_.
Referenced by mkfit::StdSeq::clean_cms_seedtracks_iter().
|
private |
Definition at line 593 of file Track.h.
Referenced by addHitIdx(), beginHitsOnTrack(), beginHitsOnTrack_nc(), countAndSetNFoundHits(), endHitsOnTrack(), foundLayers(), getHitIdx(), getHitLyr(), getHitOnTrack(), getHitsOnTrackArray(), getLastFoundHitIdx(), getLastFoundHitLyr(), getLastFoundHitOnTrack(), getLastFoundHitPos(), getLastHitIdx(), getLastHitLyr(), getLastHitOnTrack(), getMCHitIDFromLayer(), hitsVector(), mcHitIDofFirstHit(), mcHitIDsVec(), nInsideMinusOneHits(), nTailMinusOneHits(), nUniqueLayers(), reserveHits(), resetHits(), resizeHits(), resizeHitsForInput(), setHitIdx(), setHitIdxAtPos(), setHitIdxLyr(), and sortHitsByLayer().