#include <MkFitter.h>
Public Member Functions | |
void | checkAlignment () |
int | countInvalidHits (int itrack, int end_hit) const |
int | countInvalidHits (int itrack) const |
int | countValidHits (int itrack, int end_hit) const |
int | countValidHits (int itrack) const |
void | fitTracksWithInterSlurp (const std::vector< HitVec > &layersohits, const PropagationFlags &pflags, int N_proc) |
void | inputSeedsTracksAndHits (const std::vector< Track > &seeds, const std::vector< Track > &tracks, const std::vector< HitVec > &layerHits, int beg, int end) |
void | inputTracksAndHitIdx (const std::vector< Track > &tracks, int beg, int end, bool inputProp) |
void | inputTracksAndHitIdx (const std::vector< std::vector< Track > > &tracks, const std::vector< std::pair< int, int > > &idxs, int beg, int end, bool inputProp) |
void | inputTracksAndHits (const std::vector< Track > &tracks, const std::vector< HitVec > &layerHits, int beg, int end) |
void | inputTracksAndHits (const std::vector< Track > &tracks, const std::vector< LayerOfHits > &layerHits, int beg, int end) |
void | inputTracksForFit (const std::vector< Track > &tracks, int beg, int end) |
MkFitter () | |
void | outputFittedTracks (std::vector< Track > &tracks, int beg, int end) const |
void | outputFittedTracksAndHitIdx (std::vector< Track > &tracks, int beg, int end, bool outputProp) const |
void | outputPropagatedTracks (std::vector< Track > &tracks, int beg, int end) const |
void | outputTracks (std::vector< Track > &tracks, int beg, int end, int iCP) const |
void | printPt (int idx) |
MPlexLS & | refErr0 () |
MPlexLV & | refPar0 () |
void | setNhits (int newnhits) |
void | slurpInTracksAndHits (const std::vector< Track > &tracks, const std::vector< HitVec > &layerHits, int beg, int end) |
Public Member Functions inherited from mkfit::MkBase | |
void | clearFailFlag () |
float | getPar (int itrack, int i, int par) const |
MkBase () | |
void | propagateTracksToHitR (const MPlexHV &par, const int N_proc, const PropagationFlags &pf, const MPlexQI *noMatEffPtr=nullptr) |
void | propagateTracksToHitZ (const MPlexHV &par, const int N_proc, const PropagationFlags &pf, const MPlexQI *noMatEffPtr=nullptr) |
void | propagateTracksToPCAZ (const int N_proc, const PropagationFlags &pf) |
void | propagateTracksToR (float r, const int N_proc, const PropagationFlags &pf) |
void | propagateTracksToZ (float z, const int N_proc, const PropagationFlags &pf) |
float | radiusSqr (int itrack, int i) const |
Additional Inherited Members | |
Static Public Attributes inherited from mkfit::MkBase | |
static constexpr int | iC = 0 |
static constexpr int | iP = 1 |
Protected Attributes inherited from mkfit::MkBase | |
MPlexQI | m_Chg |
MPlexLS | m_Err [2] |
MPlexQI | m_FailFlag |
MPlexLV | m_Par [2] |
Definition at line 16 of file MkFitter.h.
|
inline |
Definition at line 18 of file MkFitter.h.
void mkfit::MkFitter::checkAlignment | ( | ) |
Definition at line 13 of file MkFitter.cc.
References Matriplex::align_check(), mkfit::MkBase::m_Err, m_msErr, m_msPar, and mkfit::MkBase::m_Par.
int mkfit::MkFitter::countInvalidHits | ( | int | itrack, |
int | end_hit | ||
) | const |
Definition at line 38 of file MkFitter.cc.
References m_HoTArr, and mps_fire::result.
|
inline |
Definition at line 35 of file MkFitter.h.
References countInvalidHits(), and m_Nhits.
Referenced by countInvalidHits().
int mkfit::MkFitter::countValidHits | ( | int | itrack, |
int | end_hit | ||
) | const |
Definition at line 29 of file MkFitter.cc.
References m_HoTArr, and mps_fire::result.
|
inline |
Definition at line 34 of file MkFitter.h.
References countValidHits(), and m_Nhits.
Referenced by countValidHits().
void mkfit::MkFitter::fitTracksWithInterSlurp | ( | const std::vector< HitVec > & | layersohits, |
const PropagationFlags & | pflags, | ||
int | N_proc | ||
) |
Definition at line 302 of file MkFitter.cc.
References mkfit::MatriplexErrParPackerSlurpIn< T, D >::addInput(), mkfit::MatriplexPackerSlurpIn< D >::addNullInput(), data, mps_fire::i, mkfit::MkBase::iC, cuy::ii, mkfit::MkBase::iP, mkfit::kalmanUpdate(), mkfit::MkBase::m_Err, m_HoTArr, m_msErr, m_msPar, m_Nhits, mkfit::MkBase::m_Par, mkfit::MatriplexErrParPackerSlurpIn< T, D >::pack(), and mkfit::MkBase::propagateTracksToHitR().
void mkfit::MkFitter::inputSeedsTracksAndHits | ( | const std::vector< Track > & | seeds, |
const std::vector< Track > & | tracks, | ||
const std::vector< HitVec > & | layerHits, | ||
int | beg, | ||
int | end | ||
) |
Definition at line 222 of file MkFitter.cc.
References mkfit::TrackBase::charge(), mkfit::TrackBase::chi2(), Matriplex::Matriplex< T, D1, D2, N >::copyIn(), Matriplex::MatriplexSym< T, D, N >::copyIn(), mkfit::TrackBase::errors(), mkfit::Track::getHitIdx(), mkfit::Track::getHitOnTrack(), mps_fire::i, mkfit::MkBase::iC, mkfit::TrackBase::label(), mkfit::MkBase::m_Chg, m_Chi2, mkfit::MkBase::m_Err, m_HoTArr, m_Label, m_msErr, m_msPar, m_Nhits, mkfit::MkBase::m_Par, mkfit::TrackBase::parameters(), DetachedQuadStep_cff::seeds, and pwdgSkimBPark_cfi::tracks.
void mkfit::MkFitter::inputTracksAndHitIdx | ( | const std::vector< Track > & | tracks, |
int | beg, | ||
int | end, | ||
bool | inputProp | ||
) |
Definition at line 165 of file MkFitter.cc.
References mkfit::TrackBase::charge(), mkfit::TrackBase::chi2(), Matriplex::Matriplex< T, D1, D2, N >::copyIn(), Matriplex::MatriplexSym< T, D, N >::copyIn(), mkfit::TrackBase::errors(), mkfit::Track::getHitOnTrack(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, mkfit::TrackBase::label(), mkfit::MkBase::m_Chg, m_Chi2, mkfit::MkBase::m_Err, m_HoTArr, m_Label, m_Nhits, mkfit::MkBase::m_Par, mkfit::TrackBase::parameters(), and pwdgSkimBPark_cfi::tracks.
void mkfit::MkFitter::inputTracksAndHitIdx | ( | const std::vector< std::vector< Track > > & | tracks, |
const std::vector< std::pair< int, int > > & | idxs, | ||
int | beg, | ||
int | end, | ||
bool | inputProp | ||
) |
Definition at line 190 of file MkFitter.cc.
References mkfit::TrackBase::charge(), mkfit::TrackBase::chi2(), Matriplex::Matriplex< T, D1, D2, N >::copyIn(), Matriplex::MatriplexSym< T, D, N >::copyIn(), mkfit::TrackBase::errors(), mkfit::Track::getHitOnTrack(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, mkfit::TrackBase::label(), m_CandIdx, mkfit::MkBase::m_Chg, m_Chi2, mkfit::MkBase::m_Err, m_HoTArr, m_Label, m_Nhits, mkfit::MkBase::m_Par, m_SeedIdx, mkfit::TrackBase::parameters(), and pwdgSkimBPark_cfi::tracks.
void mkfit::MkFitter::inputTracksAndHits | ( | const std::vector< Track > & | tracks, |
const std::vector< HitVec > & | layerHits, | ||
int | beg, | ||
int | end | ||
) |
Definition at line 50 of file MkFitter.cc.
References mkfit::TrackBase::charge(), mkfit::TrackBase::chi2(), Matriplex::Matriplex< T, D1, D2, N >::copyIn(), Matriplex::MatriplexSym< T, D, N >::copyIn(), mkfit::TrackBase::errors(), mkfit::Track::getHitIdx(), mkfit::Track::getHitOnTrack(), mps_fire::i, mkfit::MkBase::iC, mkfit::TrackBase::label(), mkfit::MkBase::m_Chg, m_Chi2, mkfit::MkBase::m_Err, m_HoTArr, m_Label, m_msErr, m_msPar, m_Nhits, mkfit::MkBase::m_Par, mkfit::TrackBase::parameters(), and pwdgSkimBPark_cfi::tracks.
void mkfit::MkFitter::inputTracksAndHits | ( | const std::vector< Track > & | tracks, |
const std::vector< LayerOfHits > & | layerHits, | ||
int | beg, | ||
int | end | ||
) |
Definition at line 86 of file MkFitter.cc.
References mkfit::TrackBase::charge(), mkfit::TrackBase::chi2(), Matriplex::Matriplex< T, D1, D2, N >::copyIn(), Matriplex::MatriplexSym< T, D, N >::copyIn(), mkfit::TrackBase::errors(), mkfit::Track::getHitIdx(), mkfit::Track::getHitLyr(), mkfit::Track::getHitOnTrack(), mps_fire::i, mkfit::MkBase::iC, mkfit::TrackBase::label(), mkfit::MkBase::m_Chg, m_Chi2, mkfit::MkBase::m_Err, m_HoTArr, m_Label, m_msErr, m_msPar, m_Nhits, mkfit::MkBase::m_Par, mkfit::TrackBase::parameters(), and pwdgSkimBPark_cfi::tracks.
void mkfit::MkFitter::inputTracksForFit | ( | const std::vector< Track > & | tracks, |
int | beg, | ||
int | end | ||
) |
Definition at line 269 of file MkFitter.cc.
References mkfit::MatriplexPackerSlurpIn< D >::addInput(), mkfit::MatriplexErrParPackerSlurpIn< T, D >::addInput(), mkfit::TrackBase::charge(), mkfit::TrackBase::chi2(), mkfit::Track::getHitsOnTrackArray(), mps_fire::i, mkfit::MkBase::iC, mkfit::TrackBase::label(), mkfit::MkBase::m_Chg, m_Chi2, mkfit::MkBase::m_Err, m_HoTArr, m_Label, mkfit::MkBase::m_Par, mkfit::Config::nLayers, mkfit::MatriplexPackerSlurpIn< D >::pack(), mkfit::MatriplexErrParPackerSlurpIn< T, D >::pack(), and pwdgSkimBPark_cfi::tracks.
|
inline |
Definition at line 60 of file MkFitter.h.
References mkfit::MkBase::iC, outputTracks(), and pwdgSkimBPark_cfi::tracks.
void mkfit::MkFitter::outputFittedTracksAndHitIdx | ( | std::vector< Track > & | tracks, |
int | beg, | ||
int | end, | ||
bool | outputProp | ||
) | const |
Definition at line 362 of file MkFitter.cc.
References Matriplex::Matriplex< T, D1, D2, N >::copyOut(), Matriplex::MatriplexSym< T, D, N >::copyOut(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, mkfit::MkBase::m_Chg, m_Chi2, mkfit::MkBase::m_Err, m_HoTArr, m_Label, m_Nhits, mkfit::MkBase::m_Par, and pwdgSkimBPark_cfi::tracks.
|
inline |
Definition at line 64 of file MkFitter.h.
References mkfit::MkBase::iP, outputTracks(), and pwdgSkimBPark_cfi::tracks.
void mkfit::MkFitter::outputTracks | ( | std::vector< Track > & | tracks, |
int | beg, | ||
int | end, | ||
int | iCP | ||
) | const |
Definition at line 345 of file MkFitter.cc.
References Matriplex::Matriplex< T, D1, D2, N >::copyOut(), Matriplex::MatriplexSym< T, D, N >::copyOut(), mps_fire::i, mkfit::MkBase::m_Chg, m_Chi2, mkfit::MkBase::m_Err, m_Label, mkfit::MkBase::m_Par, and pwdgSkimBPark_cfi::tracks.
Referenced by outputFittedTracks(), and outputPropagatedTracks().
void mkfit::MkFitter::printPt | ( | int | idx | ) |
Definition at line 23 of file MkFitter.cc.
References mps_fire::i, heavyIonCSV_trainingSettings::idx, mkfit::MkBase::m_Par, and mkfit::NN.
|
inline |
|
inline |
|
inline |
Definition at line 30 of file MkFitter.h.
References m_Nhits, SiStripPI::min, and mkfit::Config::nMaxTrkHits.
void mkfit::MkFitter::slurpInTracksAndHits | ( | const std::vector< Track > & | tracks, |
const std::vector< HitVec > & | layerHits, | ||
int | beg, | ||
int | end | ||
) |
Definition at line 123 of file MkFitter.cc.
References mkfit::MatriplexErrParPackerSlurpIn< T, D >::addInput(), mkfit::TrackBase::charge(), mkfit::TrackBase::chi2(), data, mps_fire::i, mkfit::MkBase::iC, mkfit::TrackBase::label(), mkfit::MkBase::m_Chg, m_Chi2, mkfit::MkBase::m_Err, m_HoTArr, m_Label, m_msErr, m_msPar, m_Nhits, mkfit::MkBase::m_Par, mkfit::MatriplexErrParPackerSlurpIn< T, D >::pack(), and pwdgSkimBPark_cfi::tracks.
|
private |
Definition at line 80 of file MkFitter.h.
Referenced by inputTracksAndHitIdx().
|
private |
Definition at line 73 of file MkFitter.h.
Referenced by inputSeedsTracksAndHits(), inputTracksAndHitIdx(), inputTracksAndHits(), inputTracksForFit(), outputFittedTracksAndHitIdx(), outputTracks(), and slurpInTracksAndHits().
|
private |
Definition at line 82 of file MkFitter.h.
Referenced by countInvalidHits(), countValidHits(), fitTracksWithInterSlurp(), inputSeedsTracksAndHits(), inputTracksAndHitIdx(), inputTracksAndHits(), inputTracksForFit(), outputFittedTracksAndHitIdx(), and slurpInTracksAndHits().
|
private |
Definition at line 78 of file MkFitter.h.
Referenced by inputSeedsTracksAndHits(), inputTracksAndHitIdx(), inputTracksAndHits(), inputTracksForFit(), outputFittedTracksAndHitIdx(), outputTracks(), and slurpInTracksAndHits().
|
private |
Definition at line 75 of file MkFitter.h.
Referenced by checkAlignment(), fitTracksWithInterSlurp(), inputSeedsTracksAndHits(), inputTracksAndHits(), and slurpInTracksAndHits().
|
private |
Definition at line 76 of file MkFitter.h.
Referenced by checkAlignment(), fitTracksWithInterSlurp(), inputSeedsTracksAndHits(), inputTracksAndHits(), and slurpInTracksAndHits().
|
private |
Definition at line 88 of file MkFitter.h.
Referenced by countInvalidHits(), countValidHits(), fitTracksWithInterSlurp(), inputSeedsTracksAndHits(), inputTracksAndHitIdx(), inputTracksAndHits(), outputFittedTracksAndHitIdx(), setNhits(), and slurpInTracksAndHits().
|
private |
Definition at line 79 of file MkFitter.h.
Referenced by inputTracksAndHitIdx().
|
private |
Definition at line 86 of file MkFitter.h.
|
private |
Definition at line 85 of file MkFitter.h.