#include <Track.h>
Classes | |
struct | Status |
Public Member Functions | |
int | algoint () const |
TrackAlgorithm | algorithm () const |
int | charge () const |
float | chi2 () const |
float | d0BeamSpot (const float x_bs, const float y_bs, bool linearize=false) const |
float | emomEta () const |
float | emomPhi () const |
float | epT () const |
const float * | errArray () const |
const SMatrixSym66 & | errors () const |
SMatrixSym66 & | errors_nc () |
bool | getDuplicateValue () const |
int | getEtaRegion () const |
int | getNSeedHits () const |
Status | getStatus () const |
bool | hasNanNSillyValues () const |
bool | hasSillyValues (bool dump, bool fix, const char *pref="") |
float | invpT () const |
bool | isFindable () const |
bool | isNotFindable () const |
int | label () const |
SVector3 | momentum () const |
float | momEta () const |
float | momPhi () const |
float | p () const |
const SVector6 & | parameters () const |
SVector6 & | parameters_nc () |
const float * | posArray () const |
float | posEta () const |
SVector3 | position () const |
float | posPhi () const |
float | posR () const |
float | posRsq () const |
ProdType | prodType () const |
float | pT () const |
float | px () const |
float | py () const |
float | pz () const |
float | score () const |
void | setAlgoint (int algo) |
void | setAlgorithm (TrackAlgorithm algo) |
void | setCharge (int chg) |
void | setChi2 (float chi2) |
void | setDuplicateValue (bool d) |
void | setEtaRegion (int r) |
void | setLabel (int lbl) |
void | setNotFindable () |
void | setNSeedHits (int n) |
void | setProdType (ProdType ptyp) |
void | setScore (float s) |
void | setState (const TrackState &newState) |
void | setStatus (Status s) |
const TrackState & | state () const |
TrackState & | state_nc () |
float | theta () const |
TrackBase () | |
TrackBase (const TrackState &state, float chi2, int label) | |
TrackBase (int charge, const SVector3 &position, const SVector3 &momentum, const SMatrixSym66 &errors, float chi2) | |
float | x () const |
float | y () const |
float | z () const |
Static Public Member Functions | |
static const char * | algoint_to_cstr (int algo) |
Protected Attributes | |
float | chi2_ = 0. |
int | label_ = -1 |
short int | lastHitIdx_ = -1 |
short int | nFoundHits_ = 0 |
float | score_ = 0. |
TrackState | state_ |
Status | status_ |
|
strong |
|
strong |
track algorithm; copy from TrackBase.h to keep in standalone builds
Definition at line 277 of file Track.h.
|
inline |
|
inline |
Definition at line 140 of file Track.h.
|
inline |
Definition at line 332 of file Track.h.
References mkfit::TrackBase::Status::algorithm, and status_.
|
static |
Definition at line 204 of file Track.cc.
References algoSize, and names.
Referenced by mkfit::Shell::Compare(), mkfit::Shell::FillByLabelMaps_CkfBase(), mkfit::Shell::PrintIterations(), mkfit::ConfigJson::save_Iterations(), and mkfit::Shell::Status().
|
inline |
Definition at line 333 of file Track.h.
References mkfit::TrackBase::Status::algorithm, and status_.
Referenced by mkfit::Event::select_tracks_iter().
|
inline |
Definition at line 185 of file Track.h.
References mkfit::TrackState::charge, and state_.
Referenced by mkfit::MkFinder::bkFitInputTracks(), mkfit::Track::canReachRadius(), mkfit::Event::clean_cms_seedtracks(), mkfit::StdSeq::clean_cms_seedtracks_iter(), mkfit::MkFinder::copy_in(), d0BeamSpot(), mkfit::MkFitter::inputSeedsTracksAndHits(), mkfit::MkFitter::inputTracksAndHitIdx(), mkfit::MkFitter::inputTracksAndHits(), mkfit::MkFitter::inputTracksForFit(), mkfit::Track::maxReachRadius(), mkfit::Track::rAtZ(), mkfit::MkFinder::selectHitIndices(), mkfit::MkFitter::slurpInTracksAndHits(), mkfit::Track::swimPhiToR(), and mkfit::Track::zAtR().
|
inline |
Definition at line 186 of file Track.h.
References chi2_.
Referenced by mkfit::TrackCand::addHitIdx(), mkfit::Track::addHitIdx(), mkfit::MkFinder::bkFitOutputTracks(), mkfit::TrackCand::considerHitForOverlap(), mkfit::MkFinder::copy_in(), mkfit::getScoreCand(), mkfit::MkFitter::inputSeedsTracksAndHits(), mkfit::MkFitter::inputTracksAndHitIdx(), mkfit::MkFitter::inputTracksAndHits(), mkfit::MkFitter::inputTracksForFit(), mkfit::StdSeq::Quality::quality_process(), setChi2(), mkfit::MkFitter::slurpInTracksAndHits(), and mkfit::sortByHitsChi2().
float mkfit::TrackBase::d0BeamSpot | ( | const float | x_bs, |
const float | y_bs, | ||
bool | linearize = false |
||
) | const |
Definition at line 191 of file Track.cc.
References funct::abs(), mkfit::Config::Bfield, charge(), funct::cos(), f, dqmdumpme::k, momPhi(), pT(), px(), py(), funct::sin(), mkfit::Const::sol, x(), and y().
Referenced by mkfit::StdSeq::clean_cms_seedtracks_iter().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 147 of file Track.h.
References mkfit::TrackState::errors, and state_.
Referenced by mkfit::MkFinder::copy_in(), mkfit::MkFitter::inputSeedsTracksAndHits(), mkfit::MkFitter::inputTracksAndHitIdx(), mkfit::MkFitter::inputTracksAndHits(), mkfit::TrackExtra::setCMSSWTrackIDInfoByHits(), and mkfit::TrackExtra::setCMSSWTrackIDInfoByTrkParams().
|
inline |
Definition at line 154 of file Track.h.
References mkfit::TrackState::errors, and state_.
Referenced by mkfit::MkFinder::bkFitOutputTracks(), and mkfit::MkFinder::copy_out().
|
inline |
Definition at line 261 of file Track.h.
References mkfit::TrackBase::Status::duplicate, and status_.
Referenced by mkfit::TrackExtra::setCMSSWTrackIDInfoByHits(), mkfit::TrackExtra::setCMSSWTrackIDInfoByTrkParams(), and mkfit::TrackExtra::setMCTrackIDInfo().
|
inline |
Definition at line 268 of file Track.h.
References mkfit::TrackBase::Status::eta_region, and status_.
Referenced by mkfit::Shell::CheckMkFitLayerPlanVsReferenceHits().
|
inline |
Definition at line 266 of file Track.h.
References mkfit::TrackBase::Status::n_seed_hits, and status_.
Referenced by mkfit::CombCandidate::compactifyHitStorageForBestCand(), and mkfit::TrackCand::exportTrack().
|
inline |
Definition at line 253 of file Track.h.
References status_.
Referenced by mkfit::MkFinder::copy_in().
bool mkfit::TrackBase::hasNanNSillyValues | ( | ) | const |
Definition at line 177 of file Track.cc.
References mkfit::TrackState::errors, mps_fire::i, mkfit::isFinite(), dqmiolumiharvest::j, mkfit::LL, and state_.
bool mkfit::TrackBase::hasSillyValues | ( | bool | dump, |
bool | fix, | ||
const char * | pref = "" |
||
) |
Definition at line 155 of file Track.cc.
References GCP_Ntuples_cfg::dump, mkfit::TrackState::errors, mps_fire::i, mkfit::isFinite(), dqmiolumiharvest::j, label(), mkfit::LL, pT(), and state_.
|
inline |
Definition at line 172 of file Track.h.
References mkfit::TrackState::invpT(), and state_.
Referenced by mkfit::Event::clean_cms_seedtracks(), mkfit::StdSeq::clean_cms_seedtracks_iter(), mkfit::Track::rAtZ(), and mkfit::Track::zAtR().
|
inline |
Definition at line 256 of file Track.h.
References mkfit::TrackBase::Status::not_findable, and status_.
Referenced by mkfit::MkFinder::bkFitFitTracks(), and mkfit::MkFinder::selectHitIndices().
|
inline |
Definition at line 257 of file Track.h.
References mkfit::TrackBase::Status::not_findable, and status_.
|
inline |
Definition at line 188 of file Track.h.
References label_.
Referenced by mkfit::MkFinder::bkFitFitTracks(), mkfit::Shell::CheckMkFitLayerPlanVsReferenceHits(), mkfit::MkFinder::copy_in(), mkfit::TrackCand::exportTrack(), hasSillyValues(), mkfit::MkFitter::inputSeedsTracksAndHits(), mkfit::MkFitter::inputTracksAndHitIdx(), mkfit::MkFitter::inputTracksAndHits(), mkfit::MkFitter::inputTracksForFit(), mkfit::print(), mkfit::StdSeq::Quality::quality_process(), mkfit::MkFinder::selectHitIndices(), mkfit::TrackExtra::setMCTrackIDInfo(), and mkfit::MkFitter::slurpInTracksAndHits().
|
inline |
|
inline |
Definition at line 175 of file Track.h.
References mkfit::TrackState::momEta(), and state_.
Referenced by mkfit::Event::clean_cms_seedtracks(), mkfit::StdSeq::clean_cms_seedtracks_iter(), mkfit::StdSeq::Quality::quality_process(), mkfit::MkFinder::selectHitIndices(), and mkfit::sortTracksByEta().
|
inline |
Definition at line 174 of file Track.h.
References mkfit::TrackState::momPhi(), and state_.
Referenced by mkfit::Event::clean_cms_seedtracks(), mkfit::StdSeq::clean_cms_seedtracks_iter(), d0BeamSpot(), mkfit::StdSeq::Quality::quality_process(), mkfit::MkFinder::selectHitIndices(), mkfit::TrackExtra::setCMSSWTrackIDInfoByHits(), mkfit::TrackExtra::setCMSSWTrackIDInfoByTrkParams(), mkfit::TrackExtra::setMCTrackIDInfo(), mkfit::sortTracksByPhi(), and mkfit::Track::swimPhiToR().
|
inline |
Definition at line 173 of file Track.h.
References mkfit::TrackState::p(), and state_.
Referenced by mkfit::Track::getLastFoundHitIdx(), mkfit::Track::getLastFoundHitLyr(), mkfit::Track::getLastFoundHitOnTrack(), and Electron.Electron::ptErr().
|
inline |
Definition at line 146 of file Track.h.
References mkfit::TrackState::parameters, and state_.
Referenced by mkfit::MkFinder::copy_in(), mkfit::MkFinder::findCandidates(), mkfit::MkFitter::inputSeedsTracksAndHits(), mkfit::MkFitter::inputTracksAndHitIdx(), mkfit::MkFitter::inputTracksAndHits(), mkfit::TrackExtra::setCMSSWTrackIDInfoByHits(), and mkfit::TrackExtra::setCMSSWTrackIDInfoByTrkParams().
|
inline |
Definition at line 153 of file Track.h.
References mkfit::TrackState::parameters, and state_.
Referenced by mkfit::MkFinder::bkFitOutputTracks(), and mkfit::MkFinder::copy_out().
|
inline |
|
inline |
Definition at line 166 of file Track.h.
References mkfit::getEta(), mkfit::TrackState::parameters, and state_.
Referenced by mkfit::MkFinder::bkFitFitTracks().
|
inline |
|
inline |
Definition at line 165 of file Track.h.
References mkfit::getPhi(), mkfit::TrackState::parameters, and state_.
Referenced by mkfit::MkFinder::bkFitFitTracks().
|
inline |
Definition at line 163 of file Track.h.
References mkfit::getHypot(), mkfit::TrackState::parameters, and state_.
Referenced by mkfit::MkFinder::selectHitIndices().
|
inline |
|
inline |
Definition at line 263 of file Track.h.
References mkfit::TrackBase::Status::prod_type, and status_.
Referenced by mkfit::MkFinder::bkFitFitTracks(), mkfit::TrackCand::exportTrack(), and mkfit::MkFinder::selectHitIndices().
|
inline |
Definition at line 171 of file Track.h.
References mkfit::TrackState::pT(), and state_.
Referenced by mkfit::MkFinder::bkFitFitTracks(), mkfit::Track::canReachRadius(), mkfit::Event::clean_cms_seedtracks(), mkfit::StdSeq::clean_cms_seedtracks_iter(), d0BeamSpot(), mkfit::MkBuilder::findTracksStandard(), mkfit::getScoreCand(), hasSillyValues(), mkfit::Track::maxReachRadius(), mkfit::CandCloner::processSeedRange(), mkfit::StdSeq::Quality::quality_process(), mkfit::MkFinder::selectHitIndices(), mkfit::TrackExtra::setCMSSWTrackIDInfoByTrkParams(), and mkfit::Track::swimPhiToR().
|
inline |
Definition at line 168 of file Track.h.
References mkfit::TrackState::px(), and state_.
Referenced by d0BeamSpot(), mkfit::Track::maxReachRadius(), mkfit::Track::rAtZ(), and mkfit::Track::zAtR().
|
inline |
Definition at line 169 of file Track.h.
References mkfit::TrackState::py(), and state_.
Referenced by d0BeamSpot(), mkfit::Track::maxReachRadius(), mkfit::Track::rAtZ(), and mkfit::Track::zAtR().
|
inline |
Definition at line 170 of file Track.h.
References mkfit::TrackState::pz(), and state_.
Referenced by mkfit::Track::zAtR().
|
inline |
Definition at line 187 of file Track.h.
References score_.
Referenced by mkfit::MkBuilder::findTracksStandard(), mkfit::CombCandidate::mergeCandsAndBestShortOne(), mkfit::CandCloner::processSeedRange(), mkfit::sortByScoreCand(), and mkfit::sortByScoreTrackCand().
|
inline |
Definition at line 335 of file Track.h.
References mkfit::TrackBase::Status::algorithm, and status_.
|
inline |
Definition at line 334 of file Track.h.
References mkfit::TrackBase::Status::algorithm, and status_.
|
inline |
Definition at line 190 of file Track.h.
References mkfit::TrackState::charge, chg, and state_.
Referenced by mkfit::MkFinder::copy_out(), and mkfit::MkFinder::findCandidates().
|
inline |
Definition at line 191 of file Track.h.
Referenced by mkfit::MkFinder::bkFitOutputTracks(), and mkfit::MkFinder::copy_out().
|
inline |
Definition at line 260 of file Track.h.
References ztail::d, mkfit::TrackBase::Status::duplicate, and status_.
|
inline |
Definition at line 269 of file Track.h.
References mkfit::TrackBase::Status::eta_region, and status_.
|
inline |
Definition at line 193 of file Track.h.
References label_.
Referenced by mkfit::MkFinder::copy_out().
|
inline |
Definition at line 258 of file Track.h.
References mkfit::TrackBase::Status::not_findable, and status_.
|
inline |
Definition at line 267 of file Track.h.
References dqmiodumpmetadata::n, mkfit::TrackBase::Status::n_seed_hits, and status_.
|
inline |
Definition at line 264 of file Track.h.
References mkfit::TrackBase::Status::prod_type, and status_.
|
inline |
Definition at line 192 of file Track.h.
References alignCSCRings::s, and score_.
Referenced by mkfit::MkFinder::bkFitOutputTracks(), mkfit::MkFinder::findCandidates(), mkfit::CombCandidate::mergeCandsAndBestShortOne(), mkfit::CandCloner::processSeedRange(), and mkfit::CombCandidate::reset().
|
inline |
|
inline |
Definition at line 254 of file Track.h.
References alignCSCRings::s, and status_.
Referenced by mkfit::MkFinder::copy_out().
|
inline |
|
inline |
|
inline |
Definition at line 176 of file Track.h.
References state_, and mkfit::TrackState::theta().
Referenced by mkfit::Event::clean_cms_seedtracks(), mkfit::StdSeq::clean_cms_seedtracks_iter(), mkfit::Track::rAtZ(), and Tau.Tau::zImpact().
|
inline |
Definition at line 160 of file Track.h.
References mkfit::TrackState::parameters, and state_.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), mkfit::Track::canReachRadius(), mkfit::Event::clean_cms_seedtracks(), mkfit::StdSeq::clean_cms_seedtracks_iter(), d0BeamSpot(), mkfit::Track::maxReachRadius(), geometryXMLparser.Alignable::pos(), mkfit::StdSeq::Quality::quality_process(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), mkfit::Track::rAtZ(), mkfit::TrackExtra::setCMSSWTrackIDInfoByHits(), mkfit::TrackExtra::setCMSSWTrackIDInfoByTrkParams(), mkfit::TrackExtra::setMCTrackIDInfo(), mkfit::Track::swimPhiToR(), and mkfit::Track::zAtR().
|
inline |
Definition at line 161 of file Track.h.
References mkfit::TrackState::parameters, and state_.
Referenced by svgfig.Ellipse::__repr__(), mkfit::Track::canReachRadius(), mkfit::Event::clean_cms_seedtracks(), mkfit::StdSeq::clean_cms_seedtracks_iter(), d0BeamSpot(), mkfit::Track::maxReachRadius(), geometryXMLparser.Alignable::pos(), mkfit::StdSeq::Quality::quality_process(), ntupleDataFormat._HitObject::r(), ntupleDataFormat._HitObject::r3D(), mkfit::Track::rAtZ(), mkfit::TrackExtra::setCMSSWTrackIDInfoByHits(), mkfit::TrackExtra::setCMSSWTrackIDInfoByTrkParams(), mkfit::TrackExtra::setMCTrackIDInfo(), mkfit::Track::swimPhiToR(), and mkfit::Track::zAtR().
|
inline |
Definition at line 162 of file Track.h.
References mkfit::TrackState::parameters, and state_.
Referenced by mkfit::Event::clean_cms_seedtracks(), mkfit::StdSeq::clean_cms_seedtracks_iter(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r3D(), mkfit::Track::rAtZ(), mkfit::MkFinder::selectHitIndices(), and mkfit::Track::zAtR().
|
protected |
Definition at line 346 of file Track.h.
Referenced by mkfit::TrackCand::addHitIdx(), mkfit::Track::addHitIdx(), chi2(), and setChi2().
|
protected |
Definition at line 351 of file Track.h.
Referenced by Modules.SwitchProducer::__addParameter(), SequenceTypes.DummyModule::__repr__(), Modules.SwitchProducer::__setattr__(), Mixins._Labelable::_findDependencies(), label(), setLabel(), and Mixins._Labelable::setLabel().
|
protected |
Definition at line 348 of file Track.h.
Referenced by mkfit::TrackCand::addHitIdx(), mkfit::Track::addHitIdx(), mkfit::Track::countAndSetNFoundHits(), mkfit::Track::endHitsOnTrack(), mkfit::TrackCand::exportTrack(), mkfit::Track::foundLayers(), mkfit::TrackCand::getLastFoundHitLyr(), mkfit::Track::getLastFoundHitPos(), mkfit::TrackCand::getLastFoundPixelHitLyr(), mkfit::TrackCand::getLastHitIdx(), mkfit::Track::getLastHitIdx(), mkfit::TrackCand::getLastHitLyr(), mkfit::Track::getLastHitLyr(), mkfit::TrackCand::getLastHitOnTrack(), mkfit::Track::getLastHitOnTrack(), mkfit::Track::getMCHitIDFromLayer(), mkfit::TrackCand::lastCcIndex(), mkfit::Track::mcHitIDsVec(), mkfit::TrackCand::nHitsByTypeEncoded(), mkfit::Track::nInsideMinusOneHits(), mkfit::TrackCand::nLayersByTypeEncoded(), mkfit::Track::nTailMinusOneHits(), mkfit::Track::nTotalHits(), mkfit::TrackCand::nUniqueLayers(), mkfit::Track::nUniqueLayers(), mkfit::TrackCand::refLastHoTNode(), mkfit::Track::resetHits(), mkfit::Track::resizeHits(), mkfit::Track::resizeHitsForInput(), mkfit::TrackCand::setLastCcIndex(), mkfit::Track::sortHitsByLayer(), mkfit::Track::Track(), and mkfit::TrackCand::TrackCand().
|
protected |
Definition at line 349 of file Track.h.
Referenced by mkfit::TrackCand::addHitIdx(), mkfit::Track::addHitIdx(), mkfit::Track::countAndSetNFoundHits(), mkfit::TrackCand::nFoundHits(), mkfit::Track::nFoundHits(), mkfit::TrackCand::nTotalHits(), mkfit::Track::resetHits(), mkfit::Track::resizeHits(), mkfit::TrackCand::setNFoundHits(), mkfit::Track::Track(), and mkfit::TrackCand::TrackCand().
|
protected |
Definition at line 347 of file Track.h.
Referenced by mkfit::TrackCand::resetShortTrack(), score(), and setScore().
|
protected |
Definition at line 345 of file Track.h.
Referenced by charge(), emomEta(), emomPhi(), epT(), errArray(), errors(), errors_nc(), hasNanNSillyValues(), hasSillyValues(), invpT(), momentum(), momEta(), momPhi(), p(), parameters(), parameters_nc(), posArray(), posEta(), position(), posPhi(), posR(), posRsq(), pT(), px(), py(), pz(), setCharge(), setState(), state(), state_nc(), theta(), x(), y(), and z().
|
protected |
Definition at line 350 of file Track.h.
Referenced by algoint(), algorithm(), getDuplicateValue(), getEtaRegion(), getNSeedHits(), getStatus(), isFindable(), isNotFindable(), mkfit::Track::nOverlapHits(), prodType(), setAlgoint(), setAlgorithm(), setDuplicateValue(), setEtaRegion(), setNotFindable(), mkfit::Track::setNOverlapHits(), setNSeedHits(), setProdType(), and setStatus().