#include <TrackletEngineUnit.h>
Public Member Functions | |
bool | empty () const |
bool | idle () const |
void | init (const TEData &tedata) |
const std::pair< const Stub *, const Stub * > & | peek () const |
const std::pair< const Stub *, const Stub * > & | read () |
void | reset () |
void | step () |
TrackletEngineUnit (const Settings *const settings, unsigned int nbitsfinephi, unsigned int layerdisk2, unsigned int iSeed, unsigned int nbitsfinephiediff, unsigned int iAllStub, std::vector< bool > const &pttableinner, std::vector< bool > const &pttableouter, VMStubsTEMemory *outervmstubs) | |
~TrackletEngineUnit ()=default | |
Private Attributes | |
CircularBuffer< std::pair< const Stub *, const Stub * > > | candpairs_ |
unsigned int | iAllStub_ |
bool | idle_ |
unsigned int | ireg_ |
unsigned int | iSeed_ |
unsigned int | istub_ |
unsigned int | layerdisk2_ |
unsigned int | nbitsfinephi_ |
unsigned int | nbitsfinephidiff_ |
unsigned int | next_ |
unsigned int | nreg_ |
unsigned int | nstub_ |
VMStubsTEMemory * | outervmstubs_ |
std::vector< bool > | pttableinner_ |
std::vector< bool > | pttableouter_ |
const Settings * | settings_ |
TEData | tedata_ |
Definition at line 27 of file TrackletEngineUnit.h.
TrackletEngineUnit::TrackletEngineUnit | ( | const Settings *const | settings, |
unsigned int | nbitsfinephi, | ||
unsigned int | layerdisk2, | ||
unsigned int | iSeed, | ||
unsigned int | nbitsfinephiediff, | ||
unsigned int | iAllStub, | ||
std::vector< bool > const & | pttableinner, | ||
std::vector< bool > const & | pttableouter, | ||
VMStubsTEMemory * | outervmstubs | ||
) |
Definition at line 8 of file TrackletEngineUnit.cc.
References iAllStub_, idle_, iSeed_, layerdisk2_, nbitsfinephi_, nbitsfinephidiff_, outervmstubs_, pttableinner_, and pttableouter_.
|
default |
|
inline |
|
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_.
Definition at line 45 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_, and idle_.
void TrackletEngineUnit::step | ( | ) |
Definition at line 43 of file TrackletEngineUnit.cc.
References cms::cuda::assert(), trklet::VMStubTE::bend(), trklet::benddecode(), candpairs_, trklet::Settings::debugTracklet(), trklet::VMStubTE::finephi(), trklet::VMStubsTEMemory::getVMStubTEBinned(), iAllStub_, idle_, trklet::TEData::innerbend_, trklet::TEData::innerfinephi_, ireg_, iSeed_, trklet::VMStubTE::isPSmodule(), trklet::Stub::isPSmodule(), istub_, layerdisk2_, LaserClient_cfi::nbins, trklet::FPGAWord::nbits(), trklet::Settings::nbitsallstubs(), nbitsfinephi_, nbitsfinephidiff_, next_, trklet::Settings::nfinephi(), trklet::NFINERZBITS, nreg_, nstub_, outervmstubs_, pttableinner_, pttableouter_, 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().
Referenced by trklet::TrackletProcessor::execute().
|
private |
|
private |
Definition at line 64 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 73 of file TrackletEngineUnit.h.
Referenced by idle(), init(), reset(), step(), and TrackletEngineUnit().
|
private |
Definition at line 69 of file TrackletEngineUnit.h.
|
private |
Definition at line 61 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 68 of file TrackletEngineUnit.h.
|
private |
Definition at line 60 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 59 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 62 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 70 of file TrackletEngineUnit.h.
|
private |
Definition at line 67 of file TrackletEngineUnit.h.
|
private |
Definition at line 71 of file TrackletEngineUnit.h.
|
private |
Definition at line 56 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 75 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 76 of file TrackletEngineUnit.h.
Referenced by step(), and TrackletEngineUnit().
|
private |
Definition at line 58 of file TrackletEngineUnit.h.
Referenced by step().
|
private |
Definition at line 57 of file TrackletEngineUnit.h.