Go to the documentation of this file.
8 TrackletEngineUnit::TrackletEngineUnit(
const Settings*
const settings,
9 unsigned int nbitsfinephi,
10 unsigned int layerdisk2,
12 unsigned int nbitsfinephidiff,
13 unsigned int iAllStub,
14 std::vector<bool>
const& pttableinner,
15 std::vector<bool>
const& pttableouter,
17 : settings_(settings), candpairs_(5) {
68 unsigned int firstDiskSeed = 4;
69 if (
iSeed_ >= firstDiskSeed) {
71 int ir = ((ibin & ibinMask) << 1) + (rzbin >> (
NFINERZBITS - 1));
73 idphi = (idphi << nrbits) + ir;
80 edm::LogVerbatim(
"Tracklet") <<
" layer-disk stub pair rejected because rbin cut : " << rzbin <<
" "
87 int ptouterindex = (idphi << outerbend.
nbits()) + outerbend.
value();
91 edm::LogVerbatim(
"Tracklet") <<
" Stub pair rejected because of stub pt cut bends : "
const Settings * settings_
std::vector< bool > pttableouter_
const VMStubTE & getVMStubTEBinned(unsigned int bin, unsigned int i) const
VMStubsTEMemory * outervmstubs_
unsigned int nbitsallstubs(unsigned int layerdisk) const
const FPGAWord & bend() const
std::vector< bool > pttableinner_
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_
constexpr unsigned int NFINERZBITS
Log< level::Info, true > LogVerbatim
unsigned int nbitsfinephidiff_
const FPGAWord & finephi() const
bool debugTracklet() const
std::vector< std::tuple< int, int, int > > regions_
double benddecode(int ibend, bool isPS)