#include <TrackExtra.h>
Public Member Functions | |
void | addAlgo (int algo) |
int | cmsswTrackID () const |
float | dPhi () const |
int | duplicateID () const |
void | findMatchingSeedHits (const Track &reco_trk, const Track &seed_trk, const std::vector< HitVec > &layerHits) |
float | fracHitsMatched () const |
float | helixChi2 () const |
bool | isDuplicate () const |
bool | isSeedHit (const int lyr, const int idx) const |
int | mcTrackID () const |
int | modifyRefTrackID (const int foundHits, const int minHits, const TrackVec &reftracks, const int trueID, const int duplicate, int refTrackID) |
int | nHitsMatched () const |
int | nMatchedSeedHits () const |
const std::vector< int > | seedAlgos () const |
int | seedID () const |
void | setCMSSWTrackIDInfoByHits (const Track &trk, const LayIdxIDVecMapMap &cmsswHitIDMap, const TrackVec &cmsswtracks, const TrackExtraVec &cmsswextras, const RedTrackVec &redcmsswtracks, const int cmsswlabel) |
void | setCMSSWTrackIDInfoByTrkParams (const Track &trk, const std::vector< HitVec > &layerHits, const TrackVec &cmsswtracks, const RedTrackVec &redcmsswtracks, const bool isBkFit) |
void | setDuplicateInfo (int duplicateID, bool isDuplicate) |
void | setmcTrackID (int mcTrackID) |
void | setMCTrackIDInfo (const Track &trk, const std::vector< HitVec > &layerHits, const MCHitInfoVec &globalHitInfo, const TrackVec &simtracks, const bool isSeed, const bool isPure) |
void | setseedID (int seedID) |
TrackExtra () | |
TrackExtra (int seedID) | |
Private Attributes | |
int | cmsswTrackID_ |
float | dPhi_ |
int | duplicateID_ |
float | fracHitsMatched_ |
float | helixChi2_ |
bool | isDuplicate_ |
HoTVec | matchedSeedHits_ |
int | mcTrackID_ |
int | nHitsMatched_ |
std::vector< int > | seedAlgos_ |
int | seedID_ |
Friends | |
class | Track |
Definition at line 51 of file TrackExtra.h.
|
inline |
Definition at line 53 of file TrackExtra.h.
|
inline |
Definition at line 54 of file TrackExtra.h.
|
inline |
|
inline |
Definition at line 89 of file TrackExtra.h.
References cmsswTrackID_.
Referenced by setCMSSWTrackIDInfoByHits(), and setCMSSWTrackIDInfoByTrkParams().
|
inline |
|
inline |
Definition at line 84 of file TrackExtra.h.
References duplicateID_.
Referenced by setDuplicateInfo().
void mkfit::TrackExtra::findMatchingSeedHits | ( | const Track & | reco_trk, |
const Track & | seed_trk, | ||
const std::vector< HitVec > & | layerHits | ||
) |
Definition at line 13 of file TrackExtra.cc.
References mkfit::Track::getHitIdx(), mkfit::Track::getHitLyr(), matchedSeedHits_, and mkfit::Track::nTotalHits().
Referenced by mkfit::StdSeq::Quality::quality_process().
|
inline |
|
inline |
|
inline |
Definition at line 83 of file TrackExtra.h.
References isDuplicate_.
Referenced by setDuplicateInfo().
bool mkfit::TrackExtra::isSeedHit | ( | const int | lyr, |
const int | idx | ||
) | const |
Definition at line 53 of file TrackExtra.cc.
References heavyIonCSV_trainingSettings::idx, and matchedSeedHits_.
Referenced by setCMSSWTrackIDInfoByHits(), setCMSSWTrackIDInfoByTrkParams(), and setMCTrackIDInfo().
|
inline |
Definition at line 79 of file TrackExtra.h.
References mcTrackID_.
Referenced by mkfit::StdSeq::Quality::quality_process(), setmcTrackID(), and setMCTrackIDInfo().
int mkfit::TrackExtra::modifyRefTrackID | ( | const int | foundHits, |
const int | minHits, | ||
const TrackVec & | reftracks, | ||
const int | trueID, | ||
const int | duplicate, | ||
int | refTrackID | ||
) |
Definition at line 59 of file TrackExtra.cc.
References reco_skim_cfg_mod::minHits.
Referenced by setCMSSWTrackIDInfoByHits(), setCMSSWTrackIDInfoByTrkParams(), and setMCTrackIDInfo().
|
inline |
Definition at line 80 of file TrackExtra.h.
References nHitsMatched_.
Referenced by setCMSSWTrackIDInfoByHits(), and setCMSSWTrackIDInfoByTrkParams().
|
inline |
Definition at line 94 of file TrackExtra.h.
References matchedSeedHits_.
Referenced by setCMSSWTrackIDInfoByHits(), setCMSSWTrackIDInfoByTrkParams(), and setMCTrackIDInfo().
|
inline |
|
inline |
void mkfit::TrackExtra::setCMSSWTrackIDInfoByHits | ( | const Track & | trk, |
const LayIdxIDVecMapMap & | cmsswHitIDMap, | ||
const TrackVec & | cmsswtracks, | ||
const TrackExtraVec & | cmsswextras, | ||
const RedTrackVec & | redcmsswtracks, | ||
const int | cmsswlabel | ||
) |
Definition at line 366 of file TrackExtra.cc.
References funct::abs(), cmsswTrackID(), cmsswTrackID_, mkfit::computeHelixChi2(), dPhi_, mkfit::TrackBase::errors(), f, nano_mu_digi_cff::float, fracHitsMatched_, mkfit::TrackBase::getDuplicateValue(), mkfit::Track::getHitIdx(), mkfit::Track::getHitLyr(), helixChi2_, heavyIonCSV_trainingSettings::idx, isSeedHit(), label, hbheRecHitProducerGPUTask_cff::label1, modifyRefTrackID(), mkfit::TrackBase::momPhi(), mkfit::Track::nFoundHits(), nHitsMatched(), nHitsMatched_, nMatchedSeedHits(), mkfit::Config::nMinFoundHits, mkfit::Track::nTotalHits(), mkfit::TrackBase::parameters(), jetUpdater_cfi::sort, mkfit::squashPhiGeneral(), mkfit::TrackBase::x(), and mkfit::TrackBase::y().
void mkfit::TrackExtra::setCMSSWTrackIDInfoByTrkParams | ( | const Track & | trk, |
const std::vector< HitVec > & | layerHits, | ||
const TrackVec & | cmsswtracks, | ||
const RedTrackVec & | redcmsswtracks, | ||
const bool | isBkFit | ||
) |
Definition at line 252 of file TrackExtra.cc.
References funct::abs(), newFWLiteAna::bin, HLT_2024v14_cff::cands, nano_mu_local_reco_cff::chi2, cmsswTrackID(), cmsswTrackID_, mkfit::computeHelixChi2(), dPhi_, mkfit::TrackBase::errors(), nano_mu_digi_cff::float, fracHitsMatched_, mkfit::TrackBase::getDuplicateValue(), mkfit::Track::getHitIdx(), mkfit::Track::getHitLyr(), mkfit::getMatchBin(), helixChi2_, heavyIonCSV_trainingSettings::idx, isSeedHit(), label, muonTagProbeFilters_cff::matched, mkfit::Config::minCMSSWMatchChi2, mkfit::Config::minCMSSWMatchdPhi, modifyRefTrackID(), mkfit::TrackBase::momPhi(), mkfit::Track::nFoundHits(), nHitsMatched(), nHitsMatched_, nMatchedSeedHits(), mkfit::Config::nMinFoundHits, mkfit::Track::nTotalHits(), mkfit::TrackBase::parameters(), mkfit::TrackBase::pT(), jetUpdater_cfi::sort, mkfit::sortIDsByChi2(), mkfit::squashPhiGeneral(), mkfit::TrackBase::x(), and mkfit::TrackBase::y().
|
inline |
Definition at line 85 of file TrackExtra.h.
References duplicateID(), duplicateID_, isDuplicate(), and isDuplicate_.
|
inline |
void mkfit::TrackExtra::setMCTrackIDInfo | ( | const Track & | trk, |
const std::vector< HitVec > & | layerHits, | ||
const MCHitInfoVec & | globalHitInfo, | ||
const TrackVec & | simtracks, | ||
const bool | isSeed, | ||
const bool | isPure | ||
) |
Definition at line 106 of file TrackExtra.cc.
References dPhi_, dprint, dprintf, f, nano_mu_digi_cff::float, fracHitsMatched_, mkfit::TrackBase::getDuplicateValue(), mkfit::Track::getHitIdx(), mkfit::Track::getHitLyr(), mps_fire::i, l1ctLayer2EG_cff::id, heavyIonCSV_trainingSettings::idx, isSeedHit(), dqmiolumiharvest::j, mkfit::TrackBase::label(), mcTrackID(), mcTrackID_, modifyRefTrackID(), mkfit::TrackBase::momPhi(), mkfit::Config::mtvLikeValidation, dqmiodumpmetadata::n, mkfit::Track::nFoundHits(), nHitsMatched_, nMatchedSeedHits(), mkfit::Config::nMinFoundHits, mkfit::Track::nTotalHits(), seedID_, jetUpdater_cfi::sort, mkfit::squashPhiGeneral(), mkfit::TrackBase::x(), and mkfit::TrackBase::y().
Referenced by mkfit::StdSeq::Quality::quality_process().
|
inline |
|
friend |
Definition at line 103 of file TrackExtra.h.
|
private |
Definition at line 111 of file TrackExtra.h.
Referenced by cmsswTrackID(), setCMSSWTrackIDInfoByHits(), and setCMSSWTrackIDInfoByTrkParams().
|
private |
Definition at line 113 of file TrackExtra.h.
Referenced by dPhi(), setCMSSWTrackIDInfoByHits(), setCMSSWTrackIDInfoByTrkParams(), and setMCTrackIDInfo().
|
private |
Definition at line 109 of file TrackExtra.h.
Referenced by duplicateID(), and setDuplicateInfo().
|
private |
Definition at line 107 of file TrackExtra.h.
Referenced by fracHitsMatched(), setCMSSWTrackIDInfoByHits(), setCMSSWTrackIDInfoByTrkParams(), and setMCTrackIDInfo().
|
private |
Definition at line 112 of file TrackExtra.h.
Referenced by helixChi2(), setCMSSWTrackIDInfoByHits(), and setCMSSWTrackIDInfoByTrkParams().
|
private |
Definition at line 110 of file TrackExtra.h.
Referenced by isDuplicate(), and setDuplicateInfo().
|
private |
Definition at line 114 of file TrackExtra.h.
Referenced by findMatchingSeedHits(), isSeedHit(), and nMatchedSeedHits().
|
private |
Definition at line 105 of file TrackExtra.h.
Referenced by mcTrackID(), setmcTrackID(), and setMCTrackIDInfo().
|
private |
Definition at line 106 of file TrackExtra.h.
Referenced by nHitsMatched(), setCMSSWTrackIDInfoByHits(), setCMSSWTrackIDInfoByTrkParams(), and setMCTrackIDInfo().
|
private |
Definition at line 115 of file TrackExtra.h.
Referenced by addAlgo(), and seedAlgos().
|
private |
Definition at line 108 of file TrackExtra.h.
Referenced by seedID(), setMCTrackIDInfo(), and setseedID().