#include <FitTrack.h>
Public Member Functions | |
void | addInput (MemoryBase *memory, std::string input) override |
void | addOutput (MemoryBase *memory, std::string output) override |
void | execute (std::deque< std::string > &streamTrackRaw, std::vector< std::deque< StubStreamData >> &stubStream, unsigned int iSector) |
FitTrack (std::string name, Settings const &settings, Globals *global) | |
std::vector< Tracklet * > | orderedMatches (std::vector< FullMatchMemory *> &fullmatch) |
void | trackFitChisq (Tracklet *tracklet, std::vector< const Stub *> &, std::vector< std::pair< int, int >> &) |
void | trackFitFake (Tracklet *tracklet, std::vector< const Stub *> &, std::vector< std::pair< int, int >> &) |
void | trackFitKF (Tracklet *tracklet, std::vector< const Stub *> &trackstublist, std::vector< std::pair< int, int >> &stubidslist) |
~FitTrack () override=default | |
Public Member Functions inherited from trklet::ProcessBase | |
unsigned int | getISeed (const std::string &name) |
std::string const & | getName () const |
void | initLayerDisk (unsigned int pos, int &layer, int &disk) |
void | initLayerDisk (unsigned int pos, int &layer, int &disk, int &layerdisk) |
unsigned int | initLayerDisk (unsigned int pos) |
void | initLayerDisksandISeed (unsigned int &layerdisk1, unsigned int &layerdisk2, unsigned int &iSeed) |
unsigned int | nbits (unsigned int power) |
ProcessBase (std::string name, Settings const &settings, Globals *global) | |
virtual | ~ProcessBase ()=default |
Private Attributes | |
std::vector< FullMatchMemory * > | fullmatch1_ |
std::vector< FullMatchMemory * > | fullmatch2_ |
std::vector< FullMatchMemory * > | fullmatch3_ |
std::vector< FullMatchMemory * > | fullmatch4_ |
unsigned int | iSector_ |
std::vector< TrackletParametersMemory * > | seedtracklet_ |
TrackFitMemory * | trackfit_ |
Additional Inherited Members | |
Protected Attributes inherited from trklet::ProcessBase | |
Globals * | globals_ |
std::string | name_ |
Settings const & | settings_ |
Definition at line 19 of file FitTrack.h.
Definition at line 16 of file FitTrack.cc.
|
overridedefault |
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 34 of file FitTrack.cc.
References cms::cuda::assert(), Exception, fullmatch1_, fullmatch2_, fullmatch3_, fullmatch4_, input, mps_setup::memory, trklet::ProcessBase::name_, seedtracklet_, trklet::ProcessBase::settings_, createJobs::tmp, and trklet::Settings::writetrace().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 19 of file FitTrack.cc.
References cms::cuda::assert(), Exception, mps_setup::memory, trklet::ProcessBase::name_, convertSQLitetoXML_cfg::output, trklet::ProcessBase::settings_, createJobs::tmp, trackfit_, and trklet::Settings::writetrace().
void FitTrack::execute | ( | std::deque< std::string > & | streamTrackRaw, |
std::vector< std::deque< StubStreamData >> & | stubStream, | ||
unsigned int | iSector | ||
) |
Definition at line 876 of file FitTrack.cc.
References trklet::TrackFitMemory::addStubidsList(), trklet::TrackFitMemory::addStubList(), trklet::TrackFitMemory::addTrack(), cms::cuda::assert(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), trklet::Settings::debugTracklet(), trklet::L1TStub::disk(), trklet::Settings::fakefit(), trklet::Tracklet::fit(), groupFilesInBlocks::fout, trklet::Tracklet::fpgaphi0(), trklet::Residual::fpgaphiresid(), trklet::Tracklet::fpgarinv(), trklet::Residual::fpgarzresid(), trklet::Residual::fpgastubid(), trklet::Tracklet::fpgat(), trklet::Tracklet::fpgaz0(), fullmatch1_, fullmatch2_, fullmatch3_, fullmatch4_, trklet::Tracklet::getISeed(), trklet::ProcessBase::getName(), trklet::ProcessBase::globals_, mps_fire::i, trklet::Tracklet::innerFPGAStub(), createfilelist::int, iSector_, trklet::L1TStub::isPSmodule(), trklet::Stub::l1tstub(), trklet::Tracklet::match(), trklet::Settings::maxStep(), trklet::N_DISK, trklet::N_LAYER, trklet::N_SEED_PROMPT, trklet::ProcessBase::name_, trklet::Settings::nbitsseed(), trklet::TrackFitMemory::nTracks(), trklet::Globals::ofstream(), orderedMatches(), trklet::Tracklet::outerFPGAStub(), trklet::Stub::r(), trklet::Settings::removalType(), trklet::Tracklet::resid(), trklet::rinv(), fileCollector::seed, trklet::ProcessBase::settings_, trklet::Tracklet::setTrackIndex(), trklet::Settings::storeTrackBuilderOutput(), trklet::FPGAWord::str(), str, cms::cuda::stream, AlCaHLTBitMon_QueryRunRegistry::string, trklet::Stub::stubindex(), trklet::Residual::stubptr(), trklet::Tracklet::t(), submitPVValidationJobs::t, trklet::Tracklet::TCID(), trackfit_, trackFitChisq(), trackFitFake(), trackFitKF(), validateGeometry_cfg::valid, and trklet::Settings::writeMonitorData().
std::vector< Tracklet * > FitTrack::orderedMatches | ( | std::vector< FullMatchMemory *> & | fullmatch | ) |
Definition at line 817 of file FitTrack.cc.
References cms::cuda::assert(), trklet::Settings::debugTracklet(), trklet::ProcessBase::getName(), mps_fire::i, dqmiolumiharvest::j, trklet::ProcessBase::settings_, and createJobs::tmp.
Referenced by execute().
void FitTrack::trackFitChisq | ( | Tracklet * | tracklet, |
std::vector< const Stub *> & | , | ||
std::vector< std::pair< int, int >> & | |||
) |
Definition at line 141 of file FitTrack.cc.
References funct::abs(), trklet::Stub::alpha(), trklet::L1TStub::alpha(), isotrackApplyRegressor::alpha, trklet::Settings::alphaBitsTable(), cms::cuda::assert(), trklet::TrackDerTable::calculateDerivatives(), trklet::Settings::chisqphifactbits(), trklet::Settings::chisqzfactbits(), ztail::d, d1, trklet::Settings::debugTracklet(), dumpMFGeometry_cfg::delta, trklet::Tracklet::disk(), alignBH_cfg::disks, dt, MillePedeFileConverter_cfg::e, trklet::Settings::exactderivatives(), trklet::Settings::exactderivativesforfloating(), trklet::TrackDer::fill(), trklet::TrackDerTable::fillTable(), trklet::Settings::fitPatternFile(), trklet::Settings::fitphi0bitshift(), trklet::Settings::fitrinvbitshift(), trklet::Settings::fittbitshift(), trklet::Settings::fitz0bitshift(), trklet::Tracklet::fpgaphi0(), trklet::Residual::fpgaphiresid(), trklet::Tracklet::fpgarinv(), trklet::Residual::fpgarzresid(), trklet::Tracklet::fpgat(), trklet::Tracklet::fpgaz0(), trklet::TrackDerTable::getDerivatives(), trklet::TrackDerTable::getEntries(), trklet::ProcessBase::getName(), trklet::ProcessBase::globals_, mps_fire::i, cuy::ii, trklet::Tracklet::innerFPGAStub(), createfilelist::int, trklet::Tracklet::isBarrel(), trklet::Tracklet::isDisk(), trklet::Tracklet::isOverlap(), trklet::L1TStub::isPSmodule(), trklet::TrackDer::itdzcorr(), trklet::TrackDer::iz0dzcorr(), dqmiolumiharvest::j, isotrackApplyRegressor::k, runTheMatrix::keep, kfactor, trklet::Settings::kphi(), trklet::Settings::kr(), trklet::Settings::krinvpars(), trklet::Settings::ktpars(), MainPageGenerator::l, trklet::Stub::l1tstub(), trklet::Tracklet::layer(), hgcalTBTopologyTester_cfi::layers, trklet::Tracklet::match(), VarParsing::mult, create_idmaps::n, trklet::N_DISK, trklet::N_FITPARAM, trklet::N_FITSTUB, trklet::N_LAYER, trklet::FPGAWord::nbits(), trklet::Settings::nrinvBitsTable(), trklet::Globals::ofstream(), trklet::Tracklet::outerFPGAStub(), trklet::Tracklet::phi0(), trklet::Tracklet::phi0approx(), trklet::Settings::phicritmax(), trklet::Settings::phicritmin(), trklet::Residual::phiresid(), trklet::Residual::phiresidapprox(), cms::alpakatools::detail::power(), trklet::L1TStub::r(), trklet::Settings::rcorrbits(), trklet::Settings::rcrit(), trklet::TrackDerTable::readPatternFile(), trklet::Tracklet::resid(), trklet::rinv(), trklet::Tracklet::rinv(), trklet::Tracklet::rinvapprox(), trklet::Settings::rinvmax(), trklet::Settings::rmean(), trklet::Settings::rPS2S(), trklet::Residual::rzresid(), trklet::Residual::rzresidapprox(), trklet::FPGAWord::set(), trklet::Tracklet::setFitPars(), trklet::ProcessBase::settings_, Validation_hcalonly_cfi::sign, trklet::FPGAWord::str(), AlCaHLTBitMon_QueryRunRegistry::string, trklet::Settings::stripPitch(), trklet::Residual::stubptr(), trklet::Tracklet::t(), submitPVValidationJobs::t, trklet::Tracklet::tapprox(), trklet::TrackDer::tdzcorr(), createJobs::tmp, callgraph::tmpl, to_string(), trklet::TrackDerTable::tpar(), trklet::Globals::trackDerTable(), parallelization::uint, trklet::FPGAWord::value(), trklet::Settings::warnNoDer(), trklet::Settings::writeMonitorData(), trklet::Tracklet::z0(), trklet::Tracklet::z0approx(), trklet::TrackDer::z0dzcorr(), and trklet::Settings::zmean().
Referenced by execute().
void FitTrack::trackFitFake | ( | Tracklet * | tracklet, |
std::vector< const Stub *> & | , | ||
std::vector< std::pair< int, int >> & | |||
) |
Definition at line 791 of file FitTrack.cc.
References trklet::Tracklet::d0(), trklet::Tracklet::d0approx(), trklet::Tracklet::fpgad0(), trklet::Tracklet::fpgaphi0(), trklet::Tracklet::fpgarinv(), trklet::Tracklet::fpgat(), trklet::Tracklet::fpgaz0(), trklet::Tracklet::phi0(), trklet::Tracklet::phi0approx(), trklet::Tracklet::rinv(), trklet::Tracklet::rinvapprox(), trklet::Tracklet::setFitPars(), trklet::Tracklet::t(), trklet::Tracklet::tapprox(), trklet::FPGAWord::value(), trklet::Tracklet::z0(), and trklet::Tracklet::z0approx().
Referenced by execute().
void trklet::FitTrack::trackFitKF | ( | Tracklet * | tracklet, |
std::vector< const Stub *> & | trackstublist, | ||
std::vector< std::pair< int, int >> & | stubidslist | ||
) |
Referenced by execute().
|
private |
Definition at line 51 of file FitTrack.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 52 of file FitTrack.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 53 of file FitTrack.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 54 of file FitTrack.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 56 of file FitTrack.h.
Referenced by execute().
|
private |
Definition at line 50 of file FitTrack.h.
Referenced by addInput().
|
private |
Definition at line 58 of file FitTrack.h.
Referenced by addOutput(), and execute().