#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 |
Private Attributes | |
AllStubsMemory * | allstubs_ |
bool | barrel_ |
int | dzshift_ |
std::vector< FullMatchMemory * > | fullmatches_ |
int | ialphafactinner_ [N_DSS_MOD *2] |
int | ialphafactouter_ [N_DSS_MOD *2] |
int | icorrshift_ |
int | icorzshift_ |
CircularBuffer< ProjectionTemp > | inputProjBuffer_ |
std::vector< TrackletProjectionsMemory * > | inputprojs_ |
unsigned int | layerdisk_ |
TrackletLUT | luttable_ |
std::vector< MatchEngineUnit > | matchengines_ |
unsigned int | nMatchEngines_ |
int | nphiderbits_ |
int | nrbits_ |
int | nrinv_ |
int | nvm_ |
int | nvmbins_ |
int | nvmbits_ |
TrackletLUT | phimatchcuttable_ |
double | phimin_ |
unsigned int | phiregion_ |
int | phishift_ |
TrackletLUT | rcut2Stable_ |
TrackletLUT | rcutPStable_ |
TrackletLUT | rinvbendlut_ |
TrackletLUT | rphicut2Stable_ |
TrackletLUT | rphicutPStable_ |
std::vector< VMStubsMEMemory * > | vmstubs_ |
TrackletLUT | zmatchcuttable_ |
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 16 of file MatchProcessor.cc.
References trklet::Settings::alphashift(), cms::cuda::assert(), barrel_, trklet::IMATH_TrackletCalculator::der_phiD_final, 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::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(), nMatchEngines_, trklet::Settings::nphibitsstub(), nphiderbits_, nrbits_, nrinv_, trklet::NRINVBITS, nvm_, nvmbins_, nvmbits_, trklet::Settings::nvmme(), trklet::Settings::nzbitsstub(), phimatchcuttable_, phiregion_, phishift_, rcut2Stable_, rcutPStable_, trklet::Settings::rDSSinner(), trklet::Settings::rDSSouter(), HLT_2022v15_cff::region, rinvbendlut_, rphicut2Stable_, rphicutPStable_, trklet::MatchEngineUnit::setimeu(), trklet::ProcessBase::settings_, and zmatchcuttable_.
|
overridedefault |
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 108 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 91 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 134 of file MatchProcessor.cc.
References cms::cuda::assert(), barrel_, trklet::FPGAWord::bits(), trklet::Settings::debugTracklet(), relativeConstraints::empty, trklet::MemoryBase::getName(), trklet::ProcessBase::getName(), trklet::TrackletProjectionsMemory::getTracklet(), trklet::ProcessBase::globals_, inputProjBuffer_, inputprojs_, trklet::ProjectionTemp::iphi(), LEDCalibrationChannels::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_, 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(), 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 443 of file MatchProcessor.cc.
References funct::abs(), trklet::Tracklet::addMatch(), trklet::Stub::alpha(), trklet::L1TStub::alphanorm(), trklet::Settings::alphashift(), cms::cuda::assert(), trklet::Settings::bfield(), trklet::Settings::bookHistos(), trklet::Settings::c(), 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_, LEDCalibrationChannels::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::Globals::ofstream(), trklet::Stub::phi(), trklet::L1TStub::phi(), trklet::Stub::phiapprox(), phimatchcuttable_, phimin_, phiregion_, phishift_, amptDefault_cfi::proj, trklet::Tracklet::proj(), DiDispStaMuonMonitor_cfi::pt, trklet::Stub::r(), trklet::L1TStub::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 65 of file MatchProcessor.h.
Referenced by addInput().
|
private |
Definition at line 40 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 73 of file MatchProcessor.h.
Referenced by addOutput(), and matchCalculator().
|
private |
Definition at line 69 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 70 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 86 of file MatchProcessor.h.
Referenced by execute().
|
private |
Definition at line 67 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 79 of file MatchProcessor.h.
Referenced by MatchProcessor().
|
private |
Definition at line 84 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 83 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 63 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 62 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 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 81 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 76 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 66 of file MatchProcessor.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 55 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().