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), pttableinnernew_(pttableinnernew), pttableouternew_(pttableouternew), candpairs_(3) {
81 unsigned int firstDiskSeed = 4;
82 if (
iSeed_ >= firstDiskSeed) {
84 int ir = ((ibin & ibinMask) << 1) + (rzbin >> (
NFINERZBITS - 1));
86 idphi = (idphi << nrbits) + ir;
94 edm::LogVerbatim(
"Tracklet") <<
" layer-disk stub pair rejected because rbin cut : " << rzbin <<
" " 101 int ptouterindex = (idphi << outerbend.
nbits()) + outerbend.
value();
105 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
double benddecode(int ibend, int layerdisk, bool isPSmodule) 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)
CircularBuffer< std::pair< const Stub *, const Stub * > > candpairs_
void step(bool print, int istep, int iTE)
std::vector< std::tuple< int, int, int > > regions_