#include <MatchEngineUnit.h>
Public Member Functions | |
bool | active () const |
bool | empty () const |
bool | idle () const |
void | init (VMStubsMEMemory *vmstubsmemory, unsigned int nrzbin, unsigned int rzbin, unsigned int iphi, int shift, int projrinv, int projfinerz, int projfinephi, bool usefirstMinus, bool usefirstPlus, bool usesecondMinus, bool usesecondPlus, bool isPSseed, Tracklet *proj) |
MatchEngineUnit (const Settings &settings, bool barrel, unsigned int layerdisk, const TrackletLUT &luttable) | |
std::pair< Tracklet *, const Stub * > | peek () const |
void | processPipeline () |
std::pair< Tracklet *, const Stub * > | read () |
void | reset () |
unsigned int | rptr () const |
void | setAlmostFull () |
void | setimeu (int imeu) |
void | setprint (bool print) |
void | step () |
int | TCID () const |
unsigned int | wptr () const |
~MatchEngineUnit ()=default | |
Private Attributes | |
bool | almostfullsave_ |
bool | barrel_ |
CircularBuffer< std::pair< Tracklet *, const Stub * > > | candmatches_ |
bool | good__ |
bool | good___ |
bool | idle_ |
int | imeu_ |
bool | isPSseed_ |
bool | isPSseed__ |
bool | isPSseed___ |
unsigned int | istub_ |
unsigned int | iuse_ |
unsigned int | layerdisk_ |
const TrackletLUT & | luttable_ |
unsigned int | nrzbins_ |
unsigned int | phibin_ |
bool | print_ |
Tracklet * | proj_ |
Tracklet * | proj__ |
Tracklet * | proj___ |
int | projfinephi_ |
int | projfinephi__ |
int | projfinephi___ |
int | projfinerz_ |
int | projfinerz__ |
int | projfinerz___ |
int | projrinv_ |
int | projrinv__ |
int | projrinv___ |
unsigned int | rzbin_ |
const Settings & | settings_ |
int | shift_ |
std::vector< std::pair< unsigned int, unsigned int > > | use_ |
VMStubME | vmstub__ |
VMStubME | vmstub___ |
VMStubsMEMemory * | vmstubsmemory_ |
Definition at line 28 of file MatchEngineUnit.h.
MatchEngineUnit::MatchEngineUnit | ( | const Settings & | settings, |
bool | barrel, | ||
unsigned int | layerdisk, | ||
const TrackletLUT & | luttable | ||
) |
Definition at line 8 of file MatchEngineUnit.cc.
References Reference_intrackfit_cff::barrel, barrel_, good__, good___, idle_, imeu_, layerdisk_, and print_.
|
default |
|
inline |
|
inline |
Definition at line 49 of file MatchEngineUnit.h.
References candmatches_.
Referenced by active(), and TCID().
|
inline |
void MatchEngineUnit::init | ( | VMStubsMEMemory * | vmstubsmemory, |
unsigned int | nrzbin, | ||
unsigned int | rzbin, | ||
unsigned int | iphi, | ||
int | shift, | ||
int | projrinv, | ||
int | projfinerz, | ||
int | projfinephi, | ||
bool | usefirstMinus, | ||
bool | usefirstPlus, | ||
bool | usesecondMinus, | ||
bool | usesecondPlus, | ||
bool | isPSseed, | ||
Tracklet * | proj | ||
) |
Definition at line 24 of file MatchEngineUnit.cc.
References cms::cuda::assert(), good__, idle_, isPSseed_, istub_, iuse_, nrzbins_, phibin_, amptDefault_cfi::proj, proj_, projfinephi_, projfinerz_, projrinv_, rzbin_, edm::shift, shift_, use_, and vmstubsmemory_.
Definition at line 55 of file MatchEngineUnit.h.
References candmatches_.
Referenced by TCID().
void MatchEngineUnit::processPipeline | ( | ) |
Definition at line 107 of file MatchEngineUnit.cc.
References funct::abs(), barrel_, trklet::VMStubME::bend(), candmatches_, trklet::VMStubME::finephi(), trklet::VMStubME::finerz(), good__, good___, trklet::VMStubME::isPSmodule(), isPSseed__, isPSseed___, trklet::TrackletLUT::lookup(), luttable_, trklet::N_BENDBITS_2S, trklet::N_BENDBITS_PS, trklet::NRINVBITS, proj__, proj___, projfinephi__, projfinephi___, projfinerz__, projfinerz___, projrinv__, projrinv___, trklet::VMStubME::stub(), trklet::FPGAWord::value(), vmstub__, and vmstub___.
Definition at line 53 of file MatchEngineUnit.h.
References candmatches_.
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
void MatchEngineUnit::reset | ( | void | ) |
Definition at line 166 of file MatchEngineUnit.cc.
References candmatches_, good__, good___, idle_, and istub_.
|
inline |
Definition at line 69 of file MatchEngineUnit.h.
References candmatches_.
void MatchEngineUnit::setAlmostFull | ( | ) |
Definition at line 22 of file MatchEngineUnit.cc.
References almostfullsave_, and candmatches_.
|
inline |
Definition at line 63 of file MatchEngineUnit.h.
References imeu_.
Referenced by trklet::MatchProcessor::MatchProcessor().
|
inline |
Definition at line 65 of file MatchEngineUnit.h.
References print(), and print_.
void MatchEngineUnit::step | ( | ) |
Definition at line 69 of file MatchEngineUnit.cc.
References almostfullsave_, first, trklet::VMStubsMEMemory::getVMStubMEBin(), good__, idle(), idle_, isPSseed_, isPSseed__, istub_, iuse_, trklet::NFINEPHIBITS, trklet::NFINERZBITS, nrzbins_, trklet::VMStubsMEMemory::nStubsBin(), phibin_, proj_, proj__, projfinephi_, projfinephi__, projfinerz_, projfinerz__, projrinv_, projrinv__, rzbin_, edm::second(), shift_, use_, vmstub__, and vmstubsmemory_.
int MatchEngineUnit::TCID | ( | ) | const |
Definition at line 174 of file MatchEngineUnit.cc.
References empty(), good__, good___, idle_, trklet::Settings::nbitstcindex(), trklet::Settings::nbitstrackletindex(), peek(), proj_, proj__, proj___, settings_, and trklet::Tracklet::TCID().
|
inline |
Definition at line 70 of file MatchEngineUnit.h.
References candmatches_.
|
private |
Definition at line 103 of file MatchEngineUnit.h.
Referenced by setAlmostFull(), and step().
|
private |
Definition at line 90 of file MatchEngineUnit.h.
Referenced by MatchEngineUnit(), and processPipeline().
|
private |
Definition at line 120 of file MatchEngineUnit.h.
Referenced by empty(), peek(), processPipeline(), read(), reset(), rptr(), setAlmostFull(), and wptr().
|
private |
Definition at line 113 of file MatchEngineUnit.h.
Referenced by active(), init(), MatchEngineUnit(), processPipeline(), reset(), step(), and TCID().
|
private |
Definition at line 113 of file MatchEngineUnit.h.
Referenced by active(), MatchEngineUnit(), processPipeline(), reset(), and TCID().
|
private |
Definition at line 98 of file MatchEngineUnit.h.
Referenced by active(), idle(), init(), MatchEngineUnit(), reset(), step(), and TCID().
|
private |
Definition at line 123 of file MatchEngineUnit.h.
Referenced by MatchEngineUnit(), and setimeu().
|
private |
Definition at line 95 of file MatchEngineUnit.h.
|
private |
Definition at line 112 of file MatchEngineUnit.h.
Referenced by processPipeline(), and step().
|
private |
Definition at line 112 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 87 of file MatchEngineUnit.h.
|
private |
Definition at line 88 of file MatchEngineUnit.h.
|
private |
Definition at line 100 of file MatchEngineUnit.h.
Referenced by MatchEngineUnit().
|
private |
Definition at line 106 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 82 of file MatchEngineUnit.h.
|
private |
Definition at line 84 of file MatchEngineUnit.h.
|
private |
Definition at line 124 of file MatchEngineUnit.h.
Referenced by MatchEngineUnit(), and setprint().
|
private |
Definition at line 96 of file MatchEngineUnit.h.
|
private |
Definition at line 117 of file MatchEngineUnit.h.
Referenced by processPipeline(), step(), and TCID().
|
private |
Definition at line 117 of file MatchEngineUnit.h.
Referenced by processPipeline(), and TCID().
|
private |
Definition at line 93 of file MatchEngineUnit.h.
|
private |
Definition at line 115 of file MatchEngineUnit.h.
Referenced by processPipeline(), and step().
|
private |
Definition at line 115 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 92 of file MatchEngineUnit.h.
|
private |
Definition at line 114 of file MatchEngineUnit.h.
Referenced by processPipeline(), and step().
|
private |
Definition at line 114 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 91 of file MatchEngineUnit.h.
|
private |
Definition at line 116 of file MatchEngineUnit.h.
Referenced by processPipeline(), and step().
|
private |
Definition at line 116 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 83 of file MatchEngineUnit.h.
|
private |
Definition at line 78 of file MatchEngineUnit.h.
Referenced by TCID().
|
private |
Definition at line 85 of file MatchEngineUnit.h.
|
private |
Definition at line 94 of file MatchEngineUnit.h.
|
private |
Definition at line 111 of file MatchEngineUnit.h.
Referenced by processPipeline(), and step().
|
private |
Definition at line 111 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 80 of file MatchEngineUnit.h.