8 TrackletEngineUnit::TrackletEngineUnit(
const Settings*
const settings,
9 unsigned int nbitsfinephi,
10 unsigned int layerdisk1,
11 unsigned int layerdisk2,
13 unsigned int nbitsfinephidiff,
14 unsigned int iAllStub,
18 : settings_(settings),
21 pttableinnernew_(pttableinnernew),
22 pttableouternew_(pttableouternew),
87 unsigned int firstDiskSeed = 4;
88 if (
iSeed_ >= firstDiskSeed) {
90 int ir = ((ibin & ibinMask) << 1) + (rzbin >> (
NFINERZBITS - 1));
92 idphi = (idphi << nrbits) + ir;
100 edm::LogVerbatim(
"Tracklet") <<
" layer-disk stub pair rejected because rbin cut : " << rzbin <<
" " 107 int ptouterindex = (idphi << outerbend.
nbits()) + outerbend.
value();
111 edm::LogVerbatim(
"Tracklet") <<
" Stub pair rejected because of stub pt cut bends : " Log< level::Info, true > LogVerbatim
const VMStubTE & getVMStubTEBinned(unsigned int bin, unsigned int i) const
const FPGAWord & bend() const
std::pair< const Stub *, const Stub * > candpair__
int lookup(unsigned int index) const
std::pair< const Stub *, const Stub * > candpair_
constexpr unsigned int N_VMSTUBSMAX
unsigned int nbitsfinephi_
const Settings * settings_
const Stub * stub() const
unsigned int nbitsallstubs(unsigned int layerdisk) const
const TrackletLUT * pttableinnernew_
const FPGAWord & vmbits() const
const TrackletLUT * pttableouternew_
unsigned int nbitsfinephidiff_
constexpr unsigned int NFINERZBITS
const FPGAWord & finephi() const
bool debugTracklet() const
int nfinephi(unsigned int inner, unsigned int iSeed) const
VMStubsTEMemory * outervmstubs_
void init(const TEData &tedata)
double benddecode(unsigned int ibend, unsigned int layerdisk, bool isPSmodule) const
CircularBuffer< std::pair< const Stub *, const Stub * > > candpairs_
void step(bool print, int istep, int iTE)
std::vector< std::tuple< int, int, int > > regions_