#include <MatchEngineUnit.h>
|
Tracklet * | currentProj () const |
|
bool | empty () const |
|
bool | idle () const |
|
void | init (VMStubsMEMemory *vmstubsmemory, unsigned int slot, int projrinv, int projfinerz, int projfinephi, bool isPSseed, Tracklet *proj) |
|
| MatchEngineUnit (bool barrel, std::vector< bool > table, std::vector< bool > tablePS, std::vector< bool > table2S) |
|
std::pair< Tracklet *, const Stub * > | peek () const |
|
std::pair< Tracklet *, const Stub * > | read () |
|
void | step () |
|
| ~MatchEngineUnit ()=default |
|
Definition at line 18 of file MatchEngineUnit.h.
◆ MatchEngineUnit()
MatchEngineUnit::MatchEngineUnit |
( |
bool |
barrel, |
|
|
std::vector< bool > |
table, |
|
|
std::vector< bool > |
tablePS, |
|
|
std::vector< bool > |
table2S |
|
) |
| |
◆ ~MatchEngineUnit()
trklet::MatchEngineUnit::~MatchEngineUnit |
( |
| ) |
|
|
default |
◆ currentProj()
Tracklet* trklet::MatchEngineUnit::currentProj |
( |
| ) |
const |
|
inline |
◆ empty()
bool trklet::MatchEngineUnit::empty |
( |
void |
| ) |
const |
|
inline |
◆ idle()
bool trklet::MatchEngineUnit::idle |
( |
| ) |
const |
|
inline |
◆ init()
void MatchEngineUnit::init |
( |
VMStubsMEMemory * |
vmstubsmemory, |
|
|
unsigned int |
slot, |
|
|
int |
projrinv, |
|
|
int |
projfinerz, |
|
|
int |
projfinephi, |
|
|
bool |
isPSseed, |
|
|
Tracklet * |
proj |
|
) |
| |
◆ peek()
std::pair<Tracklet*, const Stub*> trklet::MatchEngineUnit::peek |
( |
| ) |
const |
|
inline |
◆ read()
std::pair<Tracklet*, const Stub*> trklet::MatchEngineUnit::read |
( |
| ) |
|
|
inline |
◆ step()
void MatchEngineUnit::step |
( |
| ) |
|
Definition at line 34 of file MatchEngineUnit.cc.
50 bool dphicut = (
abs(deltaphi) < 3) || (
abs(deltaphi) > 5);
56 int nbits = isPSmodule ? 3 : 4;
66 pass = idrz >= -2 && idrz <= 2;
68 pass = idrz >= -5 && idrz <= 5;
72 pass = idrz >= -1 && idrz <= 1;
74 pass = idrz >= -5 && idrz <= 5;
80 std::pair<Tracklet*, const Stub*>
tmp(
proj_, vmstub.
stub());
References funct::abs(), barrel_, trklet::VMStubME::bend(), candmatches_, trklet::VMStubME::finephi(), trklet::VMStubME::finerz(), trklet::VMStubsMEMemory::getVMStubMEBin(), idle(), idle_, trklet::VMStubME::isPSmodule(), isPSseed_, istub_, trklet::VMStubsMEMemory::nStubsBin(), proj_, projfinephi_, projfinerz_, projrinv_, slot_, trklet::VMStubME::stub(), table2S_, table_, tablePS_, createJobs::tmp, trklet::FPGAWord::value(), and vmstubsmemory_.
◆ barrel_
bool trklet::MatchEngineUnit::barrel_ |
|
private |
◆ candmatches_
◆ idle_
bool trklet::MatchEngineUnit::idle_ |
|
private |
◆ isPSseed_
bool trklet::MatchEngineUnit::isPSseed_ |
|
private |
◆ istub_
unsigned int trklet::MatchEngineUnit::istub_ |
|
private |
◆ proj_
Tracklet* trklet::MatchEngineUnit::proj_ |
|
private |
◆ projfinephi_
int trklet::MatchEngineUnit::projfinephi_ |
|
private |
◆ projfinerz_
int trklet::MatchEngineUnit::projfinerz_ |
|
private |
◆ projrinv_
int trklet::MatchEngineUnit::projrinv_ |
|
private |
◆ slot_
unsigned int trklet::MatchEngineUnit::slot_ |
|
private |
◆ table2S_
std::vector<bool> trklet::MatchEngineUnit::table2S_ |
|
private |
◆ table_
std::vector<bool> trklet::MatchEngineUnit::table_ |
|
private |
◆ tablePS_
std::vector<bool> trklet::MatchEngineUnit::tablePS_ |
|
private |
◆ vmstubsmemory_