#include <ProjectionRouter.h>
Public Member Functions | |
void | addInput (MemoryBase *memory, std::string input) override |
void | addOutput (MemoryBase *memory, std::string output) override |
void | execute () |
ProjectionRouter (std::string name, Settings const &settings, Globals *global) | |
~ProjectionRouter () 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 | |
AllProjectionsMemory * | allproj_ |
std::vector< TrackletProjectionsMemory * > | inputproj_ |
unsigned int | layerdisk_ |
int | nphiderbits_ |
int | nrbits_ |
TrackletLUT | rinvbendlut_ |
std::vector< VMProjectionsMemory * > | vmprojs_ |
Additional Inherited Members | |
Protected Attributes inherited from trklet::ProcessBase | |
Globals * | globals_ |
std::string | name_ |
Settings const & | settings_ |
Definition at line 16 of file ProjectionRouter.h.
ProjectionRouter::ProjectionRouter | ( | std::string | name, |
Settings const & | settings, | ||
Globals * | global | ||
) |
Definition at line 14 of file ProjectionRouter.cc.
References trklet::IMATH_TrackletCalculator::der_phiD_final, trklet::ProcessBase::initLayerDisk(), trklet::TrackletLUT::initProjectionBend(), trklet::Globals::ITC_L1L2(), trklet::VarBase::K(), layerdisk_, trklet::N_LAYER, nphiderbits_, nrbits_, trklet::Settings::nvmme(), rinvbendlut_, trklet::ProcessBase::settings_, and vmprojs_.
|
overridedefault |
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 61 of file ProjectionRouter.cc.
References cms::cuda::assert(), Exception, input, inputproj_, mps_setup::memory, trklet::ProcessBase::name_, trklet::ProcessBase::settings_, createJobs::tmp, and trklet::Settings::writetrace().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 29 of file ProjectionRouter.cc.
References allproj_, cms::cuda::assert(), Exception, layerdisk_, mps_setup::memory, trklet::Settings::nallstubs(), Skims_PA_cff::name, trklet::ProcessBase::name_, trklet::Settings::nvmme(), convertSQLitetoXML_cfg::output, trklet::ProcessBase::settings_, AlCaHLTBitMon_QueryRunRegistry::string, createJobs::tmp, to_string(), vmprojs_, and trklet::Settings::writetrace().
void ProjectionRouter::execute | ( | void | ) |
Definition at line 75 of file ProjectionRouter.cc.
References trklet::AllProjectionsMemory::addTracklet(), allproj_, trklet::FPGAWord::bits(), trklet::Settings::debugTracklet(), trklet::Projection::fpgaphiproj(), trklet::ProcessBase::getName(), trklet::ProcessBase::globals_, mps_fire::i, inputproj_, layerdisk_, trklet::TrackletLUT::lookup(), trklet::Settings::maxStep(), trklet::N_LAYER, trklet::FPGAWord::nbits(), trklet::Settings::nbitsallstubs(), trklet::Settings::nbitsvmme(), nphiderbits_, nrbits_, trklet::AllProjectionsMemory::nTracklets(), trklet::Globals::ofstream(), MillePedeFileConverter_cfg::out, amptDefault_cfi::proj, trklet::Tracklet::proj(), rinvbendlut_, trklet::ProcessBase::settings_, trklet::Tracklet::TCID(), vmprojs_, and trklet::Settings::writeMonitorData().
|
private |
Definition at line 38 of file ProjectionRouter.h.
Referenced by addOutput(), and execute().
|
private |
Definition at line 36 of file ProjectionRouter.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 28 of file ProjectionRouter.h.
Referenced by addOutput(), execute(), and ProjectionRouter().
|
private |
Definition at line 31 of file ProjectionRouter.h.
Referenced by execute(), and ProjectionRouter().
|
private |
Definition at line 30 of file ProjectionRouter.h.
Referenced by execute(), and ProjectionRouter().
|
private |
Definition at line 34 of file ProjectionRouter.h.
Referenced by execute(), and ProjectionRouter().
|
private |
Definition at line 39 of file ProjectionRouter.h.
Referenced by addOutput(), execute(), and ProjectionRouter().