#include <MatchEngine.h>
Public Member Functions | |
void | addInput (MemoryBase *memory, std::string input) override |
void | addOutput (MemoryBase *memory, std::string output) override |
void | execute () |
MatchEngine (std::string name, Settings const &settings, Globals *global, unsigned int iSector) | |
~MatchEngine () override=default | |
Public Member Functions inherited from trklet::ProcessBase | |
unsigned int | getISeed (std::string name) |
std::string const & | getName () const |
unsigned int | initLayerDisk (unsigned int pos) |
void | initLayerDisk (unsigned int pos, int &layer, int &disk) |
void | initLayerDisk (unsigned int pos, int &layer, int &disk, int &layerdisk) |
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, unsigned int iSector) | |
virtual | ~ProcessBase ()=default |
Private Attributes | |
CandidateMatchMemory * | candmatches_ |
int | disk_ |
int | layer_ |
std::vector< bool > | table2S_ |
std::vector< bool > | table_ |
std::vector< bool > | tablePS_ |
VMProjectionsMemory * | vmprojs_ |
VMStubsMEMemory * | vmstubs_ |
Additional Inherited Members | |
Protected Attributes inherited from trklet::ProcessBase | |
Globals * | globals_ |
unsigned int | iSector_ |
std::string | name_ |
double | phimax_ |
double | phimin_ |
Settings const & | settings_ |
Definition at line 16 of file MatchEngine.h.
MatchEngine::MatchEngine | ( | std::string | name, |
Settings const & | settings, | ||
Globals * | global, | ||
unsigned int | iSector | ||
) |
Definition at line 16 of file MatchEngine.cc.
References funct::abs(), trklet::bend(), trklet::Settings::bendcutme(), trklet::benddecode(), disk_, Exception, alignmentValidation::fname, mps_fire::i, createfilelist::int, trklet::Settings::krinvpars(), layer_, Skims_PA_cff::name, trklet::ProcessBase::nbits(), trklet::Settings::nbitsrinv(), MillePedeFileConverter_cfg::out, trklet::Settings::rcrit(), trklet::rinv(), trklet::Settings::rmean(), trklet::ProcessBase::settings_, trklet::Settings::stripPitch(), table2S_, table_, tablePS_, and trklet::Settings::writeTable().
|
overridedefault |
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 97 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 83 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 | ( | void | ) |
Definition at line 117 of file MatchEngine.cc.
References trklet::CandidateMatchMemory::addMatch(), cms::cuda::assert(), Reference_intrackfit_cff::barrel, trklet::VMStubME::bend(), candmatches_, trklet::Settings::debugTracklet(), disk_, trklet::Settings::extended(), trklet::VMStubME::finerz(), groupFilesInBlocks::fout, trklet::VMProjectionsMemory::getAllProjIndex(), trklet::ProcessBase::getName(), trklet::VMProjectionsMemory::getTracklet(), trklet::VMStubsMEMemory::getVMStubMEBin(), trklet::ProcessBase::globals_, trklet::ProcessBase::iSector_, trklet::VMStubME::isPSmodule(), layer_, trklet::Settings::maxStep(), trklet::ProcessBase::name_, trklet::ProcessBase::nbits(), trklet::VMStubsMEMemory::nStubsBin(), trklet::VMProjectionsMemory::nTracklets(), trklet::Globals::ofstream(), amptDefault_cfi::proj, edm::second(), trklet::ProcessBase::settings_, trklet::VMStubME::stub(), table2S_, table_, tablePS_, createJobs::tmp, trklet::FPGAWord::value(), vmprojs_, vmstubs_, and trklet::Settings::writeMonitorData().
|
private |
Definition at line 31 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 33 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 37 of file MatchEngine.h.
Referenced by execute(), and MatchEngine().
|
private |
Definition at line 40 of file MatchEngine.h.
Referenced by execute(), and MatchEngine().
|
private |
Definition at line 29 of file MatchEngine.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 28 of file MatchEngine.h.
Referenced by addInput(), and execute().