#include <MatchEngineUnit.h>
Public Member Functions | |
bool | active () const |
Tracklet * | currentProj () const |
bool | empty () const |
bool | have_ () const |
bool | have__ () 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, bool print) |
MatchEngineUnit (bool barrel, unsigned int layerdisk, const TrackletLUT &luttable) | |
std::pair< Tracklet *, const Stub * > | peek () const |
std::pair< Tracklet *, const Stub * > | read () |
void | reset () |
unsigned int | rptr () const |
void | step (bool print) |
int | TCID () const |
unsigned int | wptr () const |
~MatchEngineUnit ()=default | |
Private Attributes | |
bool | barrel_ |
CircularBuffer< std::pair< Tracklet *, const Stub * > > | candmatches_ |
bool | goodpair_ |
bool | goodpair__ |
bool | havepair_ |
bool | havepair__ |
bool | idle_ |
bool | isPSseed_ |
unsigned int | istub_ |
unsigned int | iuse_ |
unsigned int | layerdisk_ |
const TrackletLUT & | luttable_ |
unsigned int | nrzbins_ |
unsigned int | phibin_ |
Tracklet * | proj_ |
int | projfinephi_ |
int | projfinerz_ |
int | projrinv_ |
unsigned int | rzbin_ |
int | shift_ |
std::pair< Tracklet *, const Stub * > | tmppair_ |
std::pair< Tracklet *, const Stub * > | tmppair__ |
std::vector< std::pair< unsigned int, unsigned int > > | use_ |
VMStubsMEMemory * | vmstubsmemory_ |
Definition at line 19 of file MatchEngineUnit.h.
MatchEngineUnit::MatchEngineUnit | ( | bool | barrel, |
unsigned int | layerdisk, | ||
const TrackletLUT & | luttable | ||
) |
Definition at line 7 of file MatchEngineUnit.cc.
References Reference_intrackfit_cff::barrel, barrel_, goodpair_, goodpair__, havepair_, havepair__, idle_, and layerdisk_.
|
default |
|
inline |
Definition at line 53 of file MatchEngineUnit.h.
References empty(), goodpair_, goodpair__, and idle_.
|
inline |
|
inline |
|
inline |
|
inline |
|
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, | ||
bool | |||
) |
Definition at line 18 of file MatchEngineUnit.cc.
References cms::cuda::assert(), candmatches_, goodpair_, goodpair__, havepair_, havepair__, idle_, isPSseed_, istub_, iuse_, nrzbins_, phibin_, amptDefault_cfi::proj, proj_, projfinephi_, projfinerz_, projrinv_, rzbin_, edm::shift, shift_, tmppair_, tmppair__, use_, and vmstubsmemory_.
Definition at line 45 of file MatchEngineUnit.h.
References candmatches_.
Referenced by edmIntegrityCheck.PublishToFileSystem::get().
void MatchEngineUnit::reset | ( | void | ) |
Definition at line 173 of file MatchEngineUnit.cc.
References candmatches_, goodpair_, goodpair__, havepair_, havepair__, idle_, and istub_.
|
inline |
void MatchEngineUnit::step | ( | bool | ) |
Definition at line 76 of file MatchEngineUnit.cc.
References funct::abs(), cms::cuda::assert(), barrel_, trklet::VMStubME::bend(), candmatches_, trklet::VMStubME::finephi(), trklet::VMStubME::finerz(), first, trklet::VMStubsMEMemory::getVMStubMEBin(), goodpair_, goodpair__, havepair_, havepair__, idle(), idle_, trklet::VMStubME::isPSmodule(), isPSseed_, istub_, iuse_, trklet::TrackletLUT::lookup(), luttable_, trklet::NFINEPHIBITS, trklet::NFINERZBITS, nrzbins_, trklet::VMStubsMEMemory::nStubsBin(), phibin_, print(), proj_, projfinephi_, projfinerz_, projrinv_, rzbin_, edm::second(), shift_, trklet::VMStubME::stub(), trklet::VMStubME::stubindex(), trklet::Tracklet::TCIndex(), tmppair_, tmppair__, trklet::Tracklet::trackletIndex(), use_, trklet::FPGAWord::value(), and vmstubsmemory_.
int MatchEngineUnit::TCID | ( | ) | const |
Definition at line 183 of file MatchEngineUnit.cc.
References empty(), havepair_, havepair__, idle_, peek(), proj_, trklet::Tracklet::TCID(), tmppair_, and tmppair__.
|
inline |
|
private |
Definition at line 77 of file MatchEngineUnit.h.
Referenced by MatchEngineUnit(), and step().
|
private |
|
private |
Definition at line 94 of file MatchEngineUnit.h.
Referenced by active(), init(), MatchEngineUnit(), reset(), and step().
|
private |
Definition at line 94 of file MatchEngineUnit.h.
Referenced by active(), init(), MatchEngineUnit(), reset(), and step().
|
private |
Definition at line 95 of file MatchEngineUnit.h.
Referenced by have_(), init(), MatchEngineUnit(), reset(), step(), and TCID().
|
private |
Definition at line 95 of file MatchEngineUnit.h.
Referenced by have__(), init(), MatchEngineUnit(), reset(), step(), and TCID().
|
private |
Definition at line 85 of file MatchEngineUnit.h.
Referenced by active(), idle(), init(), MatchEngineUnit(), reset(), step(), and TCID().
|
private |
Definition at line 82 of file MatchEngineUnit.h.
|
private |
Definition at line 74 of file MatchEngineUnit.h.
|
private |
Definition at line 75 of file MatchEngineUnit.h.
|
private |
Definition at line 87 of file MatchEngineUnit.h.
Referenced by MatchEngineUnit().
|
private |
Definition at line 90 of file MatchEngineUnit.h.
Referenced by step().
|
private |
Definition at line 69 of file MatchEngineUnit.h.
|
private |
Definition at line 71 of file MatchEngineUnit.h.
|
private |
Definition at line 83 of file MatchEngineUnit.h.
Referenced by currentProj(), init(), step(), and TCID().
|
private |
Definition at line 80 of file MatchEngineUnit.h.
|
private |
Definition at line 79 of file MatchEngineUnit.h.
|
private |
Definition at line 78 of file MatchEngineUnit.h.
|
private |
Definition at line 70 of file MatchEngineUnit.h.
|
private |
Definition at line 72 of file MatchEngineUnit.h.
Definition at line 93 of file MatchEngineUnit.h.
Definition at line 93 of file MatchEngineUnit.h.
|
private |
Definition at line 81 of file MatchEngineUnit.h.
|
private |
Definition at line 67 of file MatchEngineUnit.h.