#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(), 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_FULL_cff::region, rinvbendlut_, rphicut2Stable_, rphicutPStable_, trklet::ProcessBase::settings_, and zmatchcuttable_.
|
overridedefault |
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 107 of file MatchProcessor.cc.
References allstubs_, cms::cuda::assert(), Exception, trklet::MemoryBase::getName(), input, inputprojs_, trklet::ProcessBase::name_, trklet::ProcessBase::settings_, createJobs::tmp, vmstubs_, and trklet::Settings::writetrace().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 90 of file MatchProcessor.cc.
References cms::cuda::assert(), Exception, fullmatches_, trklet::ProcessBase::getISeed(), trklet::MemoryBase::getName(), 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 133 of file MatchProcessor.cc.
References cms::cuda::assert(), barrel_, trklet::FPGAWord::bits(), trklet::Settings::debugTracklet(), relativeConstraints::empty, trklet::Projection::fpgafinerzvm(), trklet::Projection::fpgaphiproj(), trklet::Projection::fpgaphiprojder(), trklet::Projection::fpgarzbin1projvm(), trklet::Projection::fpgarzbin2projvm(), trklet::Projection::fpgarzproj(), trklet::Projection::fpgarzprojder(), trklet::MemoryBase::getName(), trklet::ProcessBase::getName(), trklet::TrackletProjectionsMemory::getTracklet(), trklet::ProcessBase::globals_, inputProjBuffer_, inputprojs_, trklet::ProjectionTemp::iphi(), trklet::ProjectionTemp::isPSseed(), relval_steps::istep, layerdisk_, trklet::TrackletLUT::lookup(), match(), matchCalculator(), matchengines_, trklet::Settings::maxStep(), trklet::N_LAYER, trklet::N_RZBITS, hlt_dqm_clientPB-live_cfg::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(), trklet::ProjectionTemp::proj(), trklet::Tracklet::proj(), trklet::ProjectionTemp::projfinephi(), trklet::ProjectionTemp::projfinerz(), trklet::ProjectionTemp::projrinv(), trklet::Tracklet::PSseed(), rinvbendlut_, edm::second(), trklet::Projection::setBendIndex(), trklet::ProcessBase::settings_, edm::shift, trklet::ProjectionTemp::shift(), trklet::ProjectionTemp::slot(), trklet::Tracklet::TCID(), 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 432 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::dphisectorHG(), runTauDisplay::dr, trklet::Settings::drmax(), PVValHelper::dz, trklet::Settings::dzmax(), dzshift_, Exception, trklet::HistBase::FillLayerResidual(), trklet::Projection::fpgaphiproj(), trklet::Projection::fpgaphiprojder(), trklet::Projection::fpgarzproj(), trklet::Projection::fpgarzprojder(), fullmatches_, trklet::Tracklet::getISeed(), trklet::ProcessBase::getName(), trklet::ProcessBase::globals_, trklet::Settings::half2SmoduleWidth(), trklet::Globals::histograms(), compare::hists, ialphafactinner_, ialphafactouter_, icorrshift_, icorzshift_, trklet::L1TStub::isPSmodule(), 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, 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_, trklet::Projection::phiproj(), trklet::Projection::phiprojapprox(), trklet::Projection::phiprojder(), trklet::Projection::phiprojderapprox(), phiregion_, phishift_, trklet::Tracklet::proj(), DiDispStaMuonMonitor_cfi::pt, trklet::L1TStub::r(), trklet::Stub::r(), alignCSCRings::r, trklet::L1TStub::r2(), trklet::Stub::rapprox(), rcut2Stable_, rcutPStable_, trklet::Settings::rDSSinner(), trklet::Settings::rDSSouter(), reco::reduceRange(), trklet::Tracklet::rinv(), trklet::Settings::rmean(), rphicut2Stable_, rphicutPStable_, trklet::Projection::rzproj(), trklet::Projection::rzprojapprox(), trklet::Projection::rzprojder(), trklet::Projection::rzprojderapprox(), trklet::ProcessBase::settings_, jetcorrextractor::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().