#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 | good__t |
bool | idle_ |
int | imeu_ |
bool | isPSseed_ |
bool | isPSseed__ |
bool | isPSseed___ |
bool | isPSseed__t |
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___ |
Tracklet * | proj__t |
int | projfinephi_ |
int | projfinephi__ |
int | projfinephi___ |
int | projfinephi__t |
int | projfinerz_ |
int | projfinerz__ |
int | projfinerz___ |
int | projfinerz__t |
int | projrinv_ |
int | projrinv__ |
int | projrinv___ |
int | projrinv__t |
unsigned int | rzbin_ |
const Settings & | settings_ |
int | shift_ |
std::vector< std::pair< unsigned int, unsigned int > > | use_ |
VMStubME | vmstub__ |
VMStubME | vmstub___ |
VMStubME | vmstub__t |
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___, good__t, 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 25 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 108 of file MatchEngineUnit.cc.
References funct::abs(), barrel_, trklet::VMStubME::bend(), candmatches_, trklet::VMStubME::finephi(), trklet::VMStubME::finerz(), good__, good___, good__t, trklet::VMStubME::isPSmodule(), isPSseed__, isPSseed___, isPSseed__t, trklet::TrackletLUT::lookup(), luttable_, trklet::N_BENDBITS_2S, trklet::N_BENDBITS_PS, trklet::NRINVBITS, proj__, proj___, proj__t, projfinephi__, projfinephi___, projfinephi__t, projfinerz__, projfinerz___, projfinerz__t, projrinv__, projrinv___, projrinv__t, trklet::VMStubME::stub(), trklet::FPGAWord::value(), vmstub__, vmstub___, and vmstub__t.
Definition at line 53 of file MatchEngineUnit.h.
References candmatches_.
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
void MatchEngineUnit::reset | ( | void | ) |
Definition at line 175 of file MatchEngineUnit.cc.
References candmatches_, good__, good___, good__t, idle_, and istub_.
|
inline |
Definition at line 69 of file MatchEngineUnit.h.
References candmatches_.
void MatchEngineUnit::setAlmostFull | ( | ) |
Definition at line 23 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 70 of file MatchEngineUnit.cc.
References almostfullsave_, dqmdumpme::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 184 of file MatchEngineUnit.cc.
References empty(), good__, good___, good__t, idle_, trklet::Settings::nbitstcindex(), trklet::Settings::nbitstrackletindex(), peek(), proj_, proj__, proj___, proj__t, 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 113 of file MatchEngineUnit.h.
Referenced by 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 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 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 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 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 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 111 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 80 of file MatchEngineUnit.h.