#include <TrackletEngine.h>
Public Member Functions | |
void | addInput (MemoryBase *memory, std::string input) override |
void | addOutput (MemoryBase *memory, std::string output) override |
void | execute () |
void | setVMPhiBin () |
TrackletEngine (std::string name, Settings const &settings, Globals *global) | |
~TrackletEngine () 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 | |
unsigned int | innerphibits_ |
TrackletLUT | innerptlut_ |
VMStubsTEMemory * | innervmstubs_ |
unsigned int | iSeed_ |
unsigned int | layerdisk1_ |
unsigned int | layerdisk2_ |
unsigned int | outerphibits_ |
TrackletLUT | outerptlut_ |
VMStubsTEMemory * | outervmstubs_ |
StubPairsMemory * | stubpairs_ |
Additional Inherited Members | |
Protected Attributes inherited from trklet::ProcessBase | |
Globals * | globals_ |
std::string | name_ |
Settings const & | settings_ |
Definition at line 18 of file TrackletEngine.h.
Definition at line 16 of file TrackletEngine.cc.
References trklet::ProcessBase::initLayerDisksandISeed(), innerphibits_, innervmstubs_, iSeed_, layerdisk1_, layerdisk2_, trklet::Settings::nfinephi(), outerphibits_, outervmstubs_, and stubpairs_.
|
overridedefault |
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 42 of file TrackletEngine.cc.
References cms::cuda::assert(), Exception, innervmstubs_, input, mps_setup::memory, trklet::ProcessBase::name_, outervmstubs_, trklet::ProcessBase::settings_, setVMPhiBin(), createJobs::tmp, and trklet::Settings::writetrace().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 28 of file TrackletEngine.cc.
References cms::cuda::assert(), Exception, mps_setup::memory, trklet::ProcessBase::name_, convertSQLitetoXML_cfg::output, trklet::ProcessBase::settings_, stubpairs_, createJobs::tmp, and trklet::Settings::writetrace().
void TrackletEngine::execute | ( | void | ) |
Definition at line 64 of file TrackletEngine.cc.
References trklet::StubPairsMemory::addStubPair(), cms::cuda::assert(), trklet::VMStubTE::bend(), trklet::Settings::benddecode(), trklet::FPGAWord::bits(), trklet::Settings::debugTracklet(), trklet::Stub::disk(), trklet::VMStubTE::finephi(), trklet::ProcessBase::getName(), trklet::VMStubsTEMemory::getVMStubTE(), trklet::VMStubsTEMemory::getVMStubTEBinned(), trklet::ProcessBase::globals_, mps_fire::i, innerptlut_, innervmstubs_, iSeed_, trklet::VMStubTE::isPSmodule(), dqmiolumiharvest::j, dqmdumpme::last, layerdisk1_, layerdisk2_, trklet::TrackletLUT::lookup(), trklet::Settings::maxStep(), trklet::ProcessBase::nbits(), trklet::FPGAWord::nbits(), GetRecoTauVFromDQM_MC_cff::next, trklet::VMStubsTEMemory::nVMStubs(), trklet::VMStubsTEMemory::nVMStubsBinned(), trklet::Globals::ofstream(), outerphibits_, outerptlut_, outervmstubs_, trklet::ProcessBase::settings_, trklet::VMStubTE::stub(), stubpairs_, trklet::Settings::useSeed(), trklet::FPGAWord::value(), trklet::VMStubTE::vmbits(), and trklet::Settings::writeMonitorData().
void TrackletEngine::setVMPhiBin | ( | ) |
Definition at line 148 of file TrackletEngine.cc.
References trklet::MemoryBase::getName(), trklet::VMStubsTEMemory::getPhiRange(), trklet::TrackletLUT::initteptlut(), innerphibits_, innerptlut_, innervmstubs_, iSeed_, layerdisk1_, layerdisk2_, outerphibits_, outerptlut_, outervmstubs_, trklet::VMStubsTEMemory::setbendtable(), trklet::VMStubsTEMemory::setother(), and trklet::ProcessBase::settings_.
Referenced by addInput().
|
private |
Definition at line 49 of file TrackletEngine.h.
Referenced by setVMPhiBin(), and TrackletEngine().
|
private |
Definition at line 45 of file TrackletEngine.h.
Referenced by execute(), and setVMPhiBin().
|
private |
Definition at line 38 of file TrackletEngine.h.
Referenced by addInput(), execute(), setVMPhiBin(), and TrackletEngine().
|
private |
Definition at line 33 of file TrackletEngine.h.
Referenced by execute(), setVMPhiBin(), and TrackletEngine().
|
private |
Definition at line 34 of file TrackletEngine.h.
Referenced by execute(), setVMPhiBin(), and TrackletEngine().
|
private |
Definition at line 35 of file TrackletEngine.h.
Referenced by execute(), setVMPhiBin(), and TrackletEngine().
|
private |
Definition at line 50 of file TrackletEngine.h.
Referenced by execute(), setVMPhiBin(), and TrackletEngine().
|
private |
Definition at line 46 of file TrackletEngine.h.
Referenced by execute(), and setVMPhiBin().
|
private |
Definition at line 39 of file TrackletEngine.h.
Referenced by addInput(), execute(), setVMPhiBin(), and TrackletEngine().
|
private |
Definition at line 42 of file TrackletEngine.h.
Referenced by addOutput(), execute(), and TrackletEngine().