#include <InputRouter.h>
Public Member Functions | |
void | addInput (MemoryBase *memory, std::string input) override |
void | addOutput (MemoryBase *memory, std::string output) override |
void | execute () |
InputRouter (std::string name, Settings const &settings, Globals *global) | |
~InputRouter () 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 | |
DTCLinkMemory * | dtcstubs_ |
std::vector< std::pair< std::pair< unsigned int, unsigned int >, InputLinkMemory * > > | irstubs_ |
Additional Inherited Members | |
Protected Attributes inherited from trklet::ProcessBase | |
Globals * | globals_ |
std::string | name_ |
Settings const & | settings_ |
Definition at line 20 of file InputRouter.h.
Definition at line 15 of file InputRouter.cc.
|
overridedefault |
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 41 of file InputRouter.cc.
References cms::cuda::assert(), dtcstubs_, Exception, input, mps_setup::memory, trklet::ProcessBase::name_, trklet::ProcessBase::settings_, and trklet::Settings::writetrace().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 18 of file InputRouter.cc.
References cms::cuda::assert(), Exception, irstubs_, mps_setup::memory, trklet::N_DISK, trklet::N_LAYER, trklet::ProcessBase::name_, convertSQLitetoXML_cfg::output, trklet::ProcessBase::settings_, createJobs::tmp, and trklet::Settings::writetrace().
void InputRouter::execute | ( | void | ) |
Definition at line 54 of file InputRouter.cc.
References cms::cuda::assert(), dtcstubs_, trklet::DTCLinkMemory::getStub(), mps_fire::i, LEDCalibrationChannels::iphi, irstubs_, trklet::Stub::l1tstub(), trklet::L1TStub::layerdisk(), trklet::Settings::maxStep(), trklet::Settings::nbitsallstubs(), trklet::DTCLinkMemory::nStubs(), trklet::Stub::phicorr(), trklet::Settings::reduced(), and trklet::ProcessBase::settings_.
|
private |
Definition at line 33 of file InputRouter.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 36 of file InputRouter.h.
Referenced by addOutput(), and execute().