#include <MatchProcessor.h>
Public Member Functions | |
void | addInput (MemoryBase *memory, std::string input) override |
void | addOutput (MemoryBase *memory, std::string output) override |
void | execute () |
bool | matchCalculator (Tracklet *tracklet, const Stub *fpgastub) |
MatchProcessor (std::string name, Settings const &settings, Globals *global, unsigned int iSector) | |
~MatchProcessor () override=default | |
Public Member Functions inherited from trklet::ProcessBase | |
unsigned int | getISeed (std::string name) |
std::string const & | getName () const |
unsigned int | initLayerDisk (unsigned int pos) |
void | initLayerDisk (unsigned int pos, int &layer, int &disk) |
void | initLayerDisk (unsigned int pos, int &layer, int &disk, int &layerdisk) |
void | initLayerDisksandISeed (unsigned int &layerdisk1, unsigned int &layerdisk2, unsigned int &iSeed) |
unsigned int | nbits (unsigned int power) |
ProcessBase (std::string name, Settings const &settings, Globals *global, unsigned int iSector) | |
virtual | ~ProcessBase ()=default |
Private Attributes | |
AllStubsMemory * | allstubs_ |
bool | barrel_ |
int | disk_ |
int | fact_ |
std::vector< FullMatchMemory * > | fullmatches_ |
int | ialphafactinner_ [N_DSS_MOD *2] |
int | ialphafactouter_ [N_DSS_MOD *2] |
int | icorrshift_ |
int | icorzshift_ |
CircularBuffer< ProjectionTemp > | inputProjBuffer_ |
std::vector< TrackletProjectionsMemory * > | inputprojs_ |
int | layer_ |
std::vector< MatchEngineUnit > | matchengines_ |
unsigned int | nMatchEngines_ |
int | nphiderbits_ |
int | nrbits_ |
int | nvm_ |
int | nvmbins_ |
int | nvmbits_ |
int | phi0shift_ |
double | phifact_ |
unsigned int | phimatchcut_ [N_SEED] |
double | phioffset_ |
unsigned int | phiregion_ |
unsigned int | rcut2S_ [N_SEED] |
unsigned int | rcutPS_ [N_SEED] |
unsigned int | rphicut2S_ [N_SEED] |
unsigned int | rphicutPS_ [N_SEED] |
double | rzfact_ |
std::vector< bool > | table2S_ |
std::vector< bool > | table_ |
std::vector< bool > | tablePS_ |
std::vector< VMStubsMEMemory * > | vmstubs_ |
unsigned int | zmatchcut_ [N_SEED] |
Additional Inherited Members | |
Protected Attributes inherited from trklet::ProcessBase | |
Globals * | globals_ |
unsigned int | iSector_ |
std::string | name_ |
double | phimax_ |
double | phimin_ |
Settings const & | settings_ |
Definition at line 24 of file MatchProcessor.h.
MatchProcessor::MatchProcessor | ( | std::string | name, |
Settings const & | settings, | ||
Globals * | global, | ||
unsigned int | iSector | ||
) |
Definition at line 14 of file MatchProcessor.cc.
References funct::abs(), trklet::Settings::alphashift(), cms::cuda::assert(), barrel_, trklet::bend(), trklet::Settings::bendcutme(), trklet::benddecode(), disk_, fact_, alignmentValidation::fname, trklet::ProcessBase::getName(), trklet::Settings::half2SmoduleWidth(), mps_fire::i, ialphafactinner_, ialphafactouter_, icorrshift_, icorzshift_, trklet::ProcessBase::initLayerDisk(), createfilelist::int, trklet::ProcessBase::iSector_, trklet::Settings::kphi(), trklet::Settings::kphi1(), trklet::Settings::kr(), trklet::Settings::krinvpars(), trklet::Settings::krprojshiftdisk(), trklet::Settings::kz(), layer_, matchengines_, trklet::N_DSS_MOD, trklet::N_PSLAYER, trklet::N_SEED, trklet::Settings::nallstubs(), Skims_PA_cff::name, trklet::ProcessBase::nbits(), trklet::Settings::nbitsalpha(), trklet::Settings::nbitsrinv(), nMatchEngines_, nphiderbits_, nrbits_, trklet::Settings::nrbitsstub(), nvm_, nvmbins_, nvmbits_, trklet::Settings::nvmme(), trklet::Settings::nzbitsstub(), MillePedeFileConverter_cfg::out, phi0shift_, phifact_, phimatchcut_, trklet::ProcessBase::phimin_, phioffset_, phiregion_, trklet::Settings::PS_zderL_shift(), trklet::Settings::rcrit(), trklet::Settings::rcut2S(), rcut2S_, trklet::Settings::rcutPS(), rcutPS_, trklet::Settings::rDSSinner(), trklet::Settings::rDSSouter(), trklet::rinv(), trklet::Settings::rmean(), trklet::Settings::rphicut2S(), rphicut2S_, trklet::Settings::rphicutPS(), rphicutPS_, trklet::Settings::rphimatchcut(), rzfact_, trklet::ProcessBase::settings_, trklet::Settings::SS_zderL_shift(), trklet::Settings::stripPitch(), table2S_, table_, tablePS_, trklet::Settings::writeTable(), trklet::Settings::zmatchcut(), and zmatchcut_.
|
overridedefault |
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 182 of file MatchProcessor.cc.
References allstubs_, cms::cuda::assert(), Exception, input, inputprojs_, mps_setup::memory, trklet::ProcessBase::name_, trklet::ProcessBase::settings_, createJobs::tmp, vmstubs_, and trklet::Settings::writetrace().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 165 of file MatchProcessor.cc.
References cms::cuda::assert(), Exception, fullmatches_, trklet::ProcessBase::getISeed(), mps_setup::memory, trklet::ProcessBase::name_, convertSQLitetoXML_cfg::output, trklet::ProcessBase::settings_, createJobs::tmp, and trklet::Settings::writetrace().
void MatchProcessor::execute | ( | void | ) |
Definition at line 208 of file MatchProcessor.cc.
References funct::abs(), cms::cuda::assert(), barrel_, trklet::ProjectionRouterBendTable::bendLoookup(), trklet::Settings::debugTracklet(), disk_, relativeConstraints::empty, trklet::MemoryBase::getName(), trklet::ProcessBase::getName(), trklet::TrackletProjectionsMemory::getTracklet(), trklet::ProcessBase::globals_, inputProjBuffer_, inputprojs_, trklet::ProjectionTemp::iphi(), LEDCalibrationChannels::iphi, trklet::ProjectionTemp::isPSseed(), layer_, match(), matchCalculator(), matchengines_, trklet::Settings::maxStep(), trklet::FPGAWord::nbits(), nMatchEngines_, nphiderbits_, nrbits_, trklet::VMStubsMEMemory::nStubsBin(), trklet::TrackletProjectionsMemory::nTracklets(), nvmbins_, nvmbits_, trklet::Globals::ofstream(), amptDefault_cfi::proj, trklet::ProjectionTemp::proj(), trklet::Globals::projectionRouterBendTable(), trklet::ProjectionTemp::projfinephi(), trklet::ProjectionTemp::projfinerz(), trklet::ProjectionTemp::projrinv(), edm::second(), trklet::ProcessBase::settings_, trklet::ProjectionTemp::slot(), trklet::Tracklet::TCID(), trklet::FPGAWord::value(), vmstubs_, and trklet::Settings::writeMonitorData().
Definition at line 383 of file MatchProcessor.cc.
References funct::abs(), trklet::Tracklet::addMatch(), trklet::Tracklet::addMatchDisk(), trklet::L1TStub::alpha(), trklet::Stub::alphanew(), trklet::L1TStub::alphanorm(), trklet::Settings::alphashift(), cms::cuda::assert(), trklet::Settings::bfield(), trklet::Settings::bookHistos(), trklet::Settings::c(), trklet::Settings::debugTracklet(), trklet::Tracklet::disk(), disk_, flavorHistoryFilter_cfi::dr, trklet::Settings::drmax(), PVValHelper::dz, trklet::Settings::dzmax(), fact_, trklet::Tracklet::fpgaphiproj(), trklet::Tracklet::fpgaphiprojder(), trklet::Tracklet::fpgaphiprojderdisk(), trklet::Tracklet::fpgaphiprojdisk(), trklet::Tracklet::fpgarprojderdisk(), trklet::Tracklet::fpgarprojdisk(), trklet::Tracklet::fpgazproj(), trklet::Tracklet::fpgazprojder(), fullmatches_, trklet::Tracklet::getISeed(), trklet::ProcessBase::getName(), trklet::ProcessBase::globals_, trklet::Settings::half2SmoduleWidth(), trklet::Globals::histograms(), compare::hists, ialphafactinner_, ialphafactouter_, icorrshift_, icorzshift_, LEDCalibrationChannels::iphi, trklet::ProcessBase::iSector_, trklet::L1TStub::isPSmodule(), trklet::Settings::kphi(), trklet::Settings::kphi1(), trklet::Settings::kr(), trklet::Settings::krprojshiftdisk(), trklet::Settings::kz(), trklet::Stub::l1tstub(), trklet::Tracklet::layer(), layer_, M_PI, match(), trklet::N_DSS_MOD, trklet::ProcessBase::name_, trklet::Globals::ofstream(), trklet::Stub::phi(), trklet::L1TStub::phi(), trklet::Settings::phi0bitshift(), phi0shift_, trklet::Stub::phiapprox(), phifact_, phimatchcut_, trklet::ProcessBase::phimax_, trklet::ProcessBase::phimin_, phioffset_, trklet::Tracklet::phiproj(), trklet::Tracklet::phiprojapprox(), trklet::Tracklet::phiprojapproxdisk(), trklet::Tracklet::phiprojder(), trklet::Tracklet::phiprojderapprox(), trklet::Tracklet::phiprojderapproxdisk(), trklet::Tracklet::phiprojderdisk(), trklet::Tracklet::phiprojdisk(), phiregion_, DiDispStaMuonMonitor_cfi::pt, trklet::Stub::r(), trklet::L1TStub::r(), alignCSCRings::r, trklet::L1TStub::r2(), trklet::Stub::rapprox(), rcut2S_, rcutPS_, trklet::Settings::rDSSinner(), trklet::Settings::rDSSouter(), reco::reduceRange(), trklet::Tracklet::rinv(), trklet::Settings::rmean(), rphicut2S_, rphicutPS_, trklet::Tracklet::rproj(), trklet::Tracklet::rprojapproxdisk(), trklet::Tracklet::rprojderapproxdisk(), trklet::Tracklet::rprojderdisk(), trklet::Tracklet::rprojdisk(), rzfact_, trklet::ProcessBase::settings_, Validation_hcalonly_cfi::sign, trklet::Settings::stripPitch(), trklet::Stub::stubindex(), trklet::Tracklet::stubtruthmatch(), trklet::Tracklet::t(), trklet::Settings::useapprox(), trklet::FPGAWord::value(), trklet::Settings::writeMonitorData(), trklet::Stub::z(), trklet::L1TStub::z(), trklet::Stub::zapprox(), zmatchcut_, trklet::Settings::zmean(), trklet::Tracklet::zproj(), trklet::Tracklet::zprojapprox(), trklet::Tracklet::zprojder(), and trklet::Tracklet::zprojderapprox().
Referenced by execute().
|
private |
Definition at line 69 of file MatchProcessor.h.
Referenced by addInput().
|
private |
Definition at line 40 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 39 of file MatchProcessor.h.
Referenced by execute(), matchCalculator(), and MatchProcessor().
|
private |
Definition at line 48 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 77 of file MatchProcessor.h.
Referenced by addOutput(), and matchCalculator().
|
private |
Definition at line 73 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 74 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 49 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 50 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 89 of file MatchProcessor.h.
Referenced by execute().
|
private |
Definition at line 71 of file MatchProcessor.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 38 of file MatchProcessor.h.
Referenced by execute(), matchCalculator(), and MatchProcessor().
|
private |
Definition at line 87 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 86 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 67 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 66 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 44 of file MatchProcessor.h.
Referenced by MatchProcessor().
|
private |
Definition at line 46 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 45 of file MatchProcessor.h.
Referenced by execute(), and MatchProcessor().
|
private |
Definition at line 51 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 63 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 55 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 53 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 42 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 61 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 60 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 59 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 58 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 64 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().
|
private |
Definition at line 84 of file MatchProcessor.h.
Referenced by MatchProcessor().
|
private |
Definition at line 80 of file MatchProcessor.h.
Referenced by MatchProcessor().
|
private |
Definition at line 83 of file MatchProcessor.h.
Referenced by MatchProcessor().
|
private |
Definition at line 70 of file MatchProcessor.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 56 of file MatchProcessor.h.
Referenced by matchCalculator(), and MatchProcessor().