#include <TrackletEngine.h>
Public Member Functions | |
void | addInput (MemoryBase *memory, std::string input) override |
void | addOutput (MemoryBase *memory, std::string output) override |
void | execute () |
void | setVMPhiBin () |
TrackletEngine (std::string name, Settings const &settings, Globals *global, unsigned int iSector) | |
void | writeTETable () |
~TrackletEngine () 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 | |
unsigned int | innerphibits_ |
VMStubsTEMemory * | innervmstubs_ |
unsigned int | iSeed_ |
unsigned int | layerdisk1_ |
unsigned int | layerdisk2_ |
unsigned int | outerphibits_ |
VMStubsTEMemory * | outervmstubs_ |
std::vector< bool > | pttableinner_ |
std::vector< bool > | pttableouter_ |
StubPairsMemory * | stubpairs_ |
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 17 of file TrackletEngine.h.
TrackletEngine::TrackletEngine | ( | std::string | name, |
Settings const & | settings, | ||
Globals * | global, | ||
unsigned int | iSector | ||
) |
Definition at line 14 of file TrackletEngine.cc.
References trklet::ProcessBase::initLayerDisksandISeed(), innerphibits_, innervmstubs_, iSeed_, layerdisk1_, layerdisk2_, trklet::Settings::nfinephi(), outerphibits_, outervmstubs_, and stubpairs_.
|
overridedefault |
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 40 of file TrackletEngine.cc.
References cms::cuda::assert(), Exception, innervmstubs_, input, trklet::ProcessBase::name_, outervmstubs_, trklet::ProcessBase::settings_, setVMPhiBin(), createJobs::tmp, and trklet::Settings::writetrace().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 26 of file TrackletEngine.cc.
References cms::cuda::assert(), Exception, trklet::ProcessBase::name_, convertSQLitetoXML_cfg::output, trklet::ProcessBase::settings_, stubpairs_, createJobs::tmp, and trklet::Settings::writetrace().
void TrackletEngine::execute | ( | void | ) |
Definition at line 62 of file TrackletEngine.cc.
References trklet::StubPairsMemory::addStubPair(), cms::cuda::assert(), trklet::VMStubTE::bend(), trklet::benddecode(), trklet::FPGAWord::bits(), trklet::Settings::debugTracklet(), trklet::Stub::disk(), trklet::VMStubTE::finephi(), trklet::ProcessBase::getName(), trklet::VMStubsTEMemory::getVMStubTE(), trklet::VMStubsTEMemory::getVMStubTEBinned(), trklet::ProcessBase::globals_, mps_fire::i, innervmstubs_, iSeed_, trklet::VMStubTE::isPSmodule(), dqmiolumiharvest::j, dqmdumpme::last, trklet::Settings::maxStep(), trklet::ProcessBase::nbits(), trklet::FPGAWord::nbits(), GetRecoTauVFromDQM_MC_cff::next, trklet::VMStubsTEMemory::nVMStubs(), trklet::VMStubsTEMemory::nVMStubsBinned(), trklet::Globals::ofstream(), outerphibits_, outervmstubs_, pttableinner_, pttableouter_, trklet::ProcessBase::settings_, trklet::VMStubTE::stub(), stubpairs_, trklet::Settings::useSeed(), trklet::FPGAWord::value(), trklet::VMStubTE::vmbits(), and trklet::Settings::writeMonitorData().
void TrackletEngine::setVMPhiBin | ( | ) |
Definition at line 143 of file TrackletEngine.cc.
References funct::abs(), trklet::bend(), trklet::Settings::bendcutte(), trklet::benddecode(), trklet::VMStubsTEMemory::getPhiRange(), testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, testProducerWithPsetDescEmpty_cfi::i3, innerphibits_, innervmstubs_, trklet::ProcessBase::iSector_, iSeed_, layerdisk1_, layerdisk2_, trklet::N_LAYER, outerphibits_, outervmstubs_, pttableinner_, pttableouter_, trklet::Settings::rcrit(), trklet::rinv(), trklet::Settings::rinvcutte(), trklet::Settings::rmaxdiskvm(), trklet::Settings::rmean(), trklet::Settings::rmindiskvm(), trklet::VMStubsTEMemory::setbendtable(), trklet::VMStubsTEMemory::setother(), trklet::ProcessBase::settings_, trklet::Settings::stripPitch(), trklet::Settings::writeTable(), writeTETable(), and trklet::Settings::zmean().
Referenced by addInput().
void TrackletEngine::writeTETable | ( | ) |
Definition at line 267 of file TrackletEngine.cc.
References trklet::ProcessBase::getName(), mps_fire::i, pttableinner_, and pttableouter_.
Referenced by setVMPhiBin().
|
private |
Definition at line 50 of file TrackletEngine.h.
Referenced by setVMPhiBin(), and TrackletEngine().
|
private |
Definition at line 39 of file TrackletEngine.h.
Referenced by addInput(), execute(), setVMPhiBin(), and TrackletEngine().
|
private |
Definition at line 34 of file TrackletEngine.h.
Referenced by execute(), setVMPhiBin(), and TrackletEngine().
|
private |
Definition at line 35 of file TrackletEngine.h.
Referenced by setVMPhiBin(), and TrackletEngine().
|
private |
Definition at line 36 of file TrackletEngine.h.
Referenced by setVMPhiBin(), and TrackletEngine().
|
private |
Definition at line 51 of file TrackletEngine.h.
Referenced by execute(), setVMPhiBin(), and TrackletEngine().
|
private |
Definition at line 40 of file TrackletEngine.h.
Referenced by addInput(), execute(), setVMPhiBin(), and TrackletEngine().
|
private |
Definition at line 46 of file TrackletEngine.h.
Referenced by execute(), setVMPhiBin(), and writeTETable().
|
private |
Definition at line 47 of file TrackletEngine.h.
Referenced by execute(), setVMPhiBin(), and writeTETable().
|
private |
Definition at line 43 of file TrackletEngine.h.
Referenced by addOutput(), execute(), and TrackletEngine().