#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____ |
bool | idle_ |
int | imeu_ |
unsigned int | ir2smin_ |
bool | isPSseed_ |
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___ |
Tracklet * | proj____ |
int | projfinephi_ |
int | projfinephi__ |
int | projfinephi___ |
int | projfinephi____ |
int | projfinerz_ |
int | projfinerz__ |
int | projfinerz___ |
int | projfinerz____ |
int | projrinv_ |
int | projrinv__ |
int | projrinv___ |
int | projrinv____ |
unsigned int | rzbin_ |
unsigned int | rzbin__ |
unsigned int | rzbin___ |
unsigned int | rzbin____ |
const Settings & | settings_ |
int | shift_ |
std::vector< std::pair< unsigned int, unsigned int > > | use_ |
VMStubME | vmstub__ |
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_, imeu_, ir2smin_, layerdisk_, trklet::N_LAYER, trklet::N_RZBITS, trklet::NFINERZBITS, trklet::Settings::rDSSinner(), trklet::Settings::rDSSouter(), trklet::Settings::rmaxdisk(), trklet::Settings::rmindiskvm(), and settings_.
|
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 38 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 122 of file MatchEngineUnit.cc.
References funct::abs(), cms::cuda::assert(), barrel_, trklet::VMStubME::bend(), candmatches_, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), trklet::VMStubME::finephi(), trklet::VMStubME::finerz(), good__, good___, good____, ir2smin_, trklet::VMStubME::isPSmodule(), isPSseed__, isPSseed___, isPSseed____, layerdisk_, trklet::TrackletLUT::lookup(), luttable_, trklet::Settings::MEBinsBits(), trklet::N_BENDBITS_2S, trklet::N_BENDBITS_PS, trklet::N_PSLAYER, trklet::NFINERZBITS, trklet::NRINVBITS, proj__, proj___, proj____, projfinephi__, projfinephi___, projfinephi____, projfinerz__, projfinerz___, projfinerz____, projrinv__, projrinv___, projrinv____, rzbin__, rzbin___, rzbin____, settings_, trklet::VMStubME::stub(), trklet::FPGAWord::value(), vmstub__, 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 203 of file MatchEngineUnit.cc.
References candmatches_, good__, good___, good____, idle_, and istub_.
|
inline |
Definition at line 69 of file MatchEngineUnit.h.
References candmatches_.
void MatchEngineUnit::setAlmostFull | ( | ) |
Definition at line 36 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 83 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_, rzbin__, edm::second(), shift_, FCDTask_cfi::slot, use_, vmstub__, and vmstubsmemory_.
int MatchEngineUnit::TCID | ( | ) | const |
Definition at line 212 of file MatchEngineUnit.cc.
References empty(), good__, good___, good____, idle_, trklet::Settings::nbitstcindex(), trklet::Settings::nbitstrackletindex(), peek(), proj_, proj__, proj___, proj____, settings_, and trklet::Tracklet::TCID().
|
inline |
Definition at line 70 of file MatchEngineUnit.h.
References candmatches_.
|
private |
Definition at line 106 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 123 of file MatchEngineUnit.h.
Referenced by empty(), peek(), processPipeline(), read(), reset(), rptr(), setAlmostFull(), and wptr().
|
private |
Definition at line 116 of file MatchEngineUnit.h.
Referenced by active(), init(), processPipeline(), reset(), step(), and TCID().
|
private |
Definition at line 116 of file MatchEngineUnit.h.
Referenced by processPipeline(), reset(), and TCID().
|
private |
Definition at line 116 of file MatchEngineUnit.h.
Referenced by active(), processPipeline(), reset(), and TCID().
|
private |
|
private |
Definition at line 126 of file MatchEngineUnit.h.
Referenced by MatchEngineUnit(), and setimeu().
|
private |
Definition at line 103 of file MatchEngineUnit.h.
Referenced by MatchEngineUnit(), and processPipeline().
|
private |
Definition at line 95 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 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(), and processPipeline().
|
private |
Definition at line 109 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 127 of file MatchEngineUnit.h.
Referenced by setprint().
|
private |
Definition at line 96 of file MatchEngineUnit.h.
|
private |
Definition at line 120 of file MatchEngineUnit.h.
Referenced by processPipeline(), step(), and TCID().
|
private |
Definition at line 120 of file MatchEngineUnit.h.
Referenced by processPipeline(), and TCID().
|
private |
Definition at line 120 of file MatchEngineUnit.h.
Referenced by processPipeline(), and TCID().
|
private |
Definition at line 93 of file MatchEngineUnit.h.
|
private |
Definition at line 118 of file MatchEngineUnit.h.
Referenced by processPipeline(), and step().
|
private |
Definition at line 118 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 118 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 92 of file MatchEngineUnit.h.
|
private |
Definition at line 117 of file MatchEngineUnit.h.
Referenced by processPipeline(), and step().
|
private |
Definition at line 117 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 117 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 91 of file MatchEngineUnit.h.
|
private |
Definition at line 119 of file MatchEngineUnit.h.
Referenced by processPipeline(), and step().
|
private |
Definition at line 119 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 119 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 83 of file MatchEngineUnit.h.
|
private |
Definition at line 83 of file MatchEngineUnit.h.
Referenced by processPipeline(), and step().
|
private |
Definition at line 83 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 83 of file MatchEngineUnit.h.
Referenced by processPipeline().
|
private |
Definition at line 78 of file MatchEngineUnit.h.
Referenced by MatchEngineUnit(), processPipeline(), and TCID().
|
private |
Definition at line 85 of file MatchEngineUnit.h.
|
private |
Definition at line 94 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 80 of file MatchEngineUnit.h.