#include <TrackletEngineUnit.h>
Public Member Functions | |
bool | empty () const |
bool | idle () const |
void | init (const TEData &tedata) |
const Stub * | innerStub () const |
const std::pair< const Stub *, const Stub * > & | peek () const |
const std::pair< const Stub *, const Stub * > & | read () |
void | reset () |
int | rptr () const |
void | setNearFull () |
void | step (bool print, int istep, int iTE) |
TrackletEngineUnit (const Settings *const settings, unsigned int nbitsfinephi, unsigned int layerdisk1, unsigned int layerdisk2, unsigned int iSeed, unsigned int nbitsfinephiediff, unsigned int iAllStub, const TrackletLUT *pttableinnernew, const TrackletLUT *pttableouternew, VMStubsTEMemory *outervmstubs) | |
int | wptr () const |
~TrackletEngineUnit ()=default | |
Private Attributes | |
std::pair< const Stub *, const Stub * > | candpair_ |
std::pair< const Stub *, const Stub * > | candpair__ |
CircularBuffer< std::pair< const Stub *, const Stub * > > | candpairs_ |
bool | goodpair_ |
bool | goodpair__ |
unsigned int | iAllStub_ |
bool | idle_ |
unsigned int | ireg_ |
unsigned int | iSeed_ |
unsigned int | istub_ |
unsigned int | layerdisk1_ |
unsigned int | layerdisk2_ |
unsigned int | nbitsfinephi_ |
unsigned int | nbitsfinephidiff_ |
bool | nearfull_ |
unsigned int | next_ |
unsigned int | nreg_ |
unsigned int | nstub_ |
VMStubsTEMemory * | outervmstubs_ |
const TrackletLUT * | pttableinnernew_ |
const TrackletLUT * | pttableouternew_ |
const Settings * | settings_ |
TEData | tedata_ |
Definition at line 28 of file TrackletEngineUnit.h.
TrackletEngineUnit::TrackletEngineUnit | ( | const Settings *const | settings, |
unsigned int | nbitsfinephi, | ||
unsigned int | layerdisk1, | ||
unsigned int | layerdisk2, | ||
unsigned int | iSeed, | ||
unsigned int | nbitsfinephiediff, | ||
unsigned int | iAllStub, | ||
const TrackletLUT * | pttableinnernew, | ||
const TrackletLUT * | pttableouternew, | ||
VMStubsTEMemory * | outervmstubs | ||
) |
Definition at line 8 of file TrackletEngineUnit.cc.
References iAllStub_, idle_, iSeed_, layerdisk1_, layerdisk2_, nbitsfinephi_, nbitsfinephidiff_, and outervmstubs_.
|
default |
|
inline |
Definition at line 45 of file TrackletEngineUnit.h.
References candpairs_.
|
inline |
void TrackletEngineUnit::init | ( | const TEData & | tedata | ) |
Definition at line 29 of file TrackletEngineUnit.cc.
References cms::cuda::assert(), idle_, ireg_, istub_, next_, nreg_, nstub_, trklet::TEData::regions_, and tedata_.
|
inline |
Definition at line 49 of file TrackletEngineUnit.h.
References candpairs_.
Definition at line 47 of file TrackletEngineUnit.h.
References candpairs_.
Referenced by trklet::TrackletProcessor::execute(), and edmIntegrityCheck.PublishToFileSystem::get().
void TrackletEngineUnit::reset | ( | void | ) |
Definition at line 38 of file TrackletEngineUnit.cc.
References candpairs_, goodpair_, goodpair__, and idle_.
|
inline |
Definition at line 59 of file TrackletEngineUnit.h.
References candpairs_.
|
inline |
Definition at line 53 of file TrackletEngineUnit.h.
References candpairs_, and nearfull_.
Referenced by trklet::TrackletProcessor::execute().
void TrackletEngineUnit::step | ( | bool | print, |
int | istep, | ||
int | iTE | ||
) |
Definition at line 45 of file TrackletEngineUnit.cc.
References cms::cuda::assert(), trklet::VMStubTE::bend(), trklet::Settings::benddecode(), candpair_, candpair__, candpairs_, trklet::Settings::debugTracklet(), trklet::VMStubTE::finephi(), trklet::VMStubsTEMemory::getVMStubTEBinned(), goodpair_, goodpair__, iAllStub_, idle_, trklet::TEData::innerbend_, trklet::TEData::innerfinephi_, ireg_, iSeed_, trklet::VMStubTE::isPSmodule(), trklet::Stub::isPSmodule(), istub_, layerdisk1_, layerdisk2_, trklet::TrackletLUT::lookup(), trklet::N_VMSTUBSMAX, LaserClient_cfi::nbins, trklet::FPGAWord::nbits(), trklet::Settings::nbitsallstubs(), nbitsfinephi_, nbitsfinephidiff_, nearfull_, next_, trklet::Settings::nfinephi(), trklet::NFINERZBITS, nreg_, nstub_, outervmstubs_, pttableinnernew_, pttableouternew_, trklet::TEData::regions_, trklet::TEData::rzbinfirst_, trklet::TEData::rzdiffmax_, settings_, trklet::TEData::start_, trklet::VMStubTE::stub(), trklet::TEData::stub_, tedata_, trklet::FPGAWord::value(), and trklet::VMStubTE::vmbits().
|
inline |
Definition at line 61 of file TrackletEngineUnit.h.
References candpairs_.
Definition at line 89 of file TrackletEngineUnit.h.
Referenced by step().
Definition at line 89 of file TrackletEngineUnit.h.
Referenced by step().
|
private |
Definition at line 93 of file TrackletEngineUnit.h.
Referenced by empty(), peek(), read(), reset(), rptr(), setNearFull(), step(), and wptr().
|
private |
Definition at line 90 of file TrackletEngineUnit.h.
|
private |
Definition at line 90 of file TrackletEngineUnit.h.
|
private |
Definition at line 75 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 84 of file TrackletEngineUnit.h.
Referenced by idle(), init(), reset(), step(), and TrackletEngineUnit().
|
private |
Definition at line 80 of file TrackletEngineUnit.h.
|
private |
Definition at line 72 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 79 of file TrackletEngineUnit.h.
|
private |
Definition at line 70 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 71 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 69 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 73 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 74 of file TrackletEngineUnit.h.
Referenced by setNearFull(), and step().
|
private |
Definition at line 81 of file TrackletEngineUnit.h.
|
private |
Definition at line 78 of file TrackletEngineUnit.h.
|
private |
Definition at line 82 of file TrackletEngineUnit.h.
|
private |
Definition at line 66 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 86 of file TrackletEngineUnit.h.
Referenced by step().
|
private |
Definition at line 87 of file TrackletEngineUnit.h.
Referenced by step().
|
private |
Definition at line 68 of file TrackletEngineUnit.h.
Referenced by step().
|
private |
Definition at line 67 of file TrackletEngineUnit.h.
Referenced by init(), innerStub(), and step().