#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 SteeringParams &sp, const std::vector< bool > *ihm, bool infwd) |
void | setup_bkfit (const PropagationConfig &pc, const SteeringParams &sp) |
void | updateWithLoadedHit (int N_proc, const FindingFoos &fnd_foos) |
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 |
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 |
void | print_par_err (int corp, 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] |
bool | m_in_fwd = true |
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 |
const SteeringParams * | m_steering_params = nullptr |
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] |
MPlexQI | m_FailFlag |
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 236 of file MkFinder.h.
References nano_mu_digi_cff::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 701 of file MkFinder.cc.
References funct::abs(), add_hit(), Matriplex::Matriplex< T, D1, D2, N >::At(), nano_mu_local_reco_cff::chi2, mkfit::MkBase::clearFailFlag(), 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, mkfit::MkBase::m_FailFlag, 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 1669 of file MkFinder.cc.
References funct::abs(), Matriplex::Matriplex< T, D1, D2, N >::add(), Matriplex::Matriplex< T, D1, D2, N >::At(), mkfit::PropagationConfig::backward_fit_pflags, mkfit::MkBase::clearFailFlag(), Matriplex::Matriplex< T, D1, D2, N >::copyIn(), Matriplex::MatriplexSym< T, D, N >::copyIn(), debug, dprintf, 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(), mkfit::LayerInfo::layer_id(), mkfit::MkBase::m_Chg, m_Chi2, m_CurNode, mkfit::MkBase::m_Err, mkfit::MkBase::m_FailFlag, 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(), mkfit::NN, mkfit::TrackBase::posEta(), mkfit::TrackBase::posPhi(), print_par_err(), 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 1516 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, 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 1411 of file MkFinder.cc.
References mkfit::MatriplexErrParPackerSlurpIn< T, D >::addInput(), HLT_2023v12_cff::cands, mkfit::TrackBase::charge(), 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 1435 of file MkFinder.cc.
References mkfit::MatriplexErrParPackerSlurpIn< T, D >::addInput(), mkfit::TrackBase::charge(), mkfit::TrackCand::combCandidate(), 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 1468 of file MkFinder.cc.
References HLT_2023v12_cff::cands, mkfit::TrackBase::chi2(), Matriplex::Matriplex< T, D1, D2, N >::copyOut(), Matriplex::MatriplexSym< T, D, N >::copyOut(), mkfit::TrackBase::errors_nc(), mkfit::getScoreCand(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, mkfit::isFinite(), m_Chi2, mkfit::MkBase::m_Err, mkfit::MkBase::m_Par, m_steering_params, mkfit::SteeringParams::m_track_scorer, 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 1487 of file MkFinder.cc.
References mkfit::TrackBase::chi2(), Matriplex::Matriplex< T, D1, D2, N >::copyOut(), Matriplex::MatriplexSym< T, D, N >::copyOut(), mkfit::TrackBase::errors_nc(), mkfit::getScoreCand(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, mkfit::isFinite(), m_Chi2, mkfit::MkBase::m_Err, mkfit::MkBase::m_Par, m_steering_params, mkfit::SteeringParams::m_track_scorer, mkfit::TrackBase::parameters_nc(), mkfit::TrackBase::setChi2(), and mkfit::TrackBase::setScore().
void mkfit::MkFinder::bkFitPropTracksToPCA | ( | const int | N_proc | ) |
Definition at line 1897 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 167 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 196 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 184 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 216 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 1390 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 913 of file MkFinder.cc.
References funct::abs(), mkfit::TrackCand::addHitIdx(), Matriplex::Matriplex< T, D1, D2, N >::At(), nano_mu_local_reco_cff::chi2, mkfit::MkBase::clearFailFlag(), 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, mkfit::LayerOfHits::layer_id(), m_CandIdx, mkfit::MkBase::m_Chg, mkfit::FindingFoos::m_compute_chi2_foo, mkfit::MkBase::m_Err, mkfit::MkBase::m_FailFlag, m_HoTArrs, m_iteration_params, m_msErr, m_msPar, m_NFoundHits, m_NTailMinusOneHits, mkfit::MkBase::m_Par, m_prop_config, m_SeedIdx, m_steering_params, mkfit::SteeringParams::m_track_scorer, 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 | ||
) |
m_FailFlag[itrack] &&
Definition at line 1159 of file MkFinder.cc.
References funct::abs(), mkfit::CandCloner::add_cand(), Matriplex::Matriplex< T, D1, D2, N >::At(), mkfit::IdxChi2List::chi2, nano_mu_local_reco_cff::chi2, mkfit::IdxChi2List::chi2_hit, mkfit::MkBase::clearFailFlag(), 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, mkfit::MkBase::m_FailFlag, 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_steering_params, mkfit::SteeringParams::m_track_scorer, 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 225 of file MkFinder.cc.
References funct::abs(), Matriplex::Matriplex< T, D1, D2, N >::At(), mkfit::IterationParams::chi2Cut_min, f, mkfit::IterationLayerConfig::get_window_params(), m_in_fwd, m_iteration_layer_config, m_iteration_params, mkfit::MkBase::m_Par, SiStripPI::min, mkfit::Const::PIOver2, theta(), and findQualityFiles::v.
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 194 of file MkFinder.cc.
References f, mkfit::IterationLayerConfig::get_window_params(), m_in_fwd, m_iteration_layer_config, SiStripPI::min, theta(), and findQualityFiles::v.
Referenced by selectHitIndices().
void mkfit::MkFinder::inputTracksAndHitIdx | ( | const std::vector< Track > & | tracks, |
int | beg, | ||
int | end, | ||
bool | inputProp | ||
) |
Definition at line 53 of file MkFinder.cc.
References copy_in(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, and pwdgSkimBPark_cfi::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 66 of file MkFinder.cc.
References copy_in(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, and pwdgSkimBPark_cfi::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 80 of file MkFinder.cc.
References copy_in(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, m_CandIdx, m_SeedIdx, and pwdgSkimBPark_cfi::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 139 of file MkFinder.cc.
References copy_in(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, m_CandIdx, m_SeedIdx, and pwdgSkimBPark_cfi::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 107 of file MkFinder.cc.
References copy_in(), Matriplex::Matriplex< T, D1, D2, N >::copyIn(), Matriplex::MatriplexSym< T, D, N >::copyIn(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, m_CandIdx, m_msErr, m_msPar, m_SeedIdx, mkfit::LayerOfHits::refHit(), and pwdgSkimBPark_cfi::tracks.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
|
inlineprivate |
Definition at line 270 of file MkFinder.h.
References m_NInsideMinusOneHits, and m_NTailMinusOneHits.
Referenced by addBestHit(), findCandidates(), and findCandidatesCloneEngine().
|
inlineprivate |
Definition at line 274 of file MkFinder.h.
References m_NInsideMinusOneHits.
Referenced by findCandidatesCloneEngine().
|
inline |
Definition at line 101 of file MkFinder.h.
References copy_out(), mps_fire::end, mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, m_Stopped, and pwdgSkimBPark_cfi::tracks.
|
inline |
Definition at line 96 of file MkFinder.h.
References copy_out(), mkfit::MkBase::iC, mkfit::MkBase::iP, and HLT_2023v12_cff::track.
void mkfit::MkFinder::outputTracksAndHitIdx | ( | std::vector< Track > & | tracks, |
int | beg, | ||
int | end, | ||
bool | outputProp | ||
) | const |
Definition at line 166 of file MkFinder.cc.
References copy_out(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, and pwdgSkimBPark_cfi::tracks.
void mkfit::MkFinder::outputTracksAndHitIdx | ( | std::vector< Track > & | tracks, |
const std::vector< int > & | idxs, | ||
int | beg, | ||
int | end, | ||
bool | outputProp | ||
) | const |
Definition at line 177 of file MkFinder.cc.
References copy_out(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, and pwdgSkimBPark_cfi::tracks.
|
private |
Definition at line 1653 of file MkFinder.cc.
References mps_fire::i, dqmiolumiharvest::j, mkfit::MkBase::m_Err, and mkfit::MkBase::m_Par.
Referenced by bkFitFitTracks().
void mkfit::MkFinder::release | ( | ) |
Definition at line 40 of file MkFinder.cc.
References m_in_fwd, m_iteration_hit_mask, m_iteration_layer_config, m_iteration_params, m_prop_config, and m_steering_params.
Referenced by mkfit::MkBuilder::fit_cands().
void mkfit::MkFinder::selectHitIndices | ( | const LayerOfHits & | layer_of_hits, |
const int | N_proc | ||
) |
Definition at line 248 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, 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, dqmdumpme::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_2023v12_cff::nSigmaZ, mkfit::Track::nTotalHits(), pi, mkfit::Const::PIOver2, mkfit::Hit::posArray(), mkfit::TrackBase::posR(), conifer::pow(), mkfit::TrackBase::prodType(), mkfit::TrackBase::pT(), submitPVResolutionJobs::q, 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 SteeringParams & | sp, | ||
const std::vector< bool > * | ihm, | ||
bool | infwd | ||
) |
Definition at line 21 of file MkFinder.cc.
References m_in_fwd, m_iteration_hit_mask, m_iteration_layer_config, m_iteration_params, m_prop_config, and m_steering_params.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
void mkfit::MkFinder::setup_bkfit | ( | const PropagationConfig & | pc, |
const SteeringParams & | sp | ||
) |
Definition at line 35 of file MkFinder.cc.
References m_prop_config, and m_steering_params.
Referenced by mkfit::MkBuilder::fit_cands().
void mkfit::MkFinder::updateWithLoadedHit | ( | int | N_proc, |
const FindingFoos & | fnd_foos | ||
) |
Definition at line 1359 of file MkFinder.cc.
References mkfit::MkBase::clearFailFlag(), 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, mkfit::MkBase::m_FailFlag, 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 295 of file MkFinder.h.
Referenced by copyOutParErr(), findCandidates(), findCandidatesCloneEngine(), inputTracksAndHitIdx(), inputTracksAndHits(), and selectHitIndices().
|
private |
Definition at line 280 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 309 of file MkFinder.h.
Referenced by copy_in(), and copy_out().
|
private |
Definition at line 338 of file MkFinder.h.
Referenced by bkFitFitTracksBH(), and bkFitInputTracks().
|
private |
Definition at line 340 of file MkFinder.h.
Referenced by bkFitFitTracks(), and bkFitInputTracks().
|
private |
Definition at line 339 of file MkFinder.h.
Referenced by bkFitFitTracksBH(), and bkFitInputTracks().
|
private |
Definition at line 286 of file MkFinder.h.
Referenced by add_hit(), bestHitLastHoT(), copy_in(), copy_out(), and findCandidates().
Definition at line 341 of file MkFinder.h.
Referenced by bkFitFitTracks(), and bkFitInputTracks().
|
private |
Definition at line 335 of file MkFinder.h.
Referenced by getHitSelDynamicChi2Cut(), getHitSelDynamicWindows(), release(), and setup().
|
private |
Definition at line 334 of file MkFinder.h.
Referenced by release(), selectHitIndices(), and setup().
|
private |
Definition at line 332 of file MkFinder.h.
Referenced by getHitSelDynamicChi2Cut(), getHitSelDynamicWindows(), release(), selectHitIndices(), and setup().
|
private |
Definition at line 331 of file MkFinder.h.
Referenced by findCandidates(), findCandidatesCloneEngine(), getHitSelDynamicChi2Cut(), release(), selectHitIndices(), and setup().
|
private |
Definition at line 281 of file MkFinder.h.
Referenced by copy_in(), copy_out(), mkfit::MkBuilder::find_tracks_in_layers(), findCandidatesCloneEngine(), and selectHitIndices().
|
private |
Definition at line 307 of file MkFinder.h.
Referenced by copy_in(), and copy_out().
|
private |
Definition at line 320 of file MkFinder.h.
Referenced by addBestHit(), bkFitFitTracks(), bkFitFitTracksBH(), findCandidates(), findCandidatesCloneEngine(), inputTracksAndHits(), selectHitIndices(), and updateWithLoadedHit().
|
private |
Definition at line 321 of file MkFinder.h.
Referenced by addBestHit(), bkFitFitTracks(), bkFitFitTracksBH(), findCandidates(), findCandidatesCloneEngine(), inputTracksAndHits(), selectHitIndices(), and updateWithLoadedHit().
|
private |
Definition at line 284 of file MkFinder.h.
Referenced by add_hit(), copy_in(), copy_out(), findCandidates(), findCandidatesCloneEngine(), and selectHitIndices().
|
private |
Definition at line 283 of file MkFinder.h.
Referenced by add_hit(), bestHitLastHoT(), copy_in(), and copy_out().
|
private |
Definition at line 305 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 303 of file MkFinder.h.
Referenced by copy_in(), and copy_out().
|
private |
Definition at line 304 of file MkFinder.h.
Referenced by copy_in(), copy_out(), and findCandidatesCloneEngine().
|
private |
Definition at line 306 of file MkFinder.h.
Referenced by add_hit(), copy_in(), copy_out(), findCandidates(), findCandidatesCloneEngine(), and num_all_minus_one_hits().
|
private |
Definition at line 330 of file MkFinder.h.
Referenced by addBestHit(), bkFitFitTracks(), bkFitFitTracksBH(), bkFitPropTracksToPCA(), findCandidates(), findCandidatesCloneEngine(), release(), selectHitIndices(), setup(), setup_bkfit(), and updateWithLoadedHit().
|
private |
Definition at line 294 of file MkFinder.h.
Referenced by copyOutParErr(), findCandidates(), findCandidatesCloneEngine(), inputTracksAndHitIdx(), inputTracksAndHits(), and selectHitIndices().
|
private |
Definition at line 333 of file MkFinder.h.
Referenced by bkFitOutputTracks(), findCandidates(), findCandidatesCloneEngine(), release(), setup(), and setup_bkfit().
|
private |
Definition at line 297 of file MkFinder.h.
Referenced by outputNonStoppedTracksAndHitIdx().
Definition at line 312 of file MkFinder.h.
Referenced by bkFitFitTracks(), and bkFitInputTracks().
|
private |
Definition at line 308 of file MkFinder.h.
Referenced by copy_in(), and copy_out().
|
private |
Definition at line 317 of file MkFinder.h.
Referenced by addBestHit(), findCandidates(), findCandidatesCloneEngine(), and selectHitIndices().
|
private |
Definition at line 316 of file MkFinder.h.
Referenced by addBestHit(), mkfit::MkBuilder::find_tracks_handle_missed_layers(), findCandidates(), findCandidatesCloneEngine(), and selectHitIndices().
|
private |
Definition at line 315 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().