#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) |
void | begin_layer (const LayerOfHits &layer_of_hits) |
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 | chi2OfLoadedHit (int N_proc, const FindingFoos &fnd_foos) |
void | copyOutParErr (std::vector< CombCandidate > &seed_cand_vec, int N_proc, bool outputProp) const |
void | end_layer () |
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 | inputOverlapHits (const LayerOfHits &layer_of_hits, const std::vector< UpdateIndices > &idxs, int beg, int end) |
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 | packModuleNormDir (const LayerOfHits &layer_of_hits, int hit_cnt, MPlexHV &norm, MPlexHV &dir, int N_proc) const |
void | release () |
void | selectHitIndices (const LayerOfHits &layer_of_hits, const int N_proc, bool fill_binsearch_only=false) |
void | selectHitIndicesV2 (const LayerOfHits &layer_of_hits, const int N_proc) |
void | setup (const PropagationConfig &pc, const IterationConfig &ic, const IterationParams &ip, const IterationLayerConfig &ilc, const SteeringParams &sp, const std::vector< bool > *ihm, const Event *ev, int region, bool infwd) |
void | setup_bkfit (const PropagationConfig &pc, const SteeringParams &sp, const Event *ev) |
void | updateWithLoadedHit (int N_proc, const LayerOfHits &layer_of_hits, 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 | radius (int itrack, int i) const |
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 |
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 38 of file MkFinder.h.
using mkfit::MkFinder::MPlexHitIdx = Matriplex::Matriplex<int, MPlexHitIdxMax, 1, NN> |
Definition at line 44 of file MkFinder.h.
using mkfit::MkFinder::MPlexQHoT = Matriplex::Matriplex<HitOnTrack, 1, 1, NN> |
Definition at line 45 of file MkFinder.h.
|
inline |
Definition at line 49 of file MkFinder.h.
|
inlineprivate |
Definition at line 247 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 1054 of file MkFinder.cc.
References funct::abs(), add_hit(), nano_mu_local_reco_cff::chi2, mkfit::MkBase::clearFailFlag(), dprint, mkfit::PropagationConfig::finding_intra_layer_pflags, mkfit::PropagationConfig::finding_requires_propagation_to_hit_pos, getHitSelDynamicChi2Cut(), mkfit::LayerOfHits::hitArray(), Matriplex::hypot(), mkfit::MkBase::iC, mkfit::MkBase::iP, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, 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(), mkfit::WSR_Edge, and mkfit::WSR_Outside.
void mkfit::MkFinder::begin_layer | ( | const LayerOfHits & | layer_of_hits | ) |
Definition at line 68 of file MkFinder.cc.
References mkfit::Event::evtID(), mkfit::LayerInfo::is_barrel(), dttmaxenums::L, m_current_region, m_event, m_iteration_config, mkfit::IterationConfig::m_iteration_index, mkfit::IterationConfig::m_track_algorithm, mkfit::LayerInfo::rin(), mkfit::LayerInfo::rout(), mkfit::LayerInfo::zmax(), and mkfit::LayerInfo::zmin().
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
|
inline |
void mkfit::MkFinder::bkFitFitTracks | ( | const EventOfHits & | eventofhits, |
const SteeringParams & | st_par, | ||
const int | N_proc, | ||
bool | chiDebug = false |
||
) |
Definition at line 2108 of file MkFinder.cc.
References funct::abs(), mkfit::PropagationConfig::backward_fit_pflags, mkfit::MkBase::clearFailFlag(), debug, dprintf, mkfit::Event::evtID(), Matriplex::hypot(), 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, m_event, 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 mkfit::Event::simHitsInfo_.
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 1955 of file MkFinder.cc.
References mkfit::PropagationConfig::backward_fit_pflags, submitPVResolutionJobs::count, Matriplex::hypot(), 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::NN, 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 1850 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(), and mkfit::MatriplexErrParPackerSlurpIn< T, D >::pack().
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 1874 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, and mkfit::MatriplexErrParPackerSlurpIn< T, D >::pack().
void mkfit::MkFinder::bkFitOutputTracks | ( | TrackVec & | cands, |
int | beg, | ||
int | end, | ||
bool | outputProp | ||
) |
Definition at line 1907 of file MkFinder.cc.
References HLT_2023v12_cff::cands, mkfit::TrackBase::chi2(), 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 1926 of file MkFinder.cc.
References mkfit::TrackBase::chi2(), 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 2336 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().
void mkfit::MkFinder::chi2OfLoadedHit | ( | int | N_proc, |
const FindingFoos & | fnd_foos | ||
) |
Definition at line 1803 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, m_Chi2, mkfit::FindingFoos::m_compute_chi2_foo, mkfit::MkBase::m_Err, mkfit::MkBase::m_FailFlag, m_msErr, m_msPar, mkfit::MkBase::m_Par, and m_prop_config.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
|
inlineprivate |
Definition at line 178 of file MkFinder.h.
References mkfit::Track::beginHitsOnTrack(), mkfit::TrackBase::charge(), mkfit::TrackBase::chi2(), filterCSVwithJSON::copy, 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 207 of file MkFinder.h.
References mkfit::TrackBase::charge(), mkfit::TrackBase::chi2(), mkfit::TrackCand::combCandidate(), 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 195 of file MkFinder.h.
References mkfit::Track::beginHitsOnTrack_nc(), filterCSVwithJSON::copy, 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 227 of file MkFinder.h.
References 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 1827 of file MkFinder.cc.
References dprint, mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, m_CandIdx, mkfit::MkBase::m_Chg, mkfit::MkBase::m_Err, mkfit::MkBase::m_Par, m_SeedIdx, and mkfit::NN.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
void mkfit::MkFinder::end_layer | ( | ) |
Definition at line 88 of file MkFinder.cc.
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 1270 of file MkFinder.cc.
References funct::abs(), mkfit::TrackCand::addHitIdx(), nano_mu_local_reco_cff::chi2, mkfit::MkBase::clearFailFlag(), mkfit::TrackCand::combCandidate(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), copy_out(), mkfit::Hit::detIDinLayer(), DeadROC_duringRun::dir, dprint, dprintf, mkfit::PropagationConfig::finding_intra_layer_pflags, mkfit::PropagationConfig::finding_requires_propagation_to_hit_pos, getHitSelDynamicChi2Cut(), mkfit::getScoreCand(), mkfit::LayerOfHits::hitArray(), Matriplex::hypot(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, mkfit::LayerOfHits::is_barrel(), mkfit::LayerOfHits::is_pixel(), mkfit::isStripQCompatible(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mkfit::kalmanPropagateAndComputeChi2Plane(), 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, packModuleNormDir(), mkfit::TrackBase::parameters(), mkfit::passStripChargePCMfromTrack(), mkfit::LayerOfHits::refHit(), mkfit::TrackBase::setCharge(), mkfit::TrackCand::setOriginIndex(), mkfit::TrackBase::setScore(), mkfit::Config::usePropToPlane, 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 1538 of file MkFinder.cc.
References funct::abs(), mkfit::CandCloner::add_cand(), mkfit::IdxChi2List::chi2, nano_mu_local_reco_cff::chi2, mkfit::IdxChi2List::chi2_hit, mkfit::MkBase::clearFailFlag(), mkfit::CandCloner::combCandWithOriginalIndex(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), mkfit::Hit::detIDinLayer(), DeadROC_duringRun::dir, 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(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mkfit::kalmanPropagateAndComputeChi2Plane(), 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, packModuleNormDir(), mkfit::passStripChargePCMfromTrack(), mkfit::IdxChi2List::pt, mkfit::LayerOfHits::refHit(), mkfit::IdxChi2List::score, mkfit::IdxChi2List::trkIdx, mkfit::Config::usePropToPlane, mkfit::WSR_Edge, and mkfit::WSR_Outside.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
|
inline |
Definition at line 293 of file MkFinder.cc.
References funct::abs(), 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 262 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::inputOverlapHits | ( | const LayerOfHits & | layer_of_hits, |
const std::vector< UpdateIndices > & | idxs, | ||
int | beg, | ||
int | end | ||
) |
Definition at line 181 of file MkFinder.cc.
References mps_fire::i, m_msErr, m_msPar, and mkfit::LayerOfHits::refHit().
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
void mkfit::MkFinder::inputTracksAndHitIdx | ( | const std::vector< Track > & | tracks, |
int | beg, | ||
int | end, | ||
bool | inputProp | ||
) |
Definition at line 99 of file MkFinder.cc.
References copy_in(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, and DiMuonV_cfg::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 112 of file MkFinder.cc.
References copy_in(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, and DiMuonV_cfg::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 126 of file MkFinder.cc.
References copy_in(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, m_CandIdx, m_SeedIdx, m_SeedOriginIdx, and DiMuonV_cfg::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 194 of file MkFinder.cc.
References copy_in(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, m_CandIdx, m_SeedIdx, m_SeedOriginIdx, and DiMuonV_cfg::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 149 of file MkFinder.cc.
References copy_in(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, m_CandIdx, m_msErr, m_msPar, m_SeedIdx, m_SeedOriginIdx, m_XHitArr, m_XHitSize, mkfit::LayerOfHits::refHit(), and DiMuonV_cfg::tracks.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
|
inlineprivate |
Definition at line 281 of file MkFinder.h.
References m_NInsideMinusOneHits, and m_NTailMinusOneHits.
Referenced by addBestHit(), findCandidates(), and findCandidatesCloneEngine().
|
inlineprivate |
Definition at line 285 of file MkFinder.h.
References m_NInsideMinusOneHits.
Referenced by findCandidatesCloneEngine().
|
inline |
Definition at line 107 of file MkFinder.h.
References copy_out(), mps_fire::end, mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, m_Stopped, and DiMuonV_cfg::tracks.
|
inline |
Definition at line 102 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 217 of file MkFinder.cc.
References copy_out(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, and DiMuonV_cfg::tracks.
void mkfit::MkFinder::outputTracksAndHitIdx | ( | std::vector< Track > & | tracks, |
const std::vector< int > & | idxs, | ||
int | beg, | ||
int | end, | ||
bool | outputProp | ||
) | const |
Definition at line 228 of file MkFinder.cc.
References copy_out(), mps_fire::i, mkfit::MkBase::iC, mkfit::MkBase::iP, and DiMuonV_cfg::tracks.
void mkfit::MkFinder::packModuleNormDir | ( | const LayerOfHits & | layer_of_hits, |
int | hit_cnt, | ||
MPlexHV & | norm, | ||
MPlexHV & | dir, | ||
int | N_proc | ||
) | const |
Definition at line 240 of file MkFinder.cc.
References DeadROC_duringRun::dir, mkfit::LayerOfHits::layer_info(), m_XHitArr, m_XHitSize, mkfit::LayerInfo::module_info(), mkfit::NN, mkfit::LayerOfHits::refHit(), mkfit::ModuleInfo::xdir, and mkfit::ModuleInfo::zdir.
Referenced by findCandidates(), findCandidatesCloneEngine(), and updateWithLoadedHit().
|
private |
Definition at line 2092 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 56 of file MkFinder.cc.
References m_current_region, m_event, m_in_fwd, m_iteration_config, 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, | ||
bool | fill_binsearch_only = false |
||
) |
Definition at line 316 of file MkFinder.cc.
References funct::abs(), cms::cuda::assert(), CandInfo::bso, mkfit::cdist(), mkfit::TrackBase::charge(), mkfit::Event::currentSeed(), dprint, dprintf, PVValHelper::dz, mkfit::Hit::ephi(), mkfit::Hit::errArray(), mkfit::Event::evtID(), 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, cms::cuda::for(), mkfit::FindingFoos::get_finding_foos(), mkfit::getEta(), getHitSelDynamicWindows(), mkfit::getPhi(), mkfit::Event::SimLabelFromHits::good_frac(), Matriplex::hypot(), mps_fire::i, createfilelist::int, mkfit::MkBase::iP, mkfit::Event::SimLabelFromHits::is_set(), mkfit::TrackBase::isFindable(), mkfit::isFinite(), CommonMethods::isnan(), dttmaxenums::L, mkfit::Event::SimLabelFromHits::label, mkfit::TrackBase::label(), m_CandIdx, mkfit::MkBase::m_Chg, m_Chi2, mkfit::FindingFoos::m_compute_chi2_foo, mkfit::MkBase::m_Err, m_event, mkfit::MkBase::m_FailFlag, mkfit::WSR_Result::m_in_gap, m_iteration_config, 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_SeedOriginIdx, mkfit::IterationConfig::m_track_algorithm, mkfit::WSR_Result::m_wsr, 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(), funct::pow(), mkfit::TrackBase::prodType(), mkfit::TrackBase::pT(), submitPVResolutionJobs::q, diffTwoXMLs::r2, mkfit::Event::simHitsInfo_, mkfit::Event::simLabelForCurrentSeed(), mkfit::Event::simTracks_, funct::sin(), mathSSE::sqrt(), funct::tan(), cuy::tex, theta(), mkfit::Config::usePhiQArrays, mkfit::WSR_Failed, 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(), and selectHitIndicesV2().
void mkfit::MkFinder::selectHitIndicesV2 | ( | const LayerOfHits & | layer_of_hits, |
const int | N_proc | ||
) |
Definition at line 756 of file MkFinder.cc.
References a, funct::abs(), B, b, CandInfo::bsn, mkfit::cdist(), chg, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), Calorimetry_cff::dp, dprint, dprintf, submitPVResolutionJobs::err, f, mkfit::mini_propagators::fast_atan2(), Matriplex::hypot(), mps_fire::i, cuy::ii, mkfit::MkBase::iP, mkfit::LayerInfo::is_barrel(), dttmaxenums::L, mkfit::MkBase::m_Chg, mkfit::MkBase::m_Err, m_event, mkfit::MkBase::m_FailFlag, mkfit::WSR_Result::m_in_gap, m_iteration_hit_mask, mkfit::MkBase::m_Par, m_SeedOriginIdx, mkfit::WSR_Result::m_wsr, m_XHitArr, m_XHitSize, m_XWsrResult, Matriplex::min_max(), MPlexHitIdxMax, mkfit::NN, np, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, mkfit::mini_propagators::PA_Exact, mkfit::LayerOfHits::phiBinChecked(), mkfit::Const::PI, pi, TrackingDataMCValidation_Standalone_cff::pmin, CandInfo::ps_max, CandInfo::ps_min, submitPVResolutionJobs::q, SiStripMonitorCluster_cfi::q0, mkfit::LayerInfo::q_bin(), mkfit::LayerOfHits::qBinChecked(), mkfit::LayerInfo::rin(), mkfit::LayerInfo::rout(), offlineSlimmedPrimaryVertices_cfi::score, selectHitIndices(), mkfit::Event::simLabelForCurrentSeed(), mathSSE::sqrt(), Matriplex::sqrt(), edm::swap(), mkfit::Const::TwoPI, mkfit::WSR_Failed, mkfit::WSR_Outside, x, mkfit::LayerInfo::zmax(), and mkfit::LayerInfo::zmin().
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
void mkfit::MkFinder::setup | ( | const PropagationConfig & | pc, |
const IterationConfig & | ic, | ||
const IterationParams & | ip, | ||
const IterationLayerConfig & | ilc, | ||
const SteeringParams & | sp, | ||
const std::vector< bool > * | ihm, | ||
const Event * | ev, | ||
int | region, | ||
bool | infwd | ||
) |
Definition at line 30 of file MkFinder.cc.
References makeMEIFBenchmarkPlots::ev, m_current_region, m_event, m_in_fwd, m_iteration_config, m_iteration_hit_mask, m_iteration_layer_config, m_iteration_params, m_prop_config, m_steering_params, and nano_mu_digi_cff::region.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
void mkfit::MkFinder::setup_bkfit | ( | const PropagationConfig & | pc, |
const SteeringParams & | sp, | ||
const Event * | ev | ||
) |
Definition at line 50 of file MkFinder.cc.
References makeMEIFBenchmarkPlots::ev, m_event, m_prop_config, and m_steering_params.
Referenced by mkfit::MkBuilder::fit_cands(), and mkfit::MkBuilder::fit_cands_BH().
void mkfit::MkFinder::updateWithLoadedHit | ( | int | N_proc, |
const LayerOfHits & | layer_of_hits, | ||
const FindingFoos & | fnd_foos | ||
) |
Definition at line 1758 of file MkFinder.cc.
References mkfit::MkBase::clearFailFlag(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), DeadROC_duringRun::dir, mkfit::PropagationConfig::finding_inter_layer_pflags, mkfit::PropagationConfig::finding_requires_propagation_to_hit_pos, mkfit::MkBase::iC, mkfit::MkBase::iP, mkfit::kalmanPropagateAndUpdatePlane(), mkfit::MkBase::m_Chg, 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, packModuleNormDir(), and mkfit::Config::usePropToPlane.
Referenced by mkfit::MkBuilder::find_tracks_in_layers().
|
friend |
Definition at line 39 of file MkFinder.h.
|
private |
Definition at line 300 of file MkFinder.h.
Referenced by copyOutParErr(), findCandidates(), findCandidatesCloneEngine(), inputTracksAndHitIdx(), inputTracksAndHits(), and selectHitIndices().
|
private |
Definition at line 291 of file MkFinder.h.
Referenced by addBestHit(), bkFitFitTracks(), bkFitFitTracksBH(), bkFitInputTracks(), bkFitOutputTracks(), chi2OfLoadedHit(), copy_in(), copy_out(), mkfit::MkBuilder::find_tracks_in_layers(), findCandidatesCloneEngine(), mkfit::MkBuilder::fit_cands_BH(), and selectHitIndices().
|
private |
Definition at line 315 of file MkFinder.h.
Referenced by copy_in(), and copy_out().
|
private |
Definition at line 347 of file MkFinder.h.
Referenced by bkFitFitTracksBH(), and bkFitInputTracks().
|
private |
Definition at line 349 of file MkFinder.h.
Referenced by bkFitFitTracks(), and bkFitInputTracks().
|
private |
Definition at line 343 of file MkFinder.h.
Referenced by begin_layer(), release(), and setup().
|
private |
Definition at line 342 of file MkFinder.h.
Referenced by begin_layer(), bkFitFitTracks(), release(), selectHitIndices(), selectHitIndicesV2(), setup(), and setup_bkfit().
|
private |
Definition at line 348 of file MkFinder.h.
Referenced by bkFitFitTracksBH(), and bkFitInputTracks().
|
private |
Definition at line 297 of file MkFinder.h.
Referenced by add_hit(), bestHitLastHoT(), copy_in(), copy_out(), and findCandidates().
Definition at line 350 of file MkFinder.h.
Referenced by bkFitFitTracks(), and bkFitInputTracks().
|
private |
Definition at line 344 of file MkFinder.h.
Referenced by getHitSelDynamicChi2Cut(), getHitSelDynamicWindows(), release(), and setup().
|
private |
Definition at line 337 of file MkFinder.h.
Referenced by begin_layer(), release(), selectHitIndices(), and setup().
|
private |
Definition at line 341 of file MkFinder.h.
Referenced by release(), selectHitIndices(), selectHitIndicesV2(), and setup().
|
private |
Definition at line 339 of file MkFinder.h.
Referenced by getHitSelDynamicChi2Cut(), getHitSelDynamicWindows(), release(), selectHitIndices(), and setup().
|
private |
Definition at line 338 of file MkFinder.h.
Referenced by findCandidates(), findCandidatesCloneEngine(), getHitSelDynamicChi2Cut(), release(), selectHitIndices(), and setup().
|
private |
Definition at line 292 of file MkFinder.h.
Referenced by copy_in(), copy_out(), mkfit::MkBuilder::find_tracks_in_layers(), findCandidatesCloneEngine(), and selectHitIndices().
|
private |
Definition at line 313 of file MkFinder.h.
Referenced by copy_in(), and copy_out().
|
private |
Definition at line 326 of file MkFinder.h.
Referenced by addBestHit(), bkFitFitTracks(), bkFitFitTracksBH(), chi2OfLoadedHit(), findCandidates(), findCandidatesCloneEngine(), inputOverlapHits(), inputTracksAndHits(), selectHitIndices(), and updateWithLoadedHit().
|
private |
Definition at line 327 of file MkFinder.h.
Referenced by addBestHit(), bkFitFitTracks(), bkFitFitTracksBH(), chi2OfLoadedHit(), findCandidates(), findCandidatesCloneEngine(), inputOverlapHits(), inputTracksAndHits(), selectHitIndices(), and updateWithLoadedHit().
|
private |
Definition at line 295 of file MkFinder.h.
Referenced by add_hit(), copy_in(), copy_out(), findCandidates(), findCandidatesCloneEngine(), and selectHitIndices().
|
private |
Definition at line 294 of file MkFinder.h.
Referenced by add_hit(), bestHitLastHoT(), copy_in(), and copy_out().
|
private |
Definition at line 311 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 309 of file MkFinder.h.
Referenced by copy_in(), and copy_out().
|
private |
Definition at line 310 of file MkFinder.h.
Referenced by copy_in(), copy_out(), and findCandidatesCloneEngine().
|
private |
Definition at line 312 of file MkFinder.h.
Referenced by add_hit(), copy_in(), copy_out(), findCandidates(), findCandidatesCloneEngine(), and num_all_minus_one_hits().
|
private |
Definition at line 336 of file MkFinder.h.
Referenced by addBestHit(), bkFitFitTracks(), bkFitFitTracksBH(), bkFitPropTracksToPCA(), chi2OfLoadedHit(), findCandidates(), findCandidatesCloneEngine(), release(), selectHitIndices(), setup(), setup_bkfit(), and updateWithLoadedHit().
|
private |
Definition at line 299 of file MkFinder.h.
Referenced by copyOutParErr(), findCandidates(), findCandidatesCloneEngine(), inputTracksAndHitIdx(), and inputTracksAndHits().
|
private |
Definition at line 301 of file MkFinder.h.
Referenced by inputTracksAndHitIdx(), inputTracksAndHits(), selectHitIndices(), and selectHitIndicesV2().
|
private |
Definition at line 340 of file MkFinder.h.
Referenced by bkFitOutputTracks(), findCandidates(), findCandidatesCloneEngine(), release(), setup(), and setup_bkfit().
|
private |
Definition at line 303 of file MkFinder.h.
Referenced by outputNonStoppedTracksAndHitIdx().
Definition at line 318 of file MkFinder.h.
Referenced by bkFitFitTracks(), and bkFitInputTracks().
|
private |
Definition at line 314 of file MkFinder.h.
Referenced by copy_in(), and copy_out().
|
private |
Definition at line 323 of file MkFinder.h.
Referenced by addBestHit(), findCandidates(), findCandidatesCloneEngine(), inputTracksAndHits(), packModuleNormDir(), selectHitIndices(), and selectHitIndicesV2().
|
private |
Definition at line 322 of file MkFinder.h.
Referenced by addBestHit(), findCandidates(), findCandidatesCloneEngine(), inputTracksAndHits(), packModuleNormDir(), selectHitIndices(), and selectHitIndicesV2().
|
private |
Definition at line 321 of file MkFinder.h.
Referenced by addBestHit(), mkfit::MkBuilder::find_tracks_handle_missed_layers(), findCandidates(), findCandidatesCloneEngine(), selectHitIndices(), and selectHitIndicesV2().
|
static |
Definition at line 42 of file MkFinder.h.
Referenced by selectHitIndices(), and selectHitIndicesV2().