#include <TrackletEngineDisplaced.h>
Public Member Functions | |
void | addInput (MemoryBase *memory, std::string input) override |
void | addOutput (MemoryBase *memory, std::string output) override |
void | execute () |
const short | memNameToIndex (const std::string &name) |
void | readTables () |
TrackletEngineDisplaced (std::string name, Settings const &settings, Globals *global, unsigned int iSector) | |
~TrackletEngineDisplaced () override | |
Public Member Functions inherited from trklet::ProcessBase | |
unsigned int | getISeed (const 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 | |
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_ |
unsigned int | iSector_ |
std::string | name_ |
double | phimax_ |
double | phimin_ |
Settings const & | settings_ |
Definition at line 20 of file TrackletEngineDisplaced.h.
TrackletEngineDisplaced::TrackletEngineDisplaced | ( | std::string | name, |
Settings const & | settings, | ||
Globals * | global, | ||
unsigned int | iSector | ||
) |
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 |
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 77 of file TrackletEngineDisplaced.cc.
References cms::cuda::assert(), Exception, firstvmstubs_, input, trklet::ProcessBase::name_, secondvmstubs_, trklet::ProcessBase::settings_, createJobs::tmp, and trklet::Settings::writetrace().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 63 of file TrackletEngineDisplaced.cc.
References cms::cuda::assert(), Exception, trklet::ProcessBase::name_, convertSQLitetoXML_cfg::output, trklet::ProcessBase::settings_, stubpairs_, createJobs::tmp, and trklet::Settings::writetrace().
void TrackletEngineDisplaced::execute | ( | void | ) |
Definition at line 97 of file TrackletEngineDisplaced.cc.
References cms::cuda::assert(), trklet::VMStubTE::bend(), trklet::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, trklet::ProcessBase::iSector_, 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().
const short TrackletEngineDisplaced::memNameToIndex | ( | const std::string & | name | ) |
Definition at line 415 of file TrackletEngineDisplaced.cc.
References Skims_PA_cff::name, and stubpairs_.
Referenced by readTables().
void TrackletEngineDisplaced::readTables | ( | ) |
Definition at line 392 of file TrackletEngineDisplaced.cc.
References Exception, groupFilesInBlocks::fin, recoMuon::in, mps_splice::line, memNameToIndex(), trklet::ProcessBase::name_, trklet::ProcessBase::settings_, table_, HLT_Fake1_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().