#include <MatchEngine.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) |
MatchEngine (std::string name, Settings const &settings, Globals *global) | |
~MatchEngine () 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 | |
bool | barrel_ |
CandidateMatchMemory * | candmatches_ |
unsigned int | layerdisk_ |
TrackletLUT | luttable_ |
unsigned int | nrinv_ |
VMProjectionsMemory * | vmprojs_ |
VMStubsMEMemory * | vmstubs_ |
Additional Inherited Members | |
Protected Attributes inherited from trklet::ProcessBase | |
Globals * | globals_ |
std::string | name_ |
Settings const & | settings_ |
Definition at line 17 of file MatchEngine.h.
Definition at line 18 of file MatchEngine.cc.
References barrel_, trklet::TrackletLUT::initBendMatch(), trklet::ProcessBase::initLayerDisk(), layerdisk_, luttable_, trklet::N_LAYER, nrinv_, and trklet::NRINVBITS.
|
overridedefault |
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 43 of file MatchEngine.cc.
References cms::cuda::assert(), Exception, input, mps_setup::memory, trklet::ProcessBase::name_, trklet::ProcessBase::settings_, createJobs::tmp, vmprojs_, vmstubs_, and trklet::Settings::writetrace().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 29 of file MatchEngine.cc.
References cms::cuda::assert(), candmatches_, Exception, mps_setup::memory, trklet::ProcessBase::name_, convertSQLitetoXML_cfg::output, trklet::ProcessBase::settings_, createJobs::tmp, and trklet::Settings::writetrace().
void MatchEngine::execute | ( | unsigned int | iSector | ) |
Definition at line 63 of file MatchEngine.cc.
References funct::abs(), trklet::CandidateMatchMemory::addMatch(), cms::cuda::assert(), barrel_, trklet::VMStubME::bend(), candmatches_, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), trklet::Settings::debugTracklet(), trklet::Settings::extended(), trklet::VMStubME::finephi(), trklet::VMStubME::finerz(), groupFilesInBlocks::fout, trklet::VMProjectionsMemory::getAllProjIndex(), trklet::ProcessBase::getName(), trklet::VMProjectionsMemory::getTracklet(), trklet::VMStubsMEMemory::getVMStubMEBin(), trklet::ProcessBase::globals_, trklet::VMStubME::isPSmodule(), relval_steps::istep, layerdisk_, trklet::TrackletLUT::lookup(), luttable_, trklet::Settings::maxStep(), trklet::N_BENDBITS_2S, trklet::N_BENDBITS_PS, trklet::N_LAYER, trklet::N_PSLAYER, trklet::ProcessBase::name_, trklet::ProcessBase::nbits(), trklet::NFINERZBITS, nrinv_, trklet::VMStubsMEMemory::nStubsBin(), trklet::VMProjectionsMemory::nTracklets(), trklet::Globals::ofstream(), print(), amptDefault_cfi::proj, edm::second(), trklet::ProcessBase::settings_, trklet::VMStubME::stub(), createJobs::tmp, trklet::FPGAWord::value(), vmprojs_, vmstubs_, and trklet::Settings::writeMonitorData().
|
private |
Definition at line 36 of file MatchEngine.h.
Referenced by execute(), and MatchEngine().
|
private |
Definition at line 32 of file MatchEngine.h.
Referenced by addOutput(), and execute().
|
private |
Definition at line 34 of file MatchEngine.h.
Referenced by execute(), and MatchEngine().
|
private |
Definition at line 41 of file MatchEngine.h.
Referenced by execute(), and MatchEngine().
|
private |
Definition at line 38 of file MatchEngine.h.
Referenced by execute(), and MatchEngine().
|
private |
Definition at line 30 of file MatchEngine.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 29 of file MatchEngine.h.
Referenced by addInput(), and execute().