#include <MatchProcessor.h>
Public Member Functions | |
void | addInput (MemoryBase *memory, std::string input) override |
void | addOutput (MemoryBase *memory, std::string output) override |
void | execute (unsigned int iSector, double phimin) |
bool | matchCalculator (Tracklet *tracklet, const Stub *fpgastub, bool print, unsigned int istep) |
MatchProcessor (std::string name, Settings const &settings, Globals *global) | |
~MatchProcessor () 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 |
Additional Inherited Members | |
Protected Attributes inherited from trklet::ProcessBase | |
Globals * | globals_ |
std::string | name_ |
Settings const & | settings_ |
Definition at line 25 of file MatchProcessor.h.
Definition at line 28 of file MatchProcessor.cc.
References alphainner_, alphaouter_, trklet::Settings::alphashift(), cms::cuda::assert(), barrel_, best_ideltaphi_barrel, best_ideltaphi_disk, best_ideltar_disk, best_ideltaz_barrel, curr_tracklet, trklet::IMATH_TrackletCalculator::der_phiD_final, diskRadius_, dzshift_, trklet::ProcessBase::getName(), trklet::Settings::half2SmoduleWidth(), mps_fire::i, ialphafactinner_, ialphafactouter_, icorrshift_, icorzshift_, trklet::ilog2(), trklet::TrackletLUT::initBendMatch(), trklet::ProcessBase::initLayerDisk(), trklet::TrackletLUT::initmatchcut(), trklet::TrackletLUT::initProjectionBend(), trklet::TrackletLUT::initProjectionDiskRadius(), trklet::Globals::ITC_L1L2(), trklet::VarBase::K(), trklet::Settings::kphi(), trklet::Settings::kphider(), trklet::Settings::kphiderdisk(), trklet::Settings::krbarrel(), trklet::Settings::krder(), trklet::Settings::krprojshiftdisk(), trklet::Settings::kz(), trklet::Settings::kzder(), layerdisk_, luttable_, matchengines_, trklet::N_DSS_MOD, trklet::N_LAYER, trklet::Settings::nallstubs(), Skims_PA_cff::name, trklet::Settings::nbitsallstubs(), trklet::Settings::nbitsalpha(), trklet::Settings::nbitsvmme(), next_tracklet, nMatchEngines_, trklet::Settings::nphibitsstub(), nphiderbits_, nrbits_, nrinv_, trklet::NRINVBITS, nrprojbits_, nvm_, nvmbins_, nvmbits_, trklet::Settings::nvmme(), trklet::Settings::nzbitsstub(), phimatchcuttable_, phiregion_, phishift_, rcut2Stable_, rcutPStable_, trklet::Settings::rDSSinner(), trklet::Settings::rDSSouter(), nano_mu_digi_cff::region, rinvbendlut_, rphicut2Stable_, rphicutPStable_, rSSinner_, rSSouter_, trklet::MatchEngineUnit::setimeu(), trklet::ProcessBase::settings_, and zmatchcuttable_.
|
overridedefault |
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 140 of file MatchProcessor.cc.
References allstubs_, cms::cuda::assert(), Exception, input, inputprojs_, mps_setup::memory, trklet::ProcessBase::name_, trklet::ProcessBase::settings_, createJobs::tmp, vmstubs_, and trklet::Settings::writetrace().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 123 of file MatchProcessor.cc.
References cms::cuda::assert(), Exception, fullmatches_, trklet::ProcessBase::getISeed(), mps_setup::memory, trklet::ProcessBase::name_, convertSQLitetoXML_cfg::output, trklet::ProcessBase::settings_, createJobs::tmp, and trklet::Settings::writetrace().
void MatchProcessor::execute | ( | unsigned int | iSector, |
double | phimin | ||
) |
Definition at line 166 of file MatchProcessor.cc.
References cms::cuda::assert(), barrel_, trklet::FPGAWord::bits(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), trklet::Settings::debugTracklet(), diskRadius_, relativeConstraints::empty, trklet::MemoryBase::getName(), trklet::ProcessBase::getName(), trklet::TrackletProjectionsMemory::getTracklet(), trklet::ProcessBase::globals_, inputProjBuffer_, inputprojs_, hcalRecHitTable_cff::iphi, trklet::ProjectionTemp::iphi(), trklet::ProjectionTemp::isPSseed(), layerdisk_, trklet::TrackletLUT::lookup(), matchCalculator(), matchengines_, trklet::Settings::maxStep(), trklet::N_LAYER, trklet::N_RZBITS, LaserClient_cfi::nbins, trklet::FPGAWord::nbits(), trklet::Settings::nbitsvmme(), trklet::NFINEPHIBITS, nMatchEngines_, nphiderbits_, nrbits_, nrinv_, nrprojbits_, trklet::VMStubsMEMemory::nStubsBin(), trklet::TrackletProjectionsMemory::nTracklets(), nvmbins_, nvmbits_, trklet::Globals::ofstream(), phimin, phimin_, print(), amptDefault_cfi::proj, trklet::ProjectionTemp::proj(), trklet::ProjectionTemp::projfinephi(), trklet::ProjectionTemp::projfinerz(), trklet::ProjectionTemp::projrinv(), rinvbendlut_, edm::second(), trklet::ProcessBase::settings_, edm::shift, trklet::ProjectionTemp::shift(), trklet::ProjectionTemp::slot(), FCDTask_cfi::slot, trklet::Tracklet::TCID(), mitigatedMETSequence_cff::U, trklet::ProjectionTemp::use(), trklet::FPGAWord::value(), vmstubs_, and trklet::Settings::writeMonitorData().
bool MatchProcessor::matchCalculator | ( | Tracklet * | tracklet, |
const Stub * | fpgastub, | ||
bool | print, | ||
unsigned int | istep | ||
) |
Definition at line 493 of file MatchProcessor.cc.
References funct::abs(), trklet::Tracklet::addMatch(), trklet::Stub::alpha(), trklet::L1TStub::alphanorm(), trklet::Settings::alphashift(), cms::cuda::assert(), best_ideltaphi_barrel, best_ideltaphi_disk, best_ideltar_disk, best_ideltaz_barrel, trklet::Settings::bfield(), trklet::Settings::bookHistos(), trklet::Settings::c(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), curr_tracklet, trklet::Settings::debugTracklet(), trklet::Tracklet::disk(), trklet::Settings::doKF(), trklet::Settings::doMultipleMatches(), trklet::Settings::dphisectorHG(), trklet::Settings::drmax(), PVValHelper::dz, trklet::Settings::dzmax(), dzshift_, Exception, fullmatches_, trklet::Tracklet::getISeed(), trklet::ProcessBase::getName(), trklet::ProcessBase::globals_, trklet::Settings::half2SmoduleWidth(), trklet::Globals::histograms(), compare::hists, ialphafactinner_, ialphafactouter_, icorrshift_, icorzshift_, createfilelist::int, hcalRecHitTable_cff::iphi, trklet::L1TStub::isPSmodule(), runTheMatrix::keep, trklet::Settings::kphi(), trklet::Settings::kphi1(), trklet::Settings::kr(), trklet::Settings::krprojshiftdisk(), trklet::Settings::kz(), trklet::Stub::l1tstub(), trklet::Tracklet::layer(), layerdisk_, trklet::TrackletLUT::lookup(), M_PI, trklet::Tracklet::match(), trklet::N_BITSMEMADDRESS, trklet::N_DSS_MOD, trklet::N_LAYER, trklet::ProcessBase::name_, trklet::FPGAWord::nbits(), next_tracklet, trklet::Globals::ofstream(), trklet::L1TStub::phi(), trklet::Stub::phi(), trklet::Stub::phiapprox(), phimatchcuttable_, phimin_, phiregion_, phishift_, amptDefault_cfi::proj, trklet::Tracklet::proj(), DiDispStaMuonMonitor_cfi::pt, trklet::L1TStub::r(), trklet::Stub::r(), trklet::L1TStub::r2(), trklet::Stub::rapprox(), rcut2Stable_, rcutPStable_, trklet::Settings::rDSSinner(), trklet::Settings::rDSSouter(), reco::reduceRange(), trklet::Tracklet::resid(), trklet::Tracklet::rinv(), trklet::Settings::rmean(), rphicut2Stable_, rphicutPStable_, trklet::ProcessBase::settings_, Validation_hcalonly_cfi::sign, trklet::Stub::stubindex(), trklet::Tracklet::stubtruthmatch(), trklet::Tracklet::t(), trklet::third, trklet::Settings::useapprox(), trklet::FPGAWord::value(), trklet::Settings::writeMonitorData(), trklet::L1TStub::z(), trklet::Stub::z(), trklet::Stub::zapprox(), zmatchcuttable_, and trklet::Settings::zmean().
Referenced by execute().
|
private |
Definition at line 74 of file MatchProcessor.h.
Referenced by addInput().
|
private |
Definition at line 61 of file MatchProcessor.h.
Referenced by MatchProcessor().
|
private |
Definition at line 62 of file MatchProcessor.h.
Referenced by MatchProcessor().
|
private |
Definition at line 40 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 95 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 97 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 98 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 96 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 99 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 66 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 49 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 82 of file MatchProcessor.h.
Referenced by addOutput(), and matchCalculator().
|
private |
Definition at line 78 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 79 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 50 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 51 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 102 of file MatchProcessor.h.
Referenced by execute().
|
private |
Definition at line 76 of file MatchProcessor.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 39 of file MatchProcessor.h.
Referenced by execute(), matchCalculator(), and MatchProcessor().
|
private |
Definition at line 88 of file MatchProcessor.h.
Referenced by MatchProcessor().
|
private |
Definition at line 93 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 100 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 92 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 69 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 68 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 47 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 72 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 44 of file MatchProcessor.h.
Referenced by MatchProcessor().
|
private |
Definition at line 46 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 45 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 54 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 90 of file MatchProcessor.h.
Referenced by execute(), and matchCalculator().
|
private |
Definition at line 42 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 52 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 60 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 59 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 85 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 58 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 57 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 63 of file MatchProcessor.h.
Referenced by MatchProcessor().
|
private |
Definition at line 64 of file MatchProcessor.h.
Referenced by MatchProcessor().
|
private |
Definition at line 75 of file MatchProcessor.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 55 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().