#include <DTCLinkMemory.h>
|
void | addStub (const L1TStub &al1stub, const Stub &stub) |
|
void | clean () override |
|
| DTCLinkMemory (std::string name, Settings const &settings, double, double) |
|
Stub * | getStub (unsigned int i) |
|
unsigned int | nStubs () const |
|
void | writeStubs (bool first, unsigned int iSector) |
|
| ~DTCLinkMemory () override=default |
|
void | findAndReplaceAll (std::string &data, std::string toSearch, std::string replaceStr) |
|
std::string | getLastPartOfName () const |
|
std::string const & | getName () const |
|
void | initLayerDisk (unsigned int pos, int &layer, int &disk) |
|
unsigned int | initLayerDisk (unsigned int pos) |
|
void | initSpecialSeeding (unsigned int pos, bool &overlap, bool &extra, bool &extended) |
|
| MemoryBase (std::string name, Settings const &settings) |
|
void | openFile (bool first, std::string dirName, std::string filebase) |
|
virtual | ~MemoryBase ()=default |
|
Definition at line 17 of file DTCLinkMemory.h.
◆ DTCLinkMemory()
DTCLinkMemory::DTCLinkMemory |
( |
std::string |
name, |
|
|
Settings const & |
settings, |
|
|
double |
, |
|
|
double |
|
|
) |
| |
Definition at line 17 of file DTCLinkMemory.cc.
MemoryBase(std::string name, Settings const &settings)
◆ ~DTCLinkMemory()
trklet::DTCLinkMemory::~DTCLinkMemory |
( |
| ) |
|
|
overridedefault |
◆ addStub()
void DTCLinkMemory::addStub |
( |
const L1TStub & |
al1stub, |
|
|
const Stub & |
stub |
|
) |
| |
◆ clean()
void DTCLinkMemory::clean |
( |
| ) |
|
|
overridevirtual |
◆ getStub()
Stub* trklet::DTCLinkMemory::getStub |
( |
unsigned int |
i | ) |
|
|
inline |
◆ nStubs()
unsigned int trklet::DTCLinkMemory::nStubs |
( |
| ) |
const |
|
inline |
◆ writeStubs()
void DTCLinkMemory::writeStubs |
( |
bool |
first, |
|
|
unsigned int |
iSector |
|
) |
| |
Definition at line 29 of file DTCLinkMemory.cc.
References cms::cuda::assert(), trklet::Settings::dtcLayers(), first, trklet::hexFormat(), trklet::MemoryBase::hexstr(), trklet::MemoryBase::iSector_, dqmiolumiharvest::j, hgcalTopologyTester_cfi::layers, trklet::Settings::memPath(), trklet::MemoryBase::openFile(), trklet::MemoryBase::out_, trklet::MemoryBase::settings_, command_line::start, trklet::FPGAWord::str(), and stubs_.
35 for (
unsigned int j = 0;
j <
stubs_.size();
j++) {
36 string dtcname =
stubs_[
j]->l1tstub()->DTClink();
37 int layerdisk =
stubs_[
j]->l1tstub()->layerdisk();
40 int start = dtcname.substr(0, 3) ==
"neg" ? 3 : 0;
43 string dtcbase = dtcname.substr(
start, dtcname.size() - 2 -
start);
57 string stub =
stubs_[
j]->str() +
"|" + ldcode.str() +
"|1";
const std::vector< int > & dtcLayers(const std::string &dtcName) const
std::vector< Stub * > stubs_
void openFile(bool first, std::string dirName, std::string filebase)
std::string hexFormat(const std::string &binary)
std::string memPath() const
Settings const & settings_
static std::string hexstr(unsigned int index)
◆ stubs_
std::vector<Stub*> trklet::DTCLinkMemory::stubs_ |
|
private |