Go to the documentation of this file.
19 string subname =
name.substr(5, 7);
28 if (layerdisk_ < N_LAYER && globals->phiCorr(
layerdisk_) ==
nullptr) {
36 unsigned int stublayerdisk = stub.
layerdisk();
37 assert(stublayerdisk < 11);
45 int rbin = (
r.value() + (1 << (
r.nbits() - 1))) >> (
r.nbits() - 3);
53 int phibin =
iphi.bits(
iphi.nbits() - nallbits, nallbits);
54 int iphivmRaw =
iphi.bits(
iphi.nbits() - 5, 5);
59 if (
getName().substr(10, dtc.size()) != dtc)
67 assert(half[0] ==
'A' || half[0] ==
'B');
69 if (half[0] ==
'B' && iphivmRaw <= 15)
71 if (half[0] ==
'A' && iphivmRaw > 15)
76 <<
"iphiwmRaw = " << iphivmRaw <<
" phi=" << al1stub.
phi() <<
" z=" << al1stub.
z()
77 <<
" r=" << al1stub.
r();
83 stubs_.emplace_back(stubptr);
92 for (
unsigned int j = 0;
j <
stubs_.size();
j++) {
94 out_ << std::setfill(
'0') << std::setw(2);
102 for (
auto& stub :
stubs_) {
103 delete stub->l1tstub();
constexpr unsigned int N_PSLAYER
VMRouterPhiCorrTable *& phiCorr(unsigned int layer)
int getphiCorrValue(int ibend, int irbin) const
void init(int layer, int bendbits, int rbits)
Settings const & settings_
const FPGAWord & bend() const
std::string const & memPath() const
unsigned int nbitsallstubs(unsigned int layerdisk) const
void initLayerDisk(unsigned int pos, int &layer, int &disk)
const FPGAWord & r() const
std::string const & getName() const
void openFile(bool first, std::string dirName, std::string filebase)
unsigned int layerdisk() const
void setl1tstub(L1TStub *l1tstub)
const FPGAWord & phicorr() const
void setPhiCorr(int phiCorr)
Log< level::Info, true > LogVerbatim
bool debugTracklet() const
unsigned int maxStep(std::string module) const
std::string hexFormat(const std::string &binary)