#include <InputLinkMemory.h>
Public Member Functions | |
bool | addStub (Settings const &settings, Globals *globals, L1TStub &al1stub, Stub &stub, std::string dtc) |
void | clean () override |
Stub * | getStub (unsigned int i) |
InputLinkMemory (std::string name, Settings const &settings, unsigned int iSector, double, double) | |
unsigned int | nStubs () const |
void | writeStubs (bool first) |
~InputLinkMemory () override=default | |
Public Member Functions inherited from trklet::MemoryBase | |
void | findAndReplaceAll (std::string &data, std::string toSearch, std::string replaceStr) |
std::string | getLastPartOfName () const |
std::string const & | getName () const |
unsigned int | initLayerDisk (unsigned int pos) |
void | initLayerDisk (unsigned int pos, int &layer, int &disk) |
void | initSpecialSeeding (unsigned int pos, bool &overlap, bool &extra, bool &extended) |
MemoryBase (std::string name, Settings const &settings, unsigned int iSector) | |
void | openFile (bool first, std::string dirName, std::string filebase) |
virtual | ~MemoryBase ()=default |
Private Attributes | |
unsigned int | layerdisk_ |
int | phiregion_ |
std::vector< Stub * > | stubs_ |
Additional Inherited Members | |
Static Public Member Functions inherited from trklet::MemoryBase | |
static size_t | find_nth (const std::string &haystack, size_t pos, const std::string &needle, size_t nth) |
Protected Attributes inherited from trklet::MemoryBase | |
int | bx_ |
int | event_ |
unsigned int | iSector_ |
std::string | name_ |
std::ofstream | out_ |
Settings const & | settings_ |
Definition at line 18 of file InputLinkMemory.h.
InputLinkMemory::InputLinkMemory | ( | std::string | name, |
Settings const & | settings, | ||
unsigned int | iSector, | ||
double | , | ||
double | |||
) |
Definition at line 17 of file InputLinkMemory.cc.
References cms::cuda::assert(), trklet::MemoryBase::initLayerDisk(), layerdisk_, Skims_PA_cff::name, and phiregion_.
|
overridedefault |
bool InputLinkMemory::addStub | ( | Settings const & | settings, |
Globals * | globals, | ||
L1TStub & | al1stub, | ||
Stub & | stub, | ||
std::string | dtc | ||
) |
Definition at line 26 of file InputLinkMemory.cc.
References cms::cuda::assert(), trklet::Stub::bend(), trklet::Settings::debugTracklet(), trklet::MemoryBase::getName(), trklet::VMRouterPhiCorrTable::getphiCorrValue(), trklet::VMRouterPhiCorrTable::init(), LEDCalibrationChannels::iphi, trklet::Stub::layerdisk(), layerdisk_, trklet::Settings::maxStep(), trklet::N_LAYER, trklet::N_PSLAYER, trklet::Settings::nbitsallstubs(), trklet::L1TStub::phi(), trklet::Globals::phiCorr(), trklet::Stub::phicorr(), phiregion_, trklet::Stub::r(), trklet::L1TStub::r(), alignCSCRings::r, trklet::Stub::setl1tstub(), trklet::Stub::setPhiCorr(), trklet::MemoryBase::settings_, findQualityFiles::size, stubs_, trklet::FPGAWord::value(), and trklet::L1TStub::z().
|
overridevirtual |
Implements trklet::MemoryBase.
Definition at line 101 of file InputLinkMemory.cc.
References stubs_.
|
inline |
Definition at line 28 of file InputLinkMemory.h.
References mps_fire::i, and stubs_.
|
inline |
void InputLinkMemory::writeStubs | ( | bool | first | ) |
Definition at line 88 of file InputLinkMemory.cc.
References TauDecayModes::dec, first, trklet::hexFormat(), dqmiolumiharvest::j, trklet::Settings::memPath(), trklet::MemoryBase::openFile(), trklet::MemoryBase::out_, trklet::MemoryBase::settings_, and stubs_.
|
private |
Definition at line 37 of file InputLinkMemory.h.
Referenced by addStub(), and InputLinkMemory().
|
private |
Definition at line 36 of file InputLinkMemory.h.
Referenced by addStub(), and InputLinkMemory().
|
private |
Definition at line 35 of file InputLinkMemory.h.
Referenced by addStub(), clean(), getStub(), nStubs(), and writeStubs().