Go to the documentation of this file.
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 : "
const Settings * settings_
int lookup(unsigned int index) const
const TrackletLUT * pttableinnernew_
const VMStubTE & getVMStubTEBinned(unsigned int bin, unsigned int i) const
VMStubsTEMemory * outervmstubs_
unsigned int nbitsallstubs(unsigned int layerdisk) const
const FPGAWord & bend() const
double benddecode(int ibend, int layerdisk, bool isPSmodule) const
constexpr unsigned int N_VMSTUBSMAX
std::pair< const Stub *, const Stub * > candpair_
int nfinephi(unsigned int inner, unsigned int iSeed) const
const Stub * stub() const
void init(const TEData &tedata)
const FPGAWord & vmbits() const
unsigned int nbitsfinephi_
CircularBuffer< std::pair< const Stub *, const Stub * > > candpairs_
void step(bool print, int istep, int iTE)
constexpr unsigned int NFINERZBITS
Log< level::Info, true > LogVerbatim
const TrackletLUT * pttableouternew_
unsigned int nbitsfinephidiff_
const FPGAWord & finephi() const
bool debugTracklet() const
std::vector< std::tuple< int, int, int > > regions_
std::pair< const Stub *, const Stub * > candpair__