#include <MkFinder.h>
Public Types | |
using | MPlexHitIdx = Matriplex::Matriplex< int, MPlexHitIdxMax, 1, NN > |
using | MPlexQHoT = Matriplex::Matriplex< HitOnTrack, 1, 1, NN > |
Public Member Functions | |
void | addBestHit (const LayerOfHits &layer_of_hits, const int N_proc, const FindingFoos &fnd_foos) |
HitOnTrack | bestHitLastHoT (int itrack) const |
void | bkFitFitTracks (const EventOfHits &eventofhits, const SteeringParams &st_par, const int N_proc, bool chiDebug=false) |
void | bkFitFitTracksBH (const EventOfHits &eventofhits, const SteeringParams &st_par, const int N_proc, bool chiDebug=false) |
void | bkFitInputTracks (TrackVec &cands, int beg, int end) |
void | bkFitInputTracks (EventOfCombCandidates &eocss, int beg, int end) |
void | bkFitOutputTracks (TrackVec &cands, int beg, int end, bool outputProp) |
void | bkFitOutputTracks (EventOfCombCandidates &eocss, int beg, int end, bool outputProp) |
void | bkFitPropTracksToPCA (const int N_proc) |
void | copyOutParErr (std::vector< CombCandidate > &seed_cand_vec, int N_proc, bool outputProp) const |
void | findCandidates (const LayerOfHits &layer_of_hits, std::vector< std::vector< TrackCand >> &tmp_candidates, const int offset, const int N_proc, const FindingFoos &fnd_foos) |
void | findCandidatesCloneEngine (const LayerOfHits &layer_of_hits, CandCloner &cloner, const int offset, const int N_proc, const FindingFoos &fnd_foos) |
float | getHitSelDynamicChi2Cut (const int itrk, const int ipar) |
void | getHitSelDynamicWindows (const float invpt, const float theta, float &min_dq, float &max_dq, float &min_dphi, float &max_dphi) |
void | inputTracksAndHitIdx (const std::vector< Track > &tracks, int beg, int end, bool inputProp) |
void | inputTracksAndHitIdx (const std::vector< Track > &tracks, const std::vector< int > &idxs, int beg, int end, bool inputProp, int mp_offset) |
void | inputTracksAndHitIdx (const std::vector< CombCandidate > &tracks, const std::vector< std::pair< int, int >> &idxs, int beg, int end, bool inputProp) |
void | inputTracksAndHitIdx (const std::vector< CombCandidate > &tracks, const std::vector< std::pair< int, IdxChi2List >> &idxs, int beg, int end, bool inputProp) |
void | inputTracksAndHits (const std::vector< CombCandidate > &tracks, const LayerOfHits &layer_of_hits, const std::vector< UpdateIndices > &idxs, int beg, int end, bool inputProp) |
MkFinder () | |
void | outputNonStoppedTracksAndHitIdx (std::vector< Track > &tracks, const std::vector< int > &idxs, int beg, int end, bool outputProp) const |
void | outputTrackAndHitIdx (Track &track, int itrack, bool outputProp) const |
void | outputTracksAndHitIdx (std::vector< Track > &tracks, int beg, int end, bool outputProp) const |
void | outputTracksAndHitIdx (std::vector< Track > &tracks, const std::vector< int > &idxs, int beg, int end, bool outputProp) const |
void | release () |
void | selectHitIndices (const LayerOfHits &layer_of_hits, const int N_proc) |
void | setup (const PropagationConfig &pc, const IterationParams &ip, const IterationLayerConfig &ilc, const std::vector< bool > *ihm) |
void | setup_bkfit (const PropagationConfig &pc) |
void | updateWithLoadedHit (int N_proc, const FindingFoos &fnd_foos) |
Public Member Functions inherited from mkfit::MkBase | |
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 |
Static Public Attributes | |
static constexpr int | MPlexHitIdxMax = 16 |
Static Public Attributes inherited from mkfit::MkBase | |
static constexpr int | iC = 0 |
static constexpr int | iP = 1 |
Private Member Functions | |
void | add_hit (const int mslot, int index, int layer) |
void | copy_in (const Track &trk, const int mslot, const int tslot) |
void | copy_in (const TrackCand &trk, const int mslot, const int tslot) |
void | copy_out (Track &trk, const int mslot, const int tslot) const |
void | copy_out (TrackCand &trk, const int mslot, const int tslot) const |
int | num_all_minus_one_hits (const int mslot) const |
int | num_inside_minus_one_hits (const int mslot) const |
Private Attributes | |
MPlexQI | m_CandIdx |
MPlexQF | m_Chi2 |
CombCandidate * | m_CombCand [NN] |
int | m_CurHit [NN] |
int | m_CurNode [NN] |
const HitOnTrack * | m_HoTArr [NN] |
HitOnTrack | m_HoTArrs [NN][Config::nMaxTrkHits] |
const HoTNode * | m_HoTNodeArr [NN] |
const std::vector< bool > * | m_iteration_hit_mask = nullptr |
const IterationLayerConfig * | m_iteration_layer_config = nullptr |
const IterationParams * | m_iteration_params = nullptr |
MPlexQI | m_Label |
MPlexQI | m_LastHitCcIndex |
MPlexHS | m_msErr |
MPlexHV | m_msPar |
MPlexQI | m_NFoundHits |
MPlexQI | m_NHits |
MPlexQI | m_NInsideMinusOneHits |
MPlexQI | m_NMissingHits |
MPlexQI | m_NOverlapHits |
MPlexQI | m_NTailMinusOneHits |
const PropagationConfig * | m_prop_config = nullptr |
MPlexQI | m_SeedIdx |
MPlexQI | m_Stopped |
TrackCand * | m_TrkCand [NN] |
TrackBase::Status | m_TrkStatus [NN] |
MPlexHitIdx | m_XHitArr |
MPlexQI | m_XHitSize |
WSR_Result | m_XWsrResult [NN] |
Friends | |
class | MkBuilder |
Additional Inherited Members | |
Protected Attributes inherited from mkfit::MkBase | |
MPlexQI | m_Chg |
MPlexLS | m_Err [2] |
MPlexLV | m_Par [2] |
Definition at line 39 of file MkFinder.h.
using mkfit::MkFinder::MPlexHitIdx = Matriplex::Matriplex<int, MPlexHitIdxMax, 1, NN> |
Definition at line 45 of file MkFinder.h.
using mkfit::MkFinder::MPlexQHoT = Matriplex::Matriplex<HitOnTrack, 1, 1, NN> |
Definition at line 46 of file MkFinder.h.
|
inline |
Definition at line 50 of file MkFinder.h.
|
inlineprivate |
Definition at line 234 of file MkFinder.h.
References phase1PixelTopology::layer, L1DTConfigBti_cff::LH, m_HoTArrs, m_NFoundHits, m_NHits, m_NInsideMinusOneHits, m_NTailMinusOneHits, and mkfit::Config::nMaxTrkHits.
Referenced by addBestHit().
void mkfit::MkFinder::addBestHit | ( | const LayerOfHits & | layer_of_hits, |
const int | N_proc, | ||
const FindingFoos & | fnd_foos | ||
) |
Definition at line 697 of file MkFinder.cc.
References funct::abs(), add_hit(), Matriplex::Matriplex< T, D1, D2, N >::At(), hltPixelTracks_cff::chi2, Matriplex::Matriplex< T, D1, D2, N >::copyIn(), Matriplex::MatriplexSym< T, D, N >::copyIn(), dprint, mkfit::PropagationConfig::finding_intra_layer_pflags, mkfit::PropagationConfig::finding_requires_propagation_to_hit_pos, getHitSelDynamicChi2Cut(), mkfit::LayerOfHits::hitArray(), mkfit::MkBase::iC, mkfit::MkBase::iP, mkfit::Hit::kHitEdgeIdx, mkfit::Hit::kHitMissIdx, mkfit::Hit::kHitStopIdx, mkfit::LayerOfHits::layer_id(), mkfit::MkBase::m_Chg, m_Chi2, mkfit::FindingFoos::m_compute_chi2_foo, mkfit::MkBase::m_Err, m_msErr, m_msPar, mkfit::MkBase::m_Par, m_prop_config, mkfit::FindingFoos::m_update_param_foo, m_XHitArr, m_XHitSize, m_XWsrResult, SiStripPI::max, reco_skim_cfg_mod::maxSize, MTVHistoProducerAlgoForTrackerBlock_cfi::minChi2, mkfit::NN, num_all_minus_one_hits(), mkfit::LayerOfHits::refHit(), Matriplex::MatriplexSym< T, D, N >::setDiagonal3x3(), mkfit::WSR_Edge, and mkfit::WSR_Outside.
|
inline |
void mkfit::MkFinder::bkFitFitTracks | ( | const EventOfHits & | eventofhits, |
const SteeringParams & | st_par, | ||
const int | N_proc, | ||
bool | chiDebug = false |
||
) |
Definition at line 1613 of file MkFinder.cc.
References Matriplex::Matriplex< T, D1, D2, N >::add(), Matriplex::Matriplex< T, D1, D2, N >::At(), mkfit::PropagationConfig::backward_fit_pflags, Matriplex::Matriplex< T, D1, D2, N >::copyIn(), Matriplex::MatriplexSym< T, D, N >::copyIn(), mps_fire::i, mkfit::MkBase::iC, createfilelist::int, mkfit::MkBase::iP, mkfit::LayerInfo::is_barrel(), mkfit::SteeringParams::iterator::is_valid(), mkfit::TrackBase::isFindable(), CommonMethods::isnan(), mkfit::SteeringParams::IT_BkwFit, mkfit::kalmanOperation(), mkfit::kalmanOperationEndcap(), mkfit::KFO_Calculate_Chi2, mkfit::KFO_Local_Cov, mkfit::KFO_Update_Params, dttmaxenums::L, mkfit::TrackBase::label(), phase1PixelTopology::layer, mkfit::MkBase::m_Chg, m_Chi2, m_CurNode, mkfit::MkBase::m_Err, m_HoTNodeArr, m_msErr, m_msPar, mkfit::MkBase::m_Par, mkfit::HoTNode::m_prev_idx, m_prop_config, m_TrkCand, mkfit::SteeringParams::make_iterator(), mkfit::Hit::mcHitID(), mkfit::MCHitInfo::mcTrackID(), dqmiodumpmetadata::n, mkfit::NN, mkfit::TrackBase::posEta(), mkfit::TrackBase::posPhi(), mkfit::TrackBase::prodType(), mkfit::MkBase::propagateTracksToHitR(), mkfit::MkBase::propagateTracksToHitZ(), mkfit::TrackBase::pT(), and Matriplex::Matriplex< T, D1, D2, N >::setVal().
Referenced by mkfit::MkBuilder::fit_cands().
void mkfit::MkFinder::bkFitFitTracksBH | ( | const EventOfHits & | eventofhits, |
const SteeringParams & | st_par, | ||
const int | N_proc, | ||
bool | chiDebug = false |
||
) |
Definition at line 1476 of file MkFinder.cc.
References Matriplex::Matriplex< T, D1, D2, N >::add(), Matriplex::Matriplex< T, D1, D2, N >::At(), Matriplex::MatriplexSym< T, D, N >::At(), mkfit::PropagationConfig::backward_fit_pflags, Matriplex::Matriplex< T, D1, D2, N >::copyIn(), Matriplex::MatriplexSym< T, D, N >::copyIn(), submitPVResolutionJobs::count, mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, mkfit::LayerInfo::is_barrel(), mkfit::kalmanOperation(), mkfit::kalmanOperationEndcap(), mkfit::KFO_Calculate_Chi2, mkfit::KFO_Local_Cov, mkfit::KFO_Update_Params, dttmaxenums::L, phase1PixelTopology::layer, mkfit::MkBase::m_Chg, m_Chi2, m_CurHit, mkfit::MkBase::m_Err, m_HoTArr, mkfit::SteeringParams::m_layer_plan, m_msErr, m_msPar, mkfit::MkBase::m_Par, m_prop_config, dqmiodumpmetadata::n, mkfit::MkBase::propagateTracksToHitR(), and mkfit::MkBase::propagateTracksToHitZ().
Referenced by mkfit::MkBuilder::fit_cands_BH().
void mkfit::MkFinder::bkFitInputTracks | ( | TrackVec & | cands, |
int | beg, | ||
int | end | ||
) |
Definition at line 1371 of file MkFinder.cc.
References mkfit::MatriplexErrParPackerSlurpIn< T, D >::addInput(), HLT_2022v14_cff::cands, mkfit::TrackBase::charge(), mps_fire::end, f, mkfit::Track::getHitsOnTrackArray(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::m_Chg, m_Chi2, m_CurHit, mkfit::MkBase::m_Err, m_HoTArr, mkfit::MkBase::m_Par, mkfit::Track::nTotalHits(), mkfit::MatriplexErrParPackerSlurpIn< T, D >::pack(), Matriplex::MatriplexSym< T, D, N >::scale(), and Matriplex::Matriplex< T, D1, D2, N >::setVal().
Referenced by mkfit::MkBuilder::fit_cands(), and mkfit::MkBuilder::fit_cands_BH().
void mkfit::MkFinder::bkFitInputTracks | ( | EventOfCombCandidates & | eocss, |
int | beg, | ||
int | end | ||
) |
Definition at line 1395 of file MkFinder.cc.
References mkfit::MatriplexErrParPackerSlurpIn< T, D >::addInput(), mkfit::TrackBase::charge(), mkfit::TrackCand::combCandidate(), mps_fire::end, f, mkfit::CombCandidate::hotsData(), mps_fire::i, mkfit::MkBase::iC, mkfit::TrackCand::lastCcIndex(), mkfit::MkBase::m_Chg, m_Chi2, m_CurNode, mkfit::MkBase::m_Err, m_HoTNodeArr, mkfit::MkBase::m_Par, m_TrkCand, mkfit::MatriplexErrParPackerSlurpIn< T, D >::pack(), Matriplex::MatriplexSym< T, D, N >::scale(), and Matriplex::Matriplex< T, D1, D2, N >::setVal().
void mkfit::MkFinder::bkFitOutputTracks | ( | TrackVec & | cands, |
int | beg, | ||
int | end, | ||
bool | outputProp | ||
) |
Definition at line 1428 of file MkFinder.cc.
References HLT_2022v14_cff::cands, mkfit::TrackBase::chi2(), Matriplex::Matriplex< T, D1, D2, N >::copyOut(), Matriplex::MatriplexSym< T, D, N >::copyOut(), mps_fire::end, mkfit::TrackBase::errors_nc(), mkfit::getScoreCand(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, edm::isFinite(), m_Chi2, mkfit::MkBase::m_Err, mkfit::MkBase::m_Par, mkfit::TrackBase::parameters_nc(), mkfit::TrackBase::setChi2(), and mkfit::TrackBase::setScore().
Referenced by mkfit::MkBuilder::fit_cands(), and mkfit::MkBuilder::fit_cands_BH().
void mkfit::MkFinder::bkFitOutputTracks | ( | EventOfCombCandidates & | eocss, |
int | beg, | ||
int | end, | ||
bool | outputProp | ||
) |
Definition at line 1447 of file MkFinder.cc.
References mkfit::TrackBase::chi2(), Matriplex::Matriplex< T, D1, D2, N >::copyOut(), Matriplex::MatriplexSym< T, D, N >::copyOut(), mps_fire::end, mkfit::TrackBase::errors_nc(), mkfit::getScoreCand(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, edm::isFinite(), m_Chi2, mkfit::MkBase::m_Err, mkfit::MkBase::m_Par, mkfit::TrackBase::parameters_nc(), mkfit::TrackBase::setChi2(), and mkfit::TrackBase::setScore().
void mkfit::MkFinder::bkFitPropTracksToPCA | ( | const int | N_proc | ) |
Definition at line 1780 of file MkFinder.cc.
References m_prop_config, mkfit::PropagationConfig::pca_prop_pflags, and mkfit::MkBase::propagateTracksToPCAZ().
Referenced by mkfit::MkBuilder::fit_cands(), and mkfit::MkBuilder::fit_cands_BH().
|
inlineprivate |
Definition at line 165 of file MkFinder.h.
References mkfit::Track::beginHitsOnTrack(), mkfit::TrackBase::charge(), mkfit::TrackBase::chi2(), filterCSVwithJSON::copy, Matriplex::Matriplex< T, D1, D2, N >::copyIn(), Matriplex::MatriplexSym< T, D, N >::copyIn(), mkfit::Track::endHitsOnTrack(), mkfit::TrackBase::errors(), mkfit::TrackBase::label(), mkfit::MkBase::m_Chg, m_Chi2, mkfit::MkBase::m_Err, m_HoTArrs, m_Label, m_NFoundHits, m_NHits, m_NInsideMinusOneHits, m_NTailMinusOneHits, mkfit::MkBase::m_Par, mkfit::Track::nFoundHits(), mkfit::Track::nInsideMinusOneHits(), mkfit::Track::nTailMinusOneHits(), mkfit::Track::nTotalHits(), and mkfit::TrackBase::parameters().
Referenced by inputTracksAndHitIdx(), and inputTracksAndHits().
|
inlineprivate |
Definition at line 194 of file MkFinder.h.
References mkfit::TrackBase::charge(), mkfit::TrackBase::chi2(), mkfit::TrackCand::combCandidate(), Matriplex::Matriplex< T, D1, D2, N >::copyIn(), Matriplex::MatriplexSym< T, D, N >::copyIn(), mkfit::TrackBase::errors(), mkfit::TrackBase::getStatus(), mkfit::TrackBase::label(), mkfit::TrackCand::lastCcIndex(), mkfit::MkBase::m_Chg, m_Chi2, m_CombCand, mkfit::MkBase::m_Err, m_Label, m_LastHitCcIndex, m_NFoundHits, m_NInsideMinusOneHits, m_NMissingHits, m_NOverlapHits, m_NTailMinusOneHits, mkfit::MkBase::m_Par, m_TrkStatus, mkfit::TrackCand::nFoundHits(), mkfit::TrackCand::nInsideMinusOneHits(), mkfit::TrackCand::nMissingHits(), mkfit::TrackCand::nOverlapHits(), mkfit::TrackCand::nTailMinusOneHits(), and mkfit::TrackBase::parameters().
|
inlineprivate |
Definition at line 182 of file MkFinder.h.
References mkfit::Track::beginHitsOnTrack_nc(), filterCSVwithJSON::copy, Matriplex::Matriplex< T, D1, D2, N >::copyOut(), Matriplex::MatriplexSym< T, D, N >::copyOut(), mkfit::TrackBase::errors_nc(), mkfit::MkBase::m_Chg, m_Chi2, mkfit::MkBase::m_Err, m_HoTArrs, m_Label, m_NFoundHits, m_NHits, mkfit::MkBase::m_Par, mkfit::TrackBase::parameters_nc(), mkfit::Track::resizeHits(), mkfit::TrackBase::setCharge(), mkfit::TrackBase::setChi2(), and mkfit::TrackBase::setLabel().
Referenced by findCandidates(), outputNonStoppedTracksAndHitIdx(), outputTrackAndHitIdx(), and outputTracksAndHitIdx().
|
inlineprivate |
Definition at line 214 of file MkFinder.h.
References Matriplex::Matriplex< T, D1, D2, N >::copyOut(), Matriplex::MatriplexSym< T, D, N >::copyOut(), mkfit::TrackBase::errors_nc(), mkfit::MkBase::m_Chg, m_Chi2, m_CombCand, mkfit::MkBase::m_Err, m_Label, m_LastHitCcIndex, m_NFoundHits, m_NInsideMinusOneHits, m_NMissingHits, m_NOverlapHits, m_NTailMinusOneHits, mkfit::MkBase::m_Par, m_TrkStatus, mkfit::TrackBase::parameters_nc(), mkfit::TrackBase::setCharge(), mkfit::TrackBase::setChi2(), mkfit::TrackCand::setCombCandidate(), mkfit::TrackBase::setLabel(), mkfit::TrackCand::setLastCcIndex(), mkfit::TrackCand::setNFoundHits(), mkfit::TrackCand::setNInsideMinusOneHits(), mkfit::TrackCand::setNMissingHits(), mkfit::TrackCand::setNOverlapHits(), mkfit::TrackCand::setNTailMinusOneHits(), and mkfit::TrackBase::setStatus().
void mkfit::MkFinder::copyOutParErr | ( | std::vector< CombCandidate > & | seed_cand_vec, |
int | N_proc, | ||
bool | outputProp | ||
) | const |
Definition at line 1350 of file MkFinder.cc.
References Matriplex::Matriplex< T, D1, D2, N >::copyOut(), Matriplex::MatriplexSym< T, D, N >::copyOut(), dprint, mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, m_CandIdx, mkfit::MkBase::m_Chg, mkfit::MkBase::m_Err, mkfit::MkBase::m_Par, and m_SeedIdx.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
void mkfit::MkFinder::findCandidates | ( | const LayerOfHits & | layer_of_hits, |
std::vector< std::vector< TrackCand >> & | tmp_candidates, | ||
const int | offset, | ||
const int | N_proc, | ||
const FindingFoos & | fnd_foos | ||
) |
Definition at line 905 of file MkFinder.cc.
References funct::abs(), mkfit::TrackCand::addHitIdx(), Matriplex::Matriplex< T, D1, D2, N >::At(), hltPixelTracks_cff::chi2, mkfit::TrackCand::combCandidate(), Matriplex::Matriplex< T, D1, D2, N >::constAt(), copy_out(), mkfit::Hit::detIDinLayer(), dprint, dprintf, mkfit::PropagationConfig::finding_intra_layer_pflags, mkfit::PropagationConfig::finding_requires_propagation_to_hit_pos, getHitSelDynamicChi2Cut(), mkfit::getScoreCand(), mkfit::LayerOfHits::hitArray(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, mkfit::LayerOfHits::is_barrel(), mkfit::LayerOfHits::is_pixel(), mkfit::isStripQCompatible(), mkfit::Hit::kHitEdgeIdx, mkfit::Hit::kHitInGapIdx, mkfit::Hit::kHitMaxClusterIdx, mkfit::Hit::kHitMissIdx, mkfit::Hit::kHitStopIdx, phase1PixelTopology::layer, mkfit::LayerOfHits::layer_id(), m_CandIdx, mkfit::MkBase::m_Chg, mkfit::FindingFoos::m_compute_chi2_foo, mkfit::MkBase::m_Err, m_HoTArrs, m_iteration_params, m_msErr, m_msPar, m_NFoundHits, m_NTailMinusOneHits, mkfit::MkBase::m_Par, m_prop_config, m_SeedIdx, mkfit::FindingFoos::m_update_param_foo, m_XHitArr, m_XHitSize, m_XWsrResult, SiStripPI::max, mkfit::IterationParams::maxClusterSize, mkfit::IterationParams::maxConsecHoles, NuclearSeed_cfi::maxHits, mkfit::IterationParams::maxHolesPerCand, reco_skim_cfg_mod::maxSize, mkfit::Hit::minChargePerCM(), mkfit::NN, num_all_minus_one_hits(), hltrates_dqm_sourceclient-live_cfg::offset, mkfit::TrackBase::parameters(), mkfit::passStripChargePCMfromTrack(), mkfit::LayerOfHits::refHit(), mkfit::TrackBase::setCharge(), mkfit::TrackCand::setOriginIndex(), mkfit::TrackBase::setScore(), mkfit::WSR_Edge, and mkfit::WSR_Outside.
void mkfit::MkFinder::findCandidatesCloneEngine | ( | const LayerOfHits & | layer_of_hits, |
CandCloner & | cloner, | ||
const int | offset, | ||
const int | N_proc, | ||
const FindingFoos & | fnd_foos | ||
) |
Definition at line 1143 of file MkFinder.cc.
References funct::abs(), mkfit::CandCloner::add_cand(), Matriplex::Matriplex< T, D1, D2, N >::At(), hltPixelTracks_cff::chi2, mkfit::IdxChi2List::chi2, mkfit::IdxChi2List::chi2_hit, mkfit::CandCloner::combCandWithOriginalIndex(), mkfit::Hit::detIDinLayer(), dprint, dprintf, f, mkfit::PropagationConfig::finding_intra_layer_pflags, mkfit::PropagationConfig::finding_requires_propagation_to_hit_pos, getHitSelDynamicChi2Cut(), mkfit::getScoreStruct(), mkfit::LayerOfHits::hitArray(), mkfit::IdxChi2List::hitIdx, mkfit::CombCandidate::hot(), mps_fire::i, mkfit::MkBase::iP, mkfit::LayerOfHits::is_barrel(), mkfit::LayerOfHits::is_pixel(), mkfit::isStripQCompatible(), mkfit::Hit::kHitEdgeIdx, mkfit::Hit::kHitInGapIdx, mkfit::Hit::kHitMaxClusterIdx, mkfit::Hit::kHitMissIdx, mkfit::Hit::kHitStopIdx, mkfit::HitOnTrack::layer, mkfit::LayerOfHits::layer_id(), m_CandIdx, mkfit::MkBase::m_Chg, m_Chi2, mkfit::FindingFoos::m_compute_chi2_foo, mkfit::MkBase::m_Err, m_iteration_params, m_Label, m_msErr, m_msPar, m_NFoundHits, m_NOverlapHits, m_NTailMinusOneHits, mkfit::MkBase::m_Par, m_prop_config, m_SeedIdx, m_XHitArr, m_XHitSize, m_XWsrResult, SiStripPI::max, mkfit::IterationParams::maxClusterSize, mkfit::IterationParams::maxConsecHoles, NuclearSeed_cfi::maxHits, mkfit::IterationParams::maxHolesPerCand, reco_skim_cfg_mod::maxSize, mkfit::Hit::minChargePerCM(), mkfit::IdxChi2List::module, mkfit::IdxChi2List::nhits, mkfit::IdxChi2List::nholes, mkfit::NN, mkfit::IdxChi2List::noverlaps, mkfit::IdxChi2List::ntailholes, num_all_minus_one_hits(), num_inside_minus_one_hits(), hltrates_dqm_sourceclient-live_cfg::offset, mkfit::passStripChargePCMfromTrack(), mkfit::IdxChi2List::pt, mkfit::LayerOfHits::refHit(), mkfit::IdxChi2List::score, mkfit::IdxChi2List::trkIdx, mkfit::WSR_Edge, and mkfit::WSR_Outside.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
|
inline |
Definition at line 237 of file MkFinder.cc.
References funct::abs(), Matriplex::Matriplex< T, D1, D2, N >::At(), mkfit::IterationLayerConfig::c_c2_0, mkfit::IterationLayerConfig::c_c2_1, mkfit::IterationLayerConfig::c_c2_2, mkfit::IterationLayerConfig::c_c2_sf, mkfit::IterationParams::chi2Cut_min, m_iteration_layer_config, m_iteration_params, mkfit::MkBase::m_Par, mkfit::Const::PIOver2, and theta().
Referenced by addBestHit(), findCandidates(), and findCandidatesCloneEngine().
void mkfit::MkFinder::getHitSelDynamicWindows | ( | const float | invpt, |
const float | theta, | ||
float & | min_dq, | ||
float & | max_dq, | ||
float & | min_dphi, | ||
float & | max_dphi | ||
) |
Definition at line 200 of file MkFinder.cc.
References mkfit::IterationLayerConfig::c_dp_0, mkfit::IterationLayerConfig::c_dp_1, mkfit::IterationLayerConfig::c_dp_2, mkfit::IterationLayerConfig::c_dp_sf, mkfit::IterationLayerConfig::c_dq_0, mkfit::IterationLayerConfig::c_dq_1, mkfit::IterationLayerConfig::c_dq_2, mkfit::IterationLayerConfig::c_dq_sf, m_iteration_layer_config, and theta().
Referenced by selectHitIndices().
void mkfit::MkFinder::inputTracksAndHitIdx | ( | const std::vector< Track > & | tracks, |
int | beg, | ||
int | end, | ||
bool | inputProp | ||
) |
Definition at line 59 of file MkFinder.cc.
References copy_in(), mps_fire::end, mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, and tracks.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
void mkfit::MkFinder::inputTracksAndHitIdx | ( | const std::vector< Track > & | tracks, |
const std::vector< int > & | idxs, | ||
int | beg, | ||
int | end, | ||
bool | inputProp, | ||
int | mp_offset | ||
) |
Definition at line 72 of file MkFinder.cc.
References copy_in(), mps_fire::end, mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, and tracks.
void mkfit::MkFinder::inputTracksAndHitIdx | ( | const std::vector< CombCandidate > & | tracks, |
const std::vector< std::pair< int, int >> & | idxs, | ||
int | beg, | ||
int | end, | ||
bool | inputProp | ||
) |
Definition at line 86 of file MkFinder.cc.
References copy_in(), mps_fire::end, mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, m_CandIdx, m_SeedIdx, and tracks.
void mkfit::MkFinder::inputTracksAndHitIdx | ( | const std::vector< CombCandidate > & | tracks, |
const std::vector< std::pair< int, IdxChi2List >> & | idxs, | ||
int | beg, | ||
int | end, | ||
bool | inputProp | ||
) |
Definition at line 145 of file MkFinder.cc.
References copy_in(), mps_fire::end, mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, m_CandIdx, m_SeedIdx, and tracks.
void mkfit::MkFinder::inputTracksAndHits | ( | const std::vector< CombCandidate > & | tracks, |
const LayerOfHits & | layer_of_hits, | ||
const std::vector< UpdateIndices > & | idxs, | ||
int | beg, | ||
int | end, | ||
bool | inputProp | ||
) |
Definition at line 113 of file MkFinder.cc.
References copy_in(), Matriplex::Matriplex< T, D1, D2, N >::copyIn(), Matriplex::MatriplexSym< T, D, N >::copyIn(), mps_fire::end, mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, m_CandIdx, m_msErr, m_msPar, m_SeedIdx, mkfit::LayerOfHits::refHit(), and tracks.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
|
inlineprivate |
Definition at line 268 of file MkFinder.h.
References m_NInsideMinusOneHits, and m_NTailMinusOneHits.
Referenced by addBestHit(), findCandidates(), and findCandidatesCloneEngine().
|
inlineprivate |
Definition at line 272 of file MkFinder.h.
References m_NInsideMinusOneHits.
Referenced by findCandidatesCloneEngine().
|
inline |
Definition at line 99 of file MkFinder.h.
References copy_out(), mps_fire::end, mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, m_Stopped, and tracks.
|
inline |
Definition at line 94 of file MkFinder.h.
References copy_out(), mkfit::MkBase::iC, mkfit::MkBase::iP, and HLT_2022v14_cff::track.
void mkfit::MkFinder::outputTracksAndHitIdx | ( | std::vector< Track > & | tracks, |
int | beg, | ||
int | end, | ||
bool | outputProp | ||
) | const |
Definition at line 172 of file MkFinder.cc.
References copy_out(), mps_fire::end, mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, and tracks.
void mkfit::MkFinder::outputTracksAndHitIdx | ( | std::vector< Track > & | tracks, |
const std::vector< int > & | idxs, | ||
int | beg, | ||
int | end, | ||
bool | outputProp | ||
) | const |
Definition at line 183 of file MkFinder.cc.
References copy_out(), mps_fire::end, mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, and tracks.
void mkfit::MkFinder::release | ( | ) |
Definition at line 48 of file MkFinder.cc.
References m_iteration_hit_mask, m_iteration_layer_config, m_iteration_params, and m_prop_config.
Referenced by mkfit::MkBuilder::fit_cands().
void mkfit::MkFinder::selectHitIndices | ( | const LayerOfHits & | layer_of_hits, |
const int | N_proc | ||
) |
Definition at line 260 of file MkFinder.cc.
References funct::abs(), cms::cuda::assert(), Matriplex::Matriplex< T, D1, D2, N >::At(), Matriplex::MatriplexSym< T, D, N >::At(), mkfit::cdist(), mkfit::TrackBase::charge(), Matriplex::Matriplex< T, D1, D2, N >::constAt(), Matriplex::MatriplexSym< T, D, N >::constAt(), Matriplex::Matriplex< T, D1, D2, N >::copyIn(), Matriplex::MatriplexSym< T, D, N >::copyIn(), dprint, dprintf, l1ctLayer1_cff::dr, PVValHelper::dz, mkfit::Hit::ephi(), mkfit::Hit::errArray(), mkfit::Hit::exx(), mkfit::Hit::eyy(), mkfit::Hit::ezz(), f, mkfit::PropagationConfig::finding_intra_layer_pflags, mkfit::PropagationConfig::finding_requires_propagation_to_hit_pos, first, mkfit::FindingFoos::get_finding_foos(), mkfit::getEta(), getHitSelDynamicWindows(), mkfit::getPhi(), mps_fire::i, createfilelist::int, mkfit::MkBase::iP, mkfit::TrackBase::isFindable(), CommonMethods::isnan(), dttmaxenums::L, mkfit::TrackBase::label(), m_CandIdx, mkfit::MkBase::m_Chg, m_Chi2, mkfit::FindingFoos::m_compute_chi2_foo, mkfit::MkBase::m_Err, mkfit::WSR_Result::m_in_gap, m_iteration_hit_mask, m_iteration_layer_config, m_iteration_params, m_Label, m_msErr, m_msPar, m_NFoundHits, mkfit::MkBase::m_Par, m_prop_config, m_SeedIdx, m_XHitArr, m_XHitSize, m_XWsrResult, SiStripPI::max, mkfit::IterationLayerConfig::max_dphi(), mkfit::IterationLayerConfig::max_dq(), mkfit::IterationParams::maxConsecHoles, mkfit::IterationParams::maxHolesPerCand, mkfit::MCHitInfo::mcTrackID(), mkfit::IterationLayerConfig::min_dphi(), mkfit::IterationLayerConfig::min_dq(), mkfit::TrackBase::momEta(), mkfit::TrackBase::momPhi(), MPlexHitIdxMax, mkfit::NN, nSigmaPhi, HLT_2022v14_cff::nSigmaZ, mkfit::Track::nTotalHits(), pi, mkfit::Const::PIOver2, mkfit::Hit::posArray(), mkfit::TrackBase::posR(), funct::pow(), mkfit::TrackBase::prodType(), mkfit::TrackBase::pT(), submitPVResolutionJobs::q, alignCSCRings::r, diffTwoXMLs::r2, funct::sin(), mathSSE::sqrt(), funct::tan(), cuy::tex, theta(), mkfit::Config::usePhiQArrays, mkfit::WSR_Outside, x, mkfit::Hit::x(), mkfit::Hit::y(), mkfit::TrackBase::z(), and mkfit::Hit::z().
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
void mkfit::MkFinder::setup | ( | const PropagationConfig & | pc, |
const IterationParams & | ip, | ||
const IterationLayerConfig & | ilc, | ||
const std::vector< bool > * | ihm | ||
) |
Definition at line 36 of file MkFinder.cc.
References m_iteration_hit_mask, m_iteration_layer_config, m_iteration_params, and m_prop_config.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
void mkfit::MkFinder::setup_bkfit | ( | const PropagationConfig & | pc | ) |
Definition at line 46 of file MkFinder.cc.
References m_prop_config.
Referenced by mkfit::MkBuilder::fit_cands().
void mkfit::MkFinder::updateWithLoadedHit | ( | int | N_proc, |
const FindingFoos & | fnd_foos | ||
) |
Definition at line 1331 of file MkFinder.cc.
References mkfit::PropagationConfig::finding_inter_layer_pflags, mkfit::PropagationConfig::finding_requires_propagation_to_hit_pos, mkfit::MkBase::iC, mkfit::MkBase::iP, mkfit::MkBase::m_Chg, mkfit::MkBase::m_Err, m_msErr, m_msPar, mkfit::MkBase::m_Par, m_prop_config, and mkfit::FindingFoos::m_update_param_foo.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
|
friend |
Definition at line 40 of file MkFinder.h.
|
private |
Definition at line 291 of file MkFinder.h.
Referenced by copyOutParErr(), findCandidates(), findCandidatesCloneEngine(), inputTracksAndHitIdx(), inputTracksAndHits(), and selectHitIndices().
|
private |
Definition at line 276 of file MkFinder.h.
Referenced by addBestHit(), bkFitFitTracks(), bkFitFitTracksBH(), bkFitInputTracks(), bkFitOutputTracks(), copy_in(), copy_out(), findCandidatesCloneEngine(), mkfit::MkBuilder::fit_cands_BH(), and selectHitIndices().
|
private |
Definition at line 305 of file MkFinder.h.
Referenced by copy_in(), and copy_out().
|
private |
Definition at line 332 of file MkFinder.h.
Referenced by bkFitFitTracksBH(), and bkFitInputTracks().
|
private |
Definition at line 334 of file MkFinder.h.
Referenced by bkFitFitTracks(), and bkFitInputTracks().
|
private |
Definition at line 333 of file MkFinder.h.
Referenced by bkFitFitTracksBH(), and bkFitInputTracks().
|
private |
Definition at line 282 of file MkFinder.h.
Referenced by add_hit(), bestHitLastHoT(), copy_in(), copy_out(), and findCandidates().
Definition at line 335 of file MkFinder.h.
Referenced by bkFitFitTracks(), and bkFitInputTracks().
|
private |
Definition at line 329 of file MkFinder.h.
Referenced by release(), selectHitIndices(), and setup().
|
private |
Definition at line 328 of file MkFinder.h.
Referenced by getHitSelDynamicChi2Cut(), getHitSelDynamicWindows(), release(), selectHitIndices(), and setup().
|
private |
Definition at line 327 of file MkFinder.h.
Referenced by findCandidates(), findCandidatesCloneEngine(), getHitSelDynamicChi2Cut(), release(), selectHitIndices(), and setup().
|
private |
Definition at line 277 of file MkFinder.h.
Referenced by copy_in(), copy_out(), mkfit::MkBuilder::find_tracks_in_layers(), findCandidatesCloneEngine(), and selectHitIndices().
|
private |
Definition at line 303 of file MkFinder.h.
Referenced by copy_in(), and copy_out().
|
private |
Definition at line 316 of file MkFinder.h.
Referenced by addBestHit(), bkFitFitTracks(), bkFitFitTracksBH(), findCandidates(), findCandidatesCloneEngine(), inputTracksAndHits(), selectHitIndices(), and updateWithLoadedHit().
|
private |
Definition at line 317 of file MkFinder.h.
Referenced by addBestHit(), bkFitFitTracks(), bkFitFitTracksBH(), findCandidates(), findCandidatesCloneEngine(), inputTracksAndHits(), selectHitIndices(), and updateWithLoadedHit().
|
private |
Definition at line 280 of file MkFinder.h.
Referenced by add_hit(), copy_in(), copy_out(), findCandidates(), findCandidatesCloneEngine(), and selectHitIndices().
|
private |
Definition at line 279 of file MkFinder.h.
Referenced by add_hit(), bestHitLastHoT(), copy_in(), and copy_out().
|
private |
Definition at line 301 of file MkFinder.h.
Referenced by add_hit(), copy_in(), copy_out(), num_all_minus_one_hits(), and num_inside_minus_one_hits().
|
private |
Definition at line 299 of file MkFinder.h.
Referenced by copy_in(), and copy_out().
|
private |
Definition at line 300 of file MkFinder.h.
Referenced by copy_in(), copy_out(), and findCandidatesCloneEngine().
|
private |
Definition at line 302 of file MkFinder.h.
Referenced by add_hit(), copy_in(), copy_out(), findCandidates(), findCandidatesCloneEngine(), and num_all_minus_one_hits().
|
private |
Definition at line 326 of file MkFinder.h.
Referenced by addBestHit(), bkFitFitTracks(), bkFitFitTracksBH(), bkFitPropTracksToPCA(), findCandidates(), findCandidatesCloneEngine(), release(), selectHitIndices(), setup(), setup_bkfit(), and updateWithLoadedHit().
|
private |
Definition at line 290 of file MkFinder.h.
Referenced by copyOutParErr(), findCandidates(), findCandidatesCloneEngine(), inputTracksAndHitIdx(), inputTracksAndHits(), and selectHitIndices().
|
private |
Definition at line 293 of file MkFinder.h.
Referenced by outputNonStoppedTracksAndHitIdx().
Definition at line 308 of file MkFinder.h.
Referenced by bkFitFitTracks(), and bkFitInputTracks().
|
private |
Definition at line 304 of file MkFinder.h.
Referenced by copy_in(), and copy_out().
|
private |
Definition at line 313 of file MkFinder.h.
Referenced by addBestHit(), findCandidates(), findCandidatesCloneEngine(), and selectHitIndices().
|
private |
Definition at line 312 of file MkFinder.h.
Referenced by addBestHit(), mkfit::MkBuilder::find_tracks_handle_missed_layers(), findCandidates(), findCandidatesCloneEngine(), and selectHitIndices().
|
private |
Definition at line 311 of file MkFinder.h.
Referenced by addBestHit(), mkfit::MkBuilder::find_tracks_handle_missed_layers(), findCandidates(), findCandidatesCloneEngine(), and selectHitIndices().
|
static |
Definition at line 43 of file MkFinder.h.
Referenced by selectHitIndices().