25 stubs_.emplace_back(stubptr);
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";
64 for (
auto& stub :
stubs_) {
65 delete stub->l1tstub();
const std::vector< int > & dtcLayers(const std::string &dtcName) const
unsigned int maxStep(std::string module) const
std::vector< Stub * > stubs_
void openFile(bool first, std::string dirName, std::string filebase)
void writeStubs(bool first, unsigned int iSector)
std::string hexFormat(const std::string &binary)
std::string memPath() const
Settings const & settings_
void addStub(const L1TStub &al1stub, const Stub &stub)
static std::string hexstr(unsigned int index)
DTCLinkMemory(std::string name, Settings const &settings, double, double)
void setl1tstub(L1TStub *l1tstub)