#include <TrackletEngineDisplaced.h>
Public Member Functions | |
void | addInput (MemoryBase *memory, std::string input) override |
void | addOutput (MemoryBase *memory, std::string output) override |
void | execute () |
short | memNameToIndex (const std::string &name) |
void | readTables () |
TrackletEngineDisplaced (std::string name, Settings const &settings, Globals *global) | |
~TrackletEngineDisplaced () override | |
Public Member Functions inherited from trklet::ProcessBase | |
unsigned int | getISeed (const std::string &name) |
std::string const & | getName () const |
void | initLayerDisk (unsigned int pos, int &layer, int &disk) |
void | initLayerDisk (unsigned int pos, int &layer, int &disk, int &layerdisk) |
unsigned int | initLayerDisk (unsigned int pos) |
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) | |
virtual | ~ProcessBase ()=default |
Private Attributes | |
int | disk1_ |
int | disk2_ |
int | firstphibits_ |
std::vector< VMStubsTEMemory * > | firstvmstubs_ |
int | iSeed_ |
int | layer1_ |
int | layer2_ |
int | secondphibits_ |
VMStubsTEMemory * | secondvmstubs_ |
std::vector< StubPairsMemory * > | stubpairs_ |
std::vector< std::set< short > > | table_ |
Additional Inherited Members | |
Protected Attributes inherited from trklet::ProcessBase | |
Globals * | globals_ |
std::string | name_ |
Settings const & | settings_ |
Definition at line 20 of file TrackletEngineDisplaced.h.
TrackletEngineDisplaced::TrackletEngineDisplaced | ( | std::string | name, |
Settings const & | settings, | ||
Globals * | global | ||
) |
Definition at line 15 of file TrackletEngineDisplaced.cc.
References disk1_, disk2_, firstphibits_, firstvmstubs_, iSeed_, layer1_, layer2_, Skims_PA_cff::name, trklet::Settings::nfinephi(), secondphibits_, secondvmstubs_, trklet::ProcessBase::settings_, and stubpairs_.
|
override |
Definition at line 58 of file TrackletEngineDisplaced.cc.
References table_.
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 74 of file TrackletEngineDisplaced.cc.
References cms::cuda::assert(), Exception, firstvmstubs_, input, mps_setup::memory, trklet::ProcessBase::name_, secondvmstubs_, trklet::ProcessBase::settings_, createJobs::tmp, and trklet::Settings::writetrace().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 60 of file TrackletEngineDisplaced.cc.
References cms::cuda::assert(), Exception, mps_setup::memory, trklet::ProcessBase::name_, convertSQLitetoXML_cfg::output, trklet::ProcessBase::settings_, stubpairs_, createJobs::tmp, and trklet::Settings::writetrace().
void TrackletEngineDisplaced::execute | ( | void | ) |
Definition at line 94 of file TrackletEngineDisplaced.cc.
References cms::cuda::assert(), trklet::VMStubTE::bend(), trklet::Settings::benddecode(), newFWLiteAna::bin, trklet::Settings::debugTracklet(), trklet::Stub::disk(), disk1_, disk2_, trklet::Settings::enableTripletTables(), trklet::VMStubTE::finephi(), firstphibits_, firstvmstubs_, groupFilesInBlocks::fout, trklet::MemoryBase::getName(), trklet::ProcessBase::getName(), trklet::VMStubsTEMemory::getVMStubTE(), trklet::VMStubsTEMemory::getVMStubTEBinned(), trklet::ProcessBase::globals_, mps_fire::i, iSeed_, trklet::VMStubTE::isPSmodule(), dqmiolumiharvest::j, trklet::Stub::l1tstub(), dqmdumpme::last, layer1_, layer2_, trklet::Settings::maxStep(), trklet::ProcessBase::name_, trklet::FPGAWord::nbits(), trklet::VMStubsTEMemory::nVMStubs(), trklet::VMStubsTEMemory::nVMStubsBinned(), trklet::Globals::ofstream(), trklet::L1TStub::phi(), trklet::L1TStub::r(), readTables(), secondphibits_, secondvmstubs_, trklet::ProcessBase::settings_, trklet::VMStubTE::stub(), stubpairs_, table_, trklet::Settings::useSeed(), trklet::FPGAWord::value(), trklet::VMStubTE::vmbits(), trklet::Settings::writeMonitorData(), trklet::Settings::writeTripletTables(), and trklet::L1TStub::z().
short TrackletEngineDisplaced::memNameToIndex | ( | const std::string & | name | ) |
Definition at line 417 of file TrackletEngineDisplaced.cc.
References Skims_PA_cff::name, and stubpairs_.
Referenced by readTables().
void TrackletEngineDisplaced::readTables | ( | ) |
Definition at line 394 of file TrackletEngineDisplaced.cc.
References Exception, groupFilesInBlocks::fin, recoMuon::in, mps_splice::line, memNameToIndex(), trklet::ProcessBase::name_, trklet::ProcessBase::settings_, table_, HLT_2023v11_cff::tableName, and trklet::Settings::tableTEDFile().
Referenced by execute().
|
private |
Definition at line 38 of file TrackletEngineDisplaced.h.
Referenced by execute(), and TrackletEngineDisplaced().
|
private |
Definition at line 39 of file TrackletEngineDisplaced.h.
Referenced by execute(), and TrackletEngineDisplaced().
|
private |
Definition at line 48 of file TrackletEngineDisplaced.h.
Referenced by execute(), and TrackletEngineDisplaced().
|
private |
Definition at line 41 of file TrackletEngineDisplaced.h.
Referenced by addInput(), execute(), and TrackletEngineDisplaced().
|
private |
Definition at line 51 of file TrackletEngineDisplaced.h.
Referenced by execute(), and TrackletEngineDisplaced().
|
private |
Definition at line 36 of file TrackletEngineDisplaced.h.
Referenced by execute(), and TrackletEngineDisplaced().
|
private |
Definition at line 37 of file TrackletEngineDisplaced.h.
Referenced by execute(), and TrackletEngineDisplaced().
|
private |
Definition at line 49 of file TrackletEngineDisplaced.h.
Referenced by execute(), and TrackletEngineDisplaced().
|
private |
Definition at line 42 of file TrackletEngineDisplaced.h.
Referenced by addInput(), execute(), and TrackletEngineDisplaced().
|
private |
Definition at line 44 of file TrackletEngineDisplaced.h.
Referenced by addOutput(), execute(), memNameToIndex(), and TrackletEngineDisplaced().
|
private |
Definition at line 46 of file TrackletEngineDisplaced.h.
Referenced by execute(), readTables(), and ~TrackletEngineDisplaced().